Wavelength & Frequency Calculator
Convert between wavelength and frequency. Calculate photon energy and identify the electromagnetic spectrum band.
About this calculator
Every electromagnetic wave -- from radio waves to gamma rays -- obeys the same relationship between wavelength and frequency: c = wavelength x frequency, where c is the speed of light in a vacuum (299,792,458 m/s). Because that product is a fixed constant, wavelength and frequency are inversely related -- a shorter wavelength always corresponds to a higher frequency, and vice versa. This calculator lets you enter either value and computes the other, then goes a step further and calculates the photon energy carried by radiation at that frequency using Planck's relation, E = h x f, where h is Planck's constant.
Photon energy is reported both in joules (an extremely small number for visible light, hence the scientific notation) and in electron-volts, a unit more commonly used at atomic and molecular scales. The calculator also classifies the input into a named region of the electromagnetic spectrum -- radio, microwave, infrared, visible light, ultraviolet, X-ray, or gamma ray -- based on standard wavelength boundaries. Because higher frequency corresponds to higher photon energy, radiation with shorter wavelengths (X-rays, gamma rays) carries far more energy per photon than long-wavelength radio waves, which is part of why ionizing radiation sits at the short-wavelength end of the spectrum and why sunburn comes from the ultraviolet, not the visible, portion of sunlight.
Convert
Results
How to Use This Calculator
- Select conversion direction: frequency to wavelength or wavelength to frequency.
- Enter the known value and select the paired unit (Hz/m, kHz/cm, MHz/mm, GHz/μm, or THz/nm).
- Review the calculated wavelength or frequency and the corresponding photon energy.
- Check the EM Spectrum Band output to see the radiation type (radio, microwave, infrared, visible, UV, X-ray, or gamma ray).
- Remember: wavelength = c / frequency, where c = 299,792,458 m/s in vacuum.
What each input means
- Convert From
- Calculation mode to use.
- Value
- The input value.
- Unit
- Measurement system to use.
How this is calculated
Formula
c = λf, E = hfWorked example, using the default values
- Identify Input ParametersConvert From = 0, Value = 2400, Unit = 2 = 3 input(s) provided
- Calculate WavelengthWavelength = wavelengthDisplay12.49 cm = 12.49 cm
- Calculate FrequencyFrequency = frequencyDisplay2.4 GHz = 2.4 GHz
- Calculate Photon EnergyPhoton Energy = energy.toExponential(3)1.590e-24 = 1.590e-24
Engine last updated . Checked against 2 independently-derived tests — how we verify calculators. Built by Paul Gunder, a software engineer, not a licensed financial, medical, or legal professional.
Frequently Asked Questions
Why does a shorter wavelength always mean a higher frequency?
Because wavelength and frequency are linked by the fixed relationship c = wavelength x frequency, where c (the speed of light) never changes in a vacuum. If wavelength gets shorter, frequency must increase proportionally to keep that product constant -- the two values move in exactly opposite directions for any electromagnetic wave.
How is photon energy related to the frequency I enter?
Photon energy is calculated directly from frequency using Planck's relation, E = h x frequency, where h is Planck's constant. Since frequency and photon energy move together (higher frequency means higher energy), and frequency and wavelength move in opposite directions, it follows that shorter-wavelength radiation always carries higher-energy photons than longer-wavelength radiation.
What determines which EM spectrum band my result falls into?
The calculator classifies your result into a named band -- radio, microwave, infrared, visible light, ultraviolet, X-ray, or gamma ray -- purely based on standard wavelength range boundaries used across physics references. Visible light, for example, spans roughly 380 to 700 nanometers; anything with a shorter wavelength than that falls into ultraviolet and beyond.
Why does the calculator show energy in both joules and electron-volts?
Joules are the standard SI unit of energy, but photon energies at optical and near-optical frequencies are extremely small in joules (fractions of 10^-19), which is awkward to read. Electron-volts are a much more convenient unit at atomic and photon scales -- a single eV is the energy an electron gains crossing a 1-volt potential -- so both units are provided depending on which is more useful for your context.
Related Calculators
The questions that sit next to this one — chosen by subject, including calculators filed under a different category.
Force Calculator (F=ma)
Calculate force, mass, or acceleration using Newton's Second Law (F = ma). Includes unit conversions to pounds-force and dynes.
Science & EngineeringOhm's Law Calculator
Calculate voltage, current, resistance, or power using Ohm's Law (V = I × R). Enter any two values to find the others.
PhysicsElectromagnetic Wave Calculator
Calculate the wavelength and photon energy of an electromagnetic wave from its frequency using c = fλ and E = hf.
PhysicsWave Speed Calculator
Wave speed from frequency and wavelength (v = fλ).
Science & EngineeringVoltage Drop Calculator
Calculate voltage drop in electrical wiring based on wire gauge, length, current, and material. Ensure your circuits meet NEC recommendations.
More in Science & Physics.