frequency of wavelength calculator

Frequency of Wavelength Calculator

Enter a wavelength and choose the unit and medium. The calculator uses f = v / λ, where v = c / n.

What this calculator does

This frequency of wavelength calculator helps you convert a known wavelength into frequency quickly and accurately. It is useful for physics homework, optics, radio communication, and general science work where electromagnetic waves are involved. You can use common wavelength units (from kilometers down to picometers) and even account for different media like air, water, and glass.

The core relationship: frequency and wavelength

Frequency and wavelength are inversely related. If wavelength gets shorter, frequency gets higher. If wavelength gets longer, frequency gets lower. The relationship is governed by wave speed:

f = v / λ

  • f = frequency (Hz)
  • v = wave speed (m/s)
  • λ = wavelength (m)

For electromagnetic waves in a vacuum, wave speed is the speed of light: c = 299,792,458 m/s.

Formula used in this tool

In vacuum

f = c / λ

In a material medium

Light slows in materials according to refractive index n, so:

v = c / n and therefore f = (c / n) / λ

How to use the calculator

  1. Enter the wavelength value.
  2. Select the wavelength unit (nm, μm, m, etc.).
  3. Choose the medium (vacuum, air, water, glass, or custom n).
  4. Click Calculate Frequency.

The result panel shows:

  • Converted wavelength in meters
  • Wave speed in the selected medium
  • Frequency in Hz and scaled SI units
  • Period (time per cycle)

Worked examples

Example 1: Green light in vacuum

If λ = 500 nm:

  • Convert to meters: 500 nm = 5.00 × 10-7 m
  • Use f = c / λ
  • f ≈ 5.996 × 1014 Hz (about 599.6 THz)

Example 2: Radio wave

If λ = 3 m in air:

  • v ≈ c / 1.000293
  • f ≈ 99.9 MHz

Example 3: Light in water

For λ = 650 nm and n = 1.333, speed is lower, so for the same wavelength input the computed frequency from this model uses that reduced speed. This is helpful when working with wave behavior in media in simplified settings.

Common mistakes to avoid

  • Forgetting to convert wavelength units to meters
  • Typing a negative or zero wavelength
  • Using the wrong refractive index for the medium
  • Confusing period and frequency (they are reciprocals)

Where this is useful

  • Physics classes: electromagnetic wave problems
  • Engineering: RF and antenna calculations
  • Optics/photonics: laser and spectroscopy contexts
  • General science: quick unit conversions and checks

Quick FAQ

What unit is frequency measured in?

Hertz (Hz), which means cycles per second.

Can I use nanometers directly?

Yes. Select nanometers (nm) from the unit dropdown.

Does the calculator support custom refractive index?

Yes. Choose Custom refractive index and enter your n-value.

Final note

This calculator is built for fast, practical computation and clear output. If you need high-precision modeling in complex media, always verify assumptions used in your specific textbook, lab, or engineering standard.

🔗 Related Calculators