Wavelength Calculator screenshot

Wavelength Calculator

Wavelength from frequency, or frequency from wavelength, at a propagation speed you supply.

Privacy First
0 Runs
Updated 2026-11-21
Runs in your browser
No sign-up, no upload

What the wavelength calculator does

It applies λ = v / f, and in the other direction f = v / λ. The propagation speed is yours to state and defaults to 299792458 m/s, the exact speed of light in vacuum, so 500 THz comes out as 5.99584916e-7 m, which is 599.584916 nm.

The page never picks a medium for you. A sound wave is the same page with 343 typed into Propagation speed for dry air at about 20 °C, and water is about 1480 m/s; the number used is printed with every answer, so the reading is never ambiguous.

A frequency or wavelength of zero or below is refused, because the division has no meaning there, and a propagation speed of zero or below is refused by name. A speed above 1000000000000 m/s is refused as a typo guard.

Numbers print to ten significant figures with trailing zeros trimmed.

How to use it

Enter the frequency in hertz in the text box, or the wavelength in metres when that is the number you have.

Set What you type to match it, set Propagation speed for your medium, and press Run. The result prints the wavelength in metres and nanometres, or the frequency in hertz, with the speed it used.

Worked example

Input with the default speed of light:

5e14

Output:

Frequency:     500000000000000 Hz
Wavelength:    5.99584916e-7 m
In nanometres: 599.584916 nm

Why it runs in your browser

One division is evaluated in this tab. Neither the frequency nor the speed leaves the page.

The page applies λ = v / f, and the other way round as f = v / λ. The propagation speed is a control, defaulting to the exact speed of light in vacuum, so a frequency in the visible range comes out as a wavelength in nanometres.

Nothing picks a medium for you. A sound wave is the same page with 343 typed in for dry air, and water is about 1480 m/s; the speed used is printed with every answer so a reading cannot be taken for the wrong medium.

Both directions are one arithmetic relation, so the page asks what you are typing rather than offering two pages that could drift apart.

Why the speed is the visitor's to state

Frequency is set by the source and does not change when a wave enters a new medium; wavelength and speed do. That is why the page cannot supply a wavelength from a frequency alone, and why the propagation speed is a control instead of a hidden constant.

The default, 299 792 458 m/s, is exact because the metre is defined from it. Every other speed is a property of a material at a temperature, so the page prints the number it used and never claims a medium.

The units the answer arrives in

A frequency is in hertz and a wavelength in metres. For light the metre figure is small, so the same answer is printed in nanometres: 5 × 10¹⁴ Hz at the speed of light is 5.99584916 × 10⁻⁷ m, which is 599.584916 nm.

Scientific notation is accepted on input, so `5e14` is 500 THz. A zero or negative frequency, wavelength or speed is refused, because the division has no meaning at zero and a negative wavelength has none at all.

How to use Wavelength Calculator

Enter the frequency in hertz in the text box, or the wavelength in metres when that is the number you have.

Set What you type to match it, then set Propagation speed for the medium you mean.

Press Run. The result prints the wavelength in metres and nanometres, or the frequency in hertz, with the speed it used.

What to Expect

Best for

  • Converting a frequency to a wavelength for a stated medium
  • Converting a measured wavelength back to a frequency
  • Checking a light colour's wavelength from its frequency

Not ideal for

  • Choosing a medium's speed, which depends on temperature, pressure and composition
  • A wave whose speed changes along its path, such as a wave entering shallow water

What this tool keeps

  • The frequency or wavelength you typed and the speed you supplied
  • The other two quantities, so the relation can be checked

What may need cleanup

  • A frequency in kilohertz or gigahertz, which has to be converted to hertz first
  • A wavelength in nanometres, which has to be converted to metres first

Common errors

  • Leaving the speed at the speed of light for a sound wave
  • Entering a wavelength in nanometres while the page expects metres

Example use cases

  • Working out a sound's wavelength in air
  • Converting a laser's frequency to a wavelength
  • Checking a radio antenna's design wavelength

Sample input

Frequency 5 × 10¹⁴ Hz at the default speed of light.

Sample output

Wavelength 5.99584916e-7 m, which is 599.584916 nm.

Who this is for

  • Physics students converting between frequency and wavelength
  • Anyone checking an optics or acoustics figure

Frequently asked questions

Why do I have to supply the speed?

Frequency alone does not determine wavelength: the speed of the wave in its medium does. The page prints the speed it used so the answer is never ambiguous.

Does the frequency change when light enters glass?

No. The frequency is set by the source. The speed and the wavelength change, which is why the same source has a shorter wavelength in glass and why the page asks for the speed.

Can it handle radio and audio frequencies?

Yes, any positive frequency. Enter it in hertz, so 100 MHz is 100000000, and set the speed to the medium the wave travels in.

Why is the speed of light the default?

It is the one exact value available: 299 792 458 m/s by definition. Every other speed depends on a material and a condition, so it would be a guess this page does not make.

Developer program

Build custom tools for your store

Join the SDK program to create useful ecommerce utilities for your store.