Skip to content

Wavelength Calculator

Calculate wavelength from frequency and wave speed.

By CalcGenius Editorial TeamLast reviewed August 28, 20253 min read
Wavelength Calculator (Wave Equation)
Speed of light in vacuum — universal speed limit, exactly 299,792,458 m/s.
Cycles per second. Scientific notation OK.
📊
Enter your values and click Calculate

About

The wave equation v = λ × f is one of the most fundamental relationships in physics: it describes every periodic wave in the universe, from ripples on a pond to gravitational waves from colliding black holes. The equation states that the speed of a wave equals its wavelength (the distance per cycle) times its frequency (the number of cycles per second). Rearranged, it lets you compute any one of the three from the other two: λ = v / f for wavelength, f = v / λ for frequency, v = λf for speed.

For electromagnetic waves traveling in vacuum, the speed v is the speed of light c, exactly 299,792,458 m/s by definition since the 1983 SI redefinition (the meter is now defined as the distance light travels in 1/299,792,458 of a second). The equation becomes λ = c / f, which lets you convert between any electromagnetic wavelength and its corresponding frequency. A 100 MHz FM radio wave has wavelength c/f = 3 m; a 500 THz visible red wave has wavelength 600 nm. In media like air or water, light slows down by a factor equal to the refractive index n (n ≈ 1.0003 for air, 1.333 for water).

Sound waves are mechanical vibrations of a medium, not electromagnetic. Their speed depends on the medium's stiffness and density: 343 m/s in air at 20°C, 1480 m/s in water, 5900 m/s in steel. This is why you see lightning before you hear thunder — light reaches you essentially instantly while sound takes about 3 seconds per kilometer. The audible range (20 Hz to 20 kHz) corresponds to wavelengths from 17 m down to 1.7 cm in air, which is why subwoofers (long wavelengths) are omnidirectional and tweeters (short) need to be aimed at the listener.

Electromagnetic waves have a dual nature: they can behave as classical waves (interference, diffraction) or as streams of discrete particles called photons. Each photon carries a packet of energy given by Planck's equation E = hf, where h is Planck's constant (6.626 × 10⁻³⁴ J·s, exactly pinned since the 2019 SI redefinition). High-frequency waves (X-rays, gamma rays) carry high-energy photons that can ionize atoms and break DNA bonds; low-frequency waves (radio, microwave) carry photons too weak to interact with matter except in huge numbers. Visible-light photons have energies around 2-3 eV — perfect for triggering chemical reactions in retinal cells.

The electromagnetic spectrum spans some 24+ orders of magnitude in frequency, from very low frequency radio (~3 kHz, λ ≈ 100 km) used in submarine communication, to high-energy gamma rays (> 10¹⁹ Hz, λ < 0.01 nm) from radioactive decay and cosmic events. The visible band (430–770 THz, 390–700 nm) is a tiny fraction of the whole — about 0.00000000003% of the total range. This calculator handles all media (vacuum, air, water, sound in air) and shows photon energy when applicable, making it useful for optics, acoustics, quantum mechanics, and electrical engineering alike.

How to Use

  1. 1
    Pick the medium (wave speed)
    Choose Vacuum (c = 299,792,458 m/s), Air (EM in air), Water (EM in water), or Sound in air (343 m/s). The medium sets the wave speed for the calculation.
  2. 2
    Enter either frequency or wavelength
    Type the value in the appropriate field. The calculator uses the wave equation v = λ × f to solve for the missing quantity automatically.
  3. 3
    Read the computed wavelength and frequency
    The hero block shows the solved variable. The breakdown shows both quantities, plus (for EM waves) the photon energy E = hf in joules and electron-volts.
  4. 4
    Identify the wave band
    Use the result to identify the wave band: radio (λ > 1 m, f < 300 MHz), microwave (1 mm–1 m), infrared (700 nm–1 mm), visible (400–700 nm), UV (10–400 nm), X-ray (0.01–10 nm), gamma (< 0.01 nm).
  5. 5
    Sanity-check against known waves
    FM radio at 100 MHz has λ = 3 m. Visible red at ~500 THz has λ ≈ 600 nm. Microwave oven at 2.45 GHz has λ ≈ 12.24 cm. Use these landmarks to verify your result.

Formula

The universal wave equation:

v = λ × f

Solving for each variable:

  • Wavelength: λ = v / f
  • Frequency: f = v / λ
  • Wave speed: v = λ × f

For EM waves in vacuum, v = c = 299,792,458 m/s (exact). In a medium, v = c / n (refractive index).

Photon energy (EM only, Planck's equation):

E = h × f

Where h = 6.626 × 10⁻³⁴ J·s (Planck constant, exact since 2019 SI redefinition).

Period (time per cycle): T = 1 / f

Worked Example

What is the wavelength of FM radio at 100 MHz in vacuum?

  • Known: f = 100 MHz = 1 × 10⁸ Hz, v = c = 2.998 × 10⁸ m/s
  • λ = c / f = 2.998e8 / 1e8 = 2.998 m (≈ 3 m, as commonly stated)
  • Photon energy: E = hf = 6.626e-34 × 1e8 = 6.626e-26 J (negligibly small)

Reverse example — wavelength of visible red light (~700 nm) in vacuum:

  • Known: λ = 700 nm = 7 × 10⁻⁷ m
  • f = c / λ = 2.998e8 / 7e-7 ≈ 4.28 × 10¹⁴ Hz (428 THz, red)
  • E = hf = 6.626e-34 × 4.28e14 ≈ 2.84 × 10⁻¹⁹ J ≈ 1.77 eV

Tips

  • The wave equation v = λf applies to ALL periodic waves — sound, light, water, seismic, gravitational. Only v (the wave speed) changes with the medium.
  • For EM waves in vacuum, v = c (exactly 299,792,458 m/s by definition of the meter). In a medium, v = c/n where n is the refractive index (1.0003 for air, 1.333 for water).
  • Photon energy is E = hf (Planck's equation). To convert to electron-volts (eV), divide by 1.602 × 10⁻¹⁹. A visible-light photon at 500 THz has about 2 eV of energy.
  • Visible light spans 430–770 THz (700–390 nm). Frequencies above this are UV, X-ray, gamma; below are infrared, microwave, radio. Our eyes detect only this narrow visible band.
  • For sound, use 343 m/s in air at 20°C, 1480 m/s in water, 5900 m/s in steel. Sound speed depends on the medium's stiffness and density, not on amplitude or frequency (to first approximation).

Common Mistakes

Common mistakes
  • Forgetting that v depends on the medium — light slows down in air, water, and glass; sound needs a medium to exist at all. Always pick the right medium from the dropdown.
  • Confusing wavelength and frequency as direct ratios — they're inverses multiplied by the wave speed, not direct ratios of each other.
  • Using photon energy E = hf for sound waves — sound is mechanical, not quantized like light. E = hf only applies to electromagnetic radiation.
  • Forgetting that frequency is cycles per second (Hz), not per meter — common confusion when first learning about waves.
  • Mixing up Hz, kHz, MHz, GHz without converting. 100 MHz = 1 × 10⁸ Hz, not 100 Hz. Always convert to base units (Hz, m) before applying the formula.

Frequently Asked Questions

What is the wave equation, and what does it mean?
The wave equation is v = λ × f, where v is wave speed (m/s), λ is wavelength (m), and f is frequency (Hz). It says that for any periodic wave, the speed at which the wave pattern travels equals the distance per cycle (wavelength) times the number of cycles per second (frequency). Rearranged, λ = v/f or f = v/λ. This single equation applies to all waves — sound, light, water, seismic, gravitational.
How is the energy of a photon related to its frequency?
By Planck's equation E = hf, where h is Planck's constant (6.626 × 10⁻³⁴ J·s) and f is the frequency. High-frequency photons (X-rays, gamma rays) carry a lot of energy; low-frequency photons (radio waves, microwaves) carry very little. A 1 GHz radio photon has energy 6.6 × 10⁻²⁵ J; a visible-light photon at 5 × 10¹⁴ Hz has 3.3 × 10⁻¹⁹ J — about 1 million times more.
What is the speed of light, and why does it matter?
The speed of light in vacuum, c, is exactly 299,792,458 m/s — by definition, since the meter was redefined in 1983 as the distance light travels in 1/299,792,458 of a second. Nothing in the universe moves faster than c, according to Einstein's special relativity. In media like air, water, or glass, light slows down by a factor equal to the refractive index (n): in water (n = 1.33) it's about 225 million m/s.
How do sound wave speeds compare to light wave speeds?
Much slower. Sound in air at 20°C travels at 343 m/s, about a million times slower than light. Sound in water travels faster (1480 m/s); in steel, faster still (~5900 m/s). Light needs no medium; sound requires one. This is why you see lightning before you hear thunder — the light reaches you essentially instantly, while the sound takes ~3 seconds per kilometer.
What is the difference between wavelength and frequency?
Wavelength (λ) is the distance per cycle, measured in meters (or km, mm, nm). Frequency (f) is the number of cycles per second, measured in Hertz (Hz). They're inverses of each other (times the wave speed): short wavelengths correspond to high frequencies, long wavelengths to low frequencies. A 1 GHz microwave has wavelength 0.3 m; a 500 THz red light wave has wavelength 600 nm — six orders of magnitude shorter.
Why do different frequencies of light have different colors but we don't see sound frequencies as colors?
Because our eyes detect electromagnetic waves in a narrow band (~430-770 THz, corresponding to 390-700 nm wavelengths), which we perceive as colors from violet to red. Sound waves are mechanical vibrations detected by our ears, not electromagnetic — and our ears process them as pitch (low to high), not color. Some animals (bees, birds) see UV or infrared; bats and dolphins 'see' with sound via echolocation.

Wave equation v = λf

The wave equation v = λ × f is universal: any periodic wave's speed equals its wavelength (distance per cycle) times its frequency (cycles per second). For electromagnetic waves in vacuum, v = c (the speed of light), giving λ = c / f. For sound in air at 20°C, v = 343 m/s. The equation holds for water waves, seismic waves, gravitational waves, and even quantum-mechanical matter waves.

EM spectrum reference

The electromagnetic spectrum spans 24+ orders of magnitude in frequency, from very low-frequency radio (~3 kHz, λ ≈ 100 km) to high-energy gamma rays (>10¹⁹ Hz, λ < 0.01 nm). The visible band (430–770 THz, 390–700 nm) is a tiny fraction of the spectrum. Beyond visible: infrared (heat), UV (sunburn), X-ray (medical imaging), gamma (nuclear). Below: microwaves (ovens, WiFi), radio (FM, AM, TV).

Audio wavelengths

Audible sound spans 20 Hz to 20 kHz, with wavelengths in air from 17 m (lowest bass) down to 1.7 cm (highest treble). This is why bass notes bend easily around obstacles (long wavelength) while treble notes are directional (short wavelength) — and why a subwoofer can go anywhere in a room but tweeters must be aimed at the listener. Concert A (440 Hz) has wavelength 0.78 m in air.

Quantum energy

For electromagnetic waves, the wave can also behave as a stream of particles called photons, each carrying energy E = hf where h is Planck's constant (6.626 × 10⁻³⁴ J·s). A 500 THz visible-light photon has 3.3 × 10⁻¹⁹ J (~2.1 eV). At very low frequencies (radio), photons are too weak to interact with most matter individually; at very high frequencies (X-rays, gamma), they can ionize atoms and break chemical bonds.

Common electromagnetic waves across the spectrum, in vacuum.
Wave sourceFrequency (Hz)WavelengthPhoton energyNotes
AM radio (1 MHz)1e6300 m6.62e-28 JLong-wavelength broadcast
FM radio (100 MHz)1e83 m6.62e-26 JShort-wavelength broadcast
Microwave oven (2.45 GHz)2.45e912.24 cm1.62e-24 JExcites water molecules
Visible red (430 THz)4.3e14697 nm2.85e-19 JLowest frequency visible light
Visible violet (750 THz)7.5e14400 nm4.97e-19 JHighest frequency visible light
X-ray (3e18 Hz)3e18100 pm1.99e-15 JMedical imaging
The visible spectrum is a tiny window
Of the electromagnetic spectrum's 24+ orders of magnitude, our eyes detect only a 1-octave-wide band from ~430 to 770 THz (390-700 nm wavelength), less than 0.0000001% of the total range. Some animals see more: bees see UV patterns on flowers, pit vipers see infrared heat, mantis shrimp see from UV to red plus polarized light. We augmented our vision with telescopes (radio to gamma), microscopes (UV), and night-vision (IR). The wave equation v = λf governs them all.

Authoritative References

  • Wikipedia — Wavelength— Wikipedia
    Comprehensive treatment of wavelength across the electromagnetic spectrum, with formulas, history, and applications in optics and acoustics.
  • Khan Academy — Waves and sound— Khan Academy
    Free video series covering wave properties, the wave equation, interference, the Doppler effect, and the EM spectrum.
  • NIST — Planck constant (exact value)— nist.gov
    Official NIST/CODATA value of the Planck constant h, exactly 6.62607015 × 10⁻³⁴ J·s since the 2019 SI redefinition.

Try our other free calculators

CalcGenius has 1,200+ free, ad-free, browser-based calculators for finance, health, math, science, and everyday life. No sign-up required.

Evaluate Wavelength — Key Metrics & Outcome Summary