Script Categories

Calculators >>> Wavelength.

Assists ham radio operators in converting a frequency to its wavelength in feet or inches. Other uses include acoustic measurement and adjustment, microphone placement, room tuning, and speaker positioning.

= ft. (or inches.)

Add the below code to the <body> section of your page:

<script language="javascript" type="text/javascript">
/* Visit for full source code
and get more free JavaScript, CSS and DHTML scripts! */
<!-- Begin
function wavelength(freq, amount, form) {
form.feet.value = amount / freq;
form.inches.value = form.feet.value * 12;
//  End -->
<input type=text size=8 value="" name=freq>MHz
<input type=button value="WL"     onClick="wavelength(this.form.freq.value, 984, this.form);">
<input type=button value="1/2 WL" onClick="wavelength(this.form.freq.value, 468, this.form);">
<input type=button value="1/4 WL" onClick="wavelength(this.form.freq.value, 234, this.form);">
= <input type=text name=feet size=15> ft. (or <input type=text name=inches size=15> inches.)

JavaScript Editor Get Advanced
JavaScript and Ajax Editor,
Validator and Debugger!

1st JavaScript Editor.

Code was highlighted by 1st JavaScript Editor (The Best JavaScript Editor!).