Wavelength to Frequency Calculator

f = v ÷ λ • Preset or custom wave speed
IQ
Choose a preset or switch to custom speed.
Quick summary
Enter wavelength, then click Calculate.
Custom wave speed must be greater than 0.
Wavelength must be greater than 0.

Results

Frequency
Hz
Wavelength
m
Wave speed
m/s
Results are calculated in SI units first.

Use this Wavelength to Frequency Calculator to find frequency from wavelength using the standard wave relationship f = v / λ. It works with light in vacuum, light in common media such as air or water, or any custom wave speed you enter, making it useful for physics, optics, electromagnetic spectrum examples, and general wave calculations.

Reviewed by: AjaxCalculators Editorial Team
Last updated: May 2, 2026
Method source: Standard wave equation using frequency equals wave speed divided by wavelength, with exact vacuum light speed and optional medium-specific speed presets
Editorial standards: AjaxCalculators Editorial Policy

What This Wavelength to Frequency Calculator Calculates

This calculator finds frequency from two known values:

  • Wavelength (λ): the distance between repeating points of a wave
  • Wave speed (v): how fast the wave travels through the selected medium

The calculator can be used for electromagnetic waves, optics examples, visible light, infrared, ultraviolet, radio waves, and general wave problems where the wavelength and wave speed are known.

Depending on the calculator settings, it can use:

  • Light in vacuum: using the exact vacuum speed of light
  • Light in air: using an approximate speed for air
  • Light in water: using an approximate speed for water
  • Custom wave speed: using a speed value you enter

What Wavelength and Frequency Mean

Wavelength is the distance from one repeating point on a wave to the next matching point, such as crest to crest or trough to trough.

Frequency is how many wave cycles pass a point each second. Frequency is measured in hertz, where:

1 Hz = 1 cycle per second

For a fixed wave speed, wavelength and frequency are inversely related. A shorter wavelength means a higher frequency, while a longer wavelength means a lower frequency.

How the Wavelength to Frequency Calculator Works

The standard wave equation is:

v = fλ

Rearranging for frequency gives:

f = v / λ

In this formula:

  • f = frequency
  • v = wave speed
  • λ = wavelength

For electromagnetic radiation in vacuum, the equation becomes:

f = c / λ

where c = 299,792,458 m/s is the exact speed of light in vacuum.

Formula Summary

What You Want to Find Formula Known Values Needed
Frequency f = v / λ Wave speed and wavelength
Wave speed v = fλ Frequency and wavelength
Wavelength λ = v / f Wave speed and frequency
Light frequency in vacuum f = c / λ Vacuum light speed and wavelength

Common Wavelength Units

Wavelength may be entered in meters or smaller metric units depending on the wave type. The calculator converts the selected wavelength unit into a compatible unit before applying the formula.

Wavelength Unit Symbol Relationship to Meter Common Use
meter m 1 m Radio waves and general wave problems
centimeter cm 1 cm = 0.01 m Microwaves and classroom examples
millimeter mm 1 mm = 0.001 m Millimeter waves and small-scale examples
micrometer µm 1 µm = 10-6 m Infrared light and optics
nanometer nm 1 nm = 10-9 m Visible light and ultraviolet light
picometer pm 1 pm = 10-12 m X-ray and atomic-scale examples

Common Frequency Units

Frequency can become very large for short wavelengths such as visible light. That is why frequency is often displayed in kHz, MHz, GHz, THz, or scientific notation.

Frequency Unit Symbol Relationship to Hertz Common Use
hertz Hz 1 Hz Base frequency unit
kilohertz kHz 1 kHz = 103 Hz Audio and radio examples
megahertz MHz 1 MHz = 106 Hz Radio and electronics
gigahertz GHz 1 GHz = 109 Hz Microwaves, wireless systems, electronics
terahertz THz 1 THz = 1012 Hz Infrared and optical frequency ranges

Light in Vacuum vs Light in a Medium

For light in vacuum, the speed is exactly:

c = 299,792,458 m/s

In materials such as air, water, or glass, light travels more slowly than it does in vacuum. The speed depends on the material’s refractive index.

Setting What It Means Important Note
Vacuum Light speed is exactly c Best for standard electromagnetic spectrum calculations
Air Light speed is very close to c Approximate value can vary with temperature, pressure, humidity, and wavelength
Water Light speed is lower than in vacuum Approximate value depends on wavelength and conditions
Custom speed You enter the wave speed Useful for non-light waves or special textbook problems

Important: When light passes from one medium into another, its frequency remains the same, while its speed and wavelength change. If you choose a medium speed, the wavelength entered should be the wavelength in that same medium.

Worked Example: 500 nm Light in Vacuum

Suppose you want the frequency of light with a wavelength of 500 nm in vacuum.

Step 1: Convert wavelength to meters
500 nm = 500 × 10-9 m
500 nm = 5.00 × 10-7 m

Step 2: Use the vacuum light-speed formula
f = c / λ

Step 3: Substitute the values
f = 299,792,458 / (5.00 × 10-7)

Step 4: Calculate
f ≈ 5.996 × 1014 Hz

Result: Light with a wavelength of 500 nm in vacuum has a frequency of about 5.996 × 1014 Hz, or about 599.6 THz.

Worked Example: Radio Wave Frequency

Suppose a radio wave has a wavelength of 3 m and travels at approximately the speed of light in vacuum.

Step 1: Use the formula
f = c / λ

Step 2: Substitute the values
f = 299,792,458 / 3

Step 3: Calculate
f ≈ 99,930,819 Hz

Step 4: Convert to MHz
99,930,819 Hz ≈ 99.93 MHz

Result: A 3 m electromagnetic wave in vacuum has a frequency of about 99.93 MHz.

Worked Example: Custom Wave Speed

Suppose a wave travels through a medium at 340 m/s and has a wavelength of 0.50 m.

Step 1: Use the general wave formula
f = v / λ

Step 2: Substitute the values
f = 340 / 0.50

Step 3: Calculate
f = 680 Hz

Result: A wave traveling at 340 m/s with a wavelength of 0.50 m has a frequency of 680 Hz.

Worked Example: Compare Two Wavelengths

For waves traveling at the same speed, shorter wavelength means higher frequency.

Wavelength in Vacuum Formula Approximate Frequency
700 nm f = c / 700 nm 4.28 × 1014 Hz
500 nm f = c / 500 nm 5.996 × 1014 Hz
400 nm f = c / 400 nm 7.49 × 1014 Hz

This table shows the inverse relationship clearly: as wavelength decreases, frequency increases.

Wavelength, Frequency, and the Electromagnetic Spectrum

Electromagnetic waves cover a wide range of wavelengths and frequencies. The calculator can help convert between wavelength and frequency for many parts of the spectrum.

Region General Wavelength Pattern General Frequency Pattern
Radio waves Long wavelengths Lower frequencies
Microwaves Shorter than many radio waves Higher than many radio frequencies
Infrared Longer than visible red light Lower than visible light
Visible light Hundreds of nanometers Hundreds of terahertz
Ultraviolet Shorter than visible violet light Higher than visible light
X-rays and gamma rays Very short wavelengths Very high frequencies

The exact boundaries between electromagnetic spectrum regions can vary by source and application, but the inverse wavelength-frequency relationship remains the same.

How to Use This Wavelength to Frequency Calculator

  1. Select a wave speed preset, such as light in vacuum, air, or water.
  2. If using a custom speed, enter the wave speed and choose the correct speed unit.
  3. Enter the wavelength value.
  4. Select the wavelength unit, such as m, cm, mm, µm, nm, or pm.
  5. Click Calculate if the tool requires it.
  6. Review the frequency result.
  7. Check whether the wavelength and wave speed belong to the same medium.

How to Interpret the Result

The frequency result tells you how many wave cycles pass a point each second. A result in hertz can be converted into larger units such as MHz, GHz, or THz when the number is very large.

Result Pattern Meaning Why It Happens
Shorter wavelength Higher frequency f = v / λ
Longer wavelength Lower frequency The same wave speed is spread across longer cycles
Higher wave speed Higher frequency for the same wavelength More cycles pass per second at the same wavelength
Lower wave speed Lower frequency for the same wavelength Fewer cycles pass per second at the same wavelength

For light moving between media, remember that the frequency is set by the source and remains the same across the boundary. The speed and wavelength change inside the new medium.

Vacuum Wavelength vs Medium Wavelength

One common source of confusion is whether the wavelength is measured in vacuum or inside a medium.

Situation What Stays the Same? What Changes?
Light traveling in vacuum Use c as the speed No medium correction needed
Light entering a medium Frequency remains the same Speed and wavelength change
Using wavelength measured in a medium Use the wave speed in that medium Do not mix with vacuum wavelength unless converting
Using vacuum wavelength Use vacuum light speed for frequency conversion Medium wavelength is shorter if refractive index is greater than 1

For most simple electromagnetic spectrum conversions, use vacuum wavelength and the vacuum speed of light unless the problem specifically gives a wavelength inside a medium.

Why Refractive Index Matters

The refractive index describes how much light slows down in a medium. In a simplified form:

v = c / n

where:

  • v = speed of light in the medium
  • c = speed of light in vacuum
  • n = refractive index

If the refractive index is larger, the light speed in that medium is lower. However, real refractive index values can vary with wavelength, temperature, pressure, and material composition.

When This Calculator Is Useful

This calculator is useful when you need a quick frequency estimate and the wave speed and wavelength are known.

  • Physics and optics homework
  • Visible-light frequency calculations
  • Infrared and ultraviolet wavelength conversions
  • Radio wave and microwave examples
  • Checking textbook wavelength-frequency problems
  • Comparing light in vacuum with light in a medium
  • Using a custom wave speed for general wave problems
  • Understanding the inverse relationship between wavelength and frequency

When You May Need More Than This Calculator

A simple wavelength-to-frequency calculator may not be enough when detailed optical behavior matters.

Use a more advanced model when working with:

  • dispersion in glass, water, or air
  • fiber-optic systems
  • waveguides and resonant cavities
  • spectroscopy and precision optics
  • atmospheric refraction
  • plasma waves or nonlinear media
  • materials with wavelength-dependent refractive index
  • laser design or optical engineering
  • radio propagation through complex environments
  • high-precision laboratory measurement

Common Mistakes to Avoid

  • Using zero wavelength: wavelength must be greater than zero because the formula divides by wavelength.
  • Using zero wave speed: wave speed must be greater than zero for a meaningful frequency.
  • Mixing units: nanometers must be converted to meters for SI calculations.
  • Forgetting that shorter wavelength means higher frequency: wavelength and frequency are inversely related at fixed speed.
  • Mixing vacuum wavelength with medium speed: use a wavelength and speed that refer to the same medium.
  • Assuming air or water presets are exact: refractive index can vary with wavelength and conditions.
  • Confusing frequency with energy: frequency is related to photon energy, but energy requires a separate formula.
  • Using a simple model for precision optics: detailed optical work may need refractive-index data and dispersion models.

Important Assumptions and Limitations

  • This calculator uses the standard wave equation f = v / λ.
  • Wavelength must be greater than zero.
  • Wave speed must be greater than zero.
  • For light in vacuum, the calculator can use the exact speed c = 299,792,458 m/s.
  • For media such as air or water, preset speeds are practical approximations.
  • Medium speeds can vary with wavelength, temperature, pressure, humidity, salinity, and material composition.
  • The calculator does not model dispersion, absorption, scattering, waveguides, nonlinear optics, or detailed refractive-index behavior.
  • The calculator does not replace laboratory measurement or professional optical design.

Practical Uses of a Wavelength to Frequency Calculator

  • Convert visible-light wavelength into frequency
  • Check electromagnetic spectrum examples
  • Convert radio wavelength into frequency
  • Compare infrared, visible, and ultraviolet waves
  • Use custom wave speed for general wave problems
  • Support physics and optics homework
  • Understand how wavelength changes frequency
  • Prepare for photon energy calculations

References

  1. OpenStax Physics: Wave Properties, Speed, Amplitude, Frequency, and Period
  2. OpenStax University Physics Volume 2: The Electromagnetic Spectrum
  3. NIST CODATA: Speed of Light in Vacuum
  4. NIST: Index of Refraction of Air
  5. Britannica: Refractive Index

Related Calculators

Frequently Asked Questions

What is the formula for wavelength to frequency?

The formula is f = v / λ, where f is frequency, v is wave speed, and λ is wavelength.

What is the formula for light in vacuum?

For light in vacuum, use f = c / λ, where c is the speed of light in vacuum.

What is the speed of light in vacuum?

The speed of light in vacuum is exactly 299,792,458 m/s.

What does wavelength mean?

Wavelength is the distance between repeating points on a wave, such as crest to crest or trough to trough.

What does frequency mean?

Frequency is the number of wave cycles that pass a point each second. It is measured in hertz.

Does shorter wavelength mean higher frequency?

Yes. For a fixed wave speed, shorter wavelength means higher frequency because f = v / λ.

Does longer wavelength mean lower frequency?

Yes. For a fixed wave speed, longer wavelength means lower frequency.

Can I use this calculator for radio waves?

Yes. Radio waves are electromagnetic waves, so you can use the wave equation with the appropriate wave speed, usually close to the speed of light for vacuum or air examples.

Can I use this calculator for visible light?

Yes. Visible-light wavelengths are commonly entered in nanometers, and the result is usually a very large frequency in hertz or terahertz.

Does frequency change when light enters water?

No. When light enters another medium, its frequency remains the same, while its speed and wavelength change.

Should I use vacuum wavelength or medium wavelength?

Use the wavelength that matches the selected speed. If you choose vacuum speed, use vacuum wavelength. If you choose a medium speed, use the wavelength in that medium.

Does this calculator include dispersion?

No. This calculator uses one wave speed at a time. Dispersion, where speed and refractive index vary with wavelength, requires a more detailed optical model.

Disclaimer: This Wavelength to Frequency Calculator provides educational estimates using the standard wave relationship f = v ÷ λ. Wavelength and wave speed must both be greater than zero. For light in vacuum, the calculator can use the exact vacuum speed of light, c = 299,792,458 m/s. For light in air, water, or other media, preset speeds are practical approximations because refractive index can vary with wavelength, temperature, pressure, composition, and measurement conditions. If light passes from one medium into another, its frequency remains the same while its speed and wavelength change; therefore, use the wavelength that corresponds to the selected medium. This calculator does not model dispersion, absorption, scattering, waveguides, fiber optics, plasma effects, nonlinear optics, or detailed material-specific refractive-index behavior. Use it for homework, optics basics, electromagnetic spectrum checks, and general wave calculations, and use a full optical or electromagnetic model for precision lab work, lens design, fiber systems, spectroscopy, atmospheric optics, or engineering applications.

More of our calculators...

Pressure Calculator

Use our Pressure Calculator to find pressure from force and area. Get instant results in Pa, kPa, bar, psi, and atm with built-in unit conversion.

Density Calculator

Use our Density Calculator to solve density, mass, or volume with automatic unit conversion. Works with kg, g, lb, L, mL, cm³, ft³, and more.

Kinetic Energy Calculator

Use our Kinetic Energy Calculator to find KE from mass and velocity. Get instant results in joules, kJ, Wh, kWh, and ft·lbf with unit conversion.

Potential Energy Calculator

Use our Potential Energy Calculator to find gravitational or elastic potential energy using mgh or ½kx². Get instant results in J, kJ, Wh, kWh, and ft·lbf.

Work Calculator

Use our Work Calculator to find work done from force, distance, and angle or from mass, gravity, and height. Get results in J, kJ, Wh, kWh, and ft·lbf.

Work and Power Calculator

Use our Work and Power Calculator to find work from force and distance or lift, then calculate power in watts, kW, and horsepower from time.

Projectile Motion Calculator

Use our Projectile Motion Calculator to find time of flight, range, maximum height, time to peak, and velocity components from speed, angle, height, and gravity.

Free Fall Calculator

Use our Free Fall Calculator to find time, distance, final velocity, and average speed from height or time with gravity presets and unit conversion.

Gravitational Force Calculator

Use our Gravitational Force Calculator to find the force between two masses with Newton’s law of gravitation. Get results in newtons, lbf, and acceleration on each mass.