Use this wavelength calculator to find wavelength, frequency, wave speed, photon energy, and related wave values in one place.
Advanced options
How to use our Wavelength Calculator
- Choose What do you want to solve for? so the calculator knows your main target.
- Select a Physics model: use General wave for any wave, Electromagnetic wave for light, or Photon energy for energy and wavelength conversions.
- Enter the visible required inputs using their own units, such as Frequency (selected unit) or Wavelength (selected unit).
- If you are working with light in a material, open Advanced options, change EM wavelength reference to Inside a medium, and enter Refractive index n.
- Pick your preferred Wavenumber output unit and Number display format if you want classroom-friendly rounding.
- Click Calculate to see the main answer plus wavelength, frequency, period, angular frequency, photon energy, and wavenumber when they apply.
- Use the Assumption note to check whether the result used general wave speed, vacuum light speed, or light speed in a medium.
- Sanity-check the result: if frequency goes up while speed stays the same, wavelength should go down, and for EM waves entering a medium, frequency should stay the same while wavelength gets shorter.
Definitions
Wavelength: The length of one full wave cycle, usually written as λ.
Frequency: How many cycles happen each second, measured in hertz (Hz).
Wave speed: How fast the wave moves through space or through a material.
Photon energy: The energy carried by one light particle, called a photon.
Period: The time for one cycle. It is the opposite of frequency because Period gets smaller when Frequency gets bigger.
Angular frequency: A physics form of frequency, usually written as ω, measured in radians per second.
Wavenumber: The inverse of wavelength, often written in 1/m or 1/cm [2].
Refractive index n: A number that shows how much a material slows electromagnetic waves compared with vacuum.
Vacuum wavelength: The wavelength light has in empty space.
Wavelength in a medium: The shorter wavelength light has inside a material when frequency stays the same.
Common mistakes and quick fixes
Mistake: Leaving Physics model on General wave when you really want Photon energy .
Fix: Switch Physics model to Photon energy before using Photon energy (selected unit) or reading Photon energy .
Mistake: Typing a wavelength in nm while Wavelength (selected unit) is set to m.
Fix: Match the number to the selected unit, or change the wavelength unit selector to nm before calculating Calculated result .
Mistake: Entering 500 in Frequency (selected unit) and forgetting the unit should be THz, not Hz, for visible light examples.
Fix: Check the frequency unit selector carefully so Frequency and Period come out at the right scale.
Mistake: Using Refractive index n in vacuum problems or forgetting to change EM wavelength reference to Inside a medium.
Fix: Only use Refractive index n when EM wavelength reference is Inside a medium, then confirm the Assumption note .
Mistake: Trying to solve for Wave speed while Physics model is Photon energy.
Fix: Change Physics model to General wave or Electromagnetic wave, because photon mode is for wavelength and energy relationships.
Mistake: Reading Wavenumber as if it were wavelength.
Fix: Remember Wavenumber is the inverse of wavelength, so a larger Wavenumber means a shorter Wavelength .
Limitations & Key Assumptions / Boundary Conditions
- This calculator assumes ideal textbook relationships, so it does not model absorption, scattering, dispersion curves, or complicated material behavior.
- In electromagnetic mode, vacuum calculations use the exact speed of light c = 299,792,458 m/s [1].
- When EM wavelength reference is Inside a medium, the calculator uses a simplified model with Refractive index n and assumes frequency stays constant across the boundary.
- Photon energy results are physically meaningful for electromagnetic radiation, not for ordinary mechanical waves like sound in air.
- Wavenumber here means inverse wavelength, not angular wavenumber. If your class defines wavenumber differently, check the formula your teacher uses.
- Results depend completely on the units you select. A correct number with the wrong unit choice can give an answer off by thousands, millions, or more.
Methodology
Core relationships
The calculator first converts all entered values into base SI units: meters for wavelength, hertz for frequency, meters per second for speed, and joules per photon for energy. After solving, it converts results back into user-friendly display units.
λ = v / f
f = v / λ
v = f x λ
For a general wave, the calculator uses the wave equation with the entered Wave speed and Frequency or Wavelength.
Electromagnetic wave model
For electromagnetic waves in vacuum or air, the calculator uses the exact speed of light c [1].
λ = c / f
v = c
If you choose a medium, it uses refractive index n to reduce speed and wavelength while keeping frequency the same.
v_medium = c / n
λ_medium = c / (n x f)
Photon energy model
For photons, the calculator connects wavelength and energy with Planck's constant and the speed of light.
E = h x c / λ
λ = h x c / E
Energy entered in eV or kJ/mol is converted to joules per photon before solving, then shown again in all three energy forms.
E_eV = E_J / e
E_kJmol = E_J x N_A / 1000
Derived outputs
After finding the main result, the calculator also computes other wave values that students often need next.
T = 1 / f
ω = 2 x π x f
κ = 1 / λ
If Wavenumber output unit is set to 1/cm, the 1/m value is divided by 100.
Worked mini-example
Suppose you choose Electromagnetic wave, solve for wavelength, enter Frequency (selected unit) = 500 THz, and keep vacuum mode. The calculator converts 500 THz to 5.0 x 10^14 Hz, then uses c / f.
λ = 299,792,458 / 500,000,000,000,000 = 5.99584916 x 10^-7 m
That is about 599.6 nm. Then it also finds period, angular frequency, photon energy, and wavenumber from that wavelength and frequency.
Validation and edge handling
The calculator requires positive values for visible required fields. It ignores hidden fields, so a value left in an unused row does not affect the answer. It also blocks incompatible combinations such as General wave with Photon energy as the solve target, or Photon energy mode with Wave speed as the solve target.
Practical notes
This tool is best for homework, quick checks, and unit conversions. Real materials can have refractive index that changes with wavelength, so measured lab results may differ from this simplified model.
Sources
- CODATA Value: speed of light in vacuum - NIST
- Wavenumber | Definition, Formula, Units, & Facts | Britannica - Encyclopedia Britannica
- Measuring Light with Wavelengths and Wavenumbers - Idex-hs
- Pearson Schools Australia (PDF sample) - Waves & electromagnetic radiation: wave equation and wavelength-frequency-speed relation - Pearson