Wavelength Calculator
Find wavelength from frequency (lambda = c/f), from wave speed and frequency (lambda = v/f), or from photon energy (lambda = hc/E), and go backwards to frequency and energy. Supports refractive index, the electromagnetic spectrum, visible colours, and nm/um/m units.
https://hexacalculator.com/calculators/physics/waves/wavelength-calculator
Physics
Waves
Wavelength Calculator
Find wavelength from frequency (lambda = c/f), from wave speed and frequency (lambda = v/f), or from photon energy (lambda = hc/E), and go backwards to frequency and energy. Supports refractive index, the electromagnetic spectrum, visible colours, and nm/um/m units.
Wavelength Calculator
Choose your starting point
Choose what you already know: a light frequency, a wave speed and frequency, a photon energy, or a wavelength to work backwards from.
Enter what you know
Only the boxes your chosen scenario needs are shown. Set each field's unit with the switch on its right; the answer updates as you type.
Result
kJ/mol
- Photon energy
- eV
- Photon energy per mole
A 500 THz electromagnetic wave has a wavelength of 599.58 nm. Each photon carries 2.068 eV. Wavelength is the speed of light divided by the frequency; raise the refractive index above 1 and the wavelength shrinks while the frequency and energy stay put.
This is an electromagnetic wave, so it sits somewhere on the spectrum from radio waves to gamma rays. Compare 599.58 nm against the electromagnetic-spectrum and visible-colour tables below to see its band and, if it is between 380 and 700 nm, its colour.
Wavelength is the distance between two identical points on a wave, such as one crest to the next. It's denoted by the Greek letter lambda (λ) and is a length measurement: Radio frequencies are usually given in meters, while light is often measured in nanometers.
This calculator will calculate the wavelength in four different ways based on the information you input. You can either input the frequency, speed of propagation and frequency, energy of a photon or the wavelength itself; then the calculator will give back the wavelength as well as the corresponding frequency and the energy of the photon.
The wave equation.
Any propagating wave follows a simple relationship: The speed is equal to the frequency times the wavelength.
To rearrange to find wavelength, the equation is: wavelength equals speed divided by frequency. The speed refers to how fast the wave moves, while the frequency refers to the number of cycles per second (measured in hertz). The calculated wavelength will be a length measurement.
Since the wavelength is equal to speed divided by frequency, it follows that at constant speed the shorter the wavelength, the higher the frequency. The two quantities are in an inverse relationship: doubling the frequency halves the wavelength.
The four modes of this computer:
Select the option that matches your question from above and the interface will only show the input fields required for that option. Each mode uses different inputs but is based on the same physics.
1. Calculation based on the frequency of light or other electromagnetic waves:
Light, radio waves, microwaves and X-rays are all electromagnetic waves. In a vacuum they all travel at the same speed - the speed of light (c), which is 299,792,458 metres per second. So the wavelength equals c divided by the frequency.
A radio station with a frequency of 100 MHz broadcasts radio waves with a wavelength of about 3 meters. A Wi-Fi signal with a frequency of 2.4 GHz has a wavelength of about 12.5 centimeters. Green light with a frequency near 550 THz has a wavelength of about 545 nanometers.
In glass or water the light slows down, which shortens its wavelength. The index of refraction n tells how much the speed changes: the speed in the medium is c divided by n, and the wavelength becomes c divided by n divided by f. The index of refraction for water is about 1.33, while it's about 1.5 for glass. The frequency doesn't change, so neither does color or photon energy; only the wavelength changes.
2. Calculate any wave based on speed of sound and frequency
Sound waves, surface waves and vibrations are not electromagnetic waves and have a much lower propagation speed than light. So you need to enter the wave speed yourself. The wavelength is still equal to the speed divided by the frequency.
At room temperature the speed of sound in air is about 343 meters per second while it's about 1481 meters per second in water. If a tower bell is rung at a frequency of 130 Hertz, then it produces sound waves with a wavelength of 343 divided by 130 which is approximately 2.64 meters.
3. Calculation based on energy of a photon
Light is also made up of a stream of particles called photons, each photon having an energy determined by its frequency. The Planck constant h relates these two quantities. So the wavelength can be calculated by multiplying h by c and then dividing by E, i.e. Wavelength = (h*c)/E.
The energy of a photon is usually given in electronvolts. A handy rule of thumb is that the wavelength (in nanometers) is roughly equal to 1240 divided by the energy (in electronvolts). So, for example, a photon with an energy of 2 electronvolts has a wavelength of about 620 nanometers and appears orange-red.
4. Backward calculation based on wavelength
If you know the wavelength already, then you can work backwards to find the frequency and photon energy. The frequency is equal to the speed of light divided by the wavelength, and the photon energy is equal to Planck's constant multiplied by this frequency.
So a wavelength of 500 nanometers converts to a frequency of about 600 terahertz and a photon energy of about 2.48 electron volts.
Electromagnetic spectrum
The wavelength range of the electromagnetic spectrum is extremely broad, from radio waves with lengths up to several thousand meters to gamma rays that are smaller than atoms. The various named frequency ranges overlap but generally the following boundaries are used.
Band | Wavelength range | Typical use |
|---|---|---|
Radio | 1 mm and longer | Broadcast, TV, Wi-Fi, mobile |
Microwave | 1 mm to 1 m | Radar, ovens, satellite links |
Infrared | 700 nm to 1 mm | Heat, night vision, remotes |
Visible | 380 nm to 700 nm | Light the eye can see |
Ultraviolet | 10 nm to 380 nm | Sunburn, sterilisation |
X-ray | 0.01 nm to 10 nm | Medical imaging |
Gamma ray | 0.01 nm and shorter | Nuclear decay, radiotherapy |
Colors of visible light
The spectrum visible to the human eye ranges from about 380 nanometers to 700 nanometers. Shorter wavelengths appear violet and blue, while longer wavelengths are perceived as orange and red.
Colour | Wavelength range | Approx. photon energy |
|---|---|---|
Violet | 380 to 450 nm | 2.75 to 3.26 eV |
Blue | 450 to 485 nm | 2.56 to 2.75 eV |
Cyan | 485 to 500 nm | 2.48 to 2.56 eV |
Green | 500 to 565 nm | 2.19 to 2.48 eV |
Yellow | 565 to 590 nm | 2.10 to 2.19 eV |
Orange | 590 to 625 nm | 1.98 to 2.10 eV |
Red | 625 to 700 nm | 1.77 to 1.98 eV |
Examples for calculation:
These examples use this calculator's own formulas so that you can follow and verify the calculations step by step.
What you know | Formula | Wavelength |
|---|---|---|
Light at 500 THz | c / f | 599.6 nm |
Sound 343 m/s at 130 Hz | v / f | 2.64 m |
Wi-Fi at 2.4 GHz | c / f | 12.49 cm |
FM radio at 100 MHz | c / f | 3.00 m |
2.00 eV photon | h c / E | 619.9 nm |
500 nm light in water (n = 1.33) | (c / n) / f | 376 nm |
Units of wavelength:
Wavelength is a length and can therefore be expressed using any unit of length. Light and other short wavelength radiation are almost always quoted in nanometers or angstroms while radio waves are measured in meters.
Unit | Symbol | In metres |
|---|---|---|
Picometre | pm | 0.000000000001 |
Ångström | Å | 0.0000000001 |
Nanometre | nm | 0.000000001 |
Micrometre | µm | 0.000001 |
Millimetre | mm | 0.001 |
Metre | m | 1 |
How to use this calculator:
Start with the top menu and select the information you know. The input fields will change accordingly so that you always only see the required measurement values for the respective application case.
Enter known values to instantly calculate the wavelength. Each field has its own toggle for units, so you can enter frequencies in gigahertz or wavelengths in centimeters, for example. This calculator will do all of the necessary conversions for you.
In the light and inverse modes you can also set the refractive index to simulate how waves behave in water or glass. For vacuum or air just leave it at 1 as there is little difference.
Common mistakes:
The most common mistake is using the wrong speed. Electromagnetic waves travel at the speed of light, while sound and other mechanical waves are much slower. Mixing them up will result in answers that are off by a factor of a million or more. Use "Light" mode for electromagnetic waves, and "General Wave" mode for sound.
Another common mistake is forgetting that the frequency of a wave does not change when it enters a new medium. What changes are speed and wavelength, not frequency. This is why light retains its color underwater even though its wavelength becomes shorter.
This tool is for general education and solving everyday problems. For engineering, safety work or other high risk activities the values should be checked against the standards required by your particular project.
Frequently asked questions
- What is the formula for wavelength?
The wavelength is equal to the speed divided by the frequency: λ=v/f. For light and other electromagnetic waves, the speed is the speed of light c, so the wavelength is equal to c divided by the frequency. If you start from the energy of a photon, the wavelength is equal to Planck's constant multiplied by the speed of light, divided by the energy: λ=h c/E.
- How do you calculate wavelength with frequency?
Divide the wave speed by the frequency. For light in a vacuum, divide the speed of light, 299,792,458 meters per second, by the frequency in hertz. An FM radio signal with a frequency of 100 megahertz has a wavelength of about 3 meters, while a Wi-Fi signal with a frequency of 2.4 gigahertz has a wavelength of about 12.5 centimeters. For sound or other mechanical waves, use the speed specific to that type of wave rather than the speed of light.
- Does wavelength change when a wave enters water or glass?
In a medium light slows down to the speed of light divided by the index of refraction, which makes the wavelength shorter accordingly. The index of refraction for water is about 1.33, so a wave with a wavelength of 500 nanometers becomes about 376 nanometers in length when it enters water. The frequency does not change, so the color of light remains the same under water. This situation can be simulated by adjusting the index of refraction.
- How do you calculate wavelength from photon energy?
Use the formula lambda = h c / E where h is Planck's constant and c is the speed of light. A quick conversion for light is: The wavelength (in nanometers) is approximately 1240 divided by the energy (in electron volts). So a photon with an energy of 2 electron volts would have a wavelength of about 620 nanometers; a photon with an energy of 3.1 electron volts has a wavelength of about 400 nanometers, which is at the violet end of visible light.
- What wavelengths are visible light?
The wavelengths that are visible to the human eye range approximately from 380 to 700 nanometers. Violet and blue are on the short-wavelength end, at about 380 to 485 nanometers; green is in the middle, at about 500 to 565 nanometers; orange and red are on the long-wavelength end, at about 590 to 700 nanometers. Wavelengths outside this range include ultraviolet below 380 nanometers and infrared above 700 nanometers.
- What is the relationship between wavelength and frequency?
At constant wave velocity, the two quantities are inversely proportional. Since the speed is equal to the product of frequency and wavelength, it follows that the higher the frequency, the shorter the wavelength, and vice versa. Doubling the frequency halves the wavelength. This is why high-frequency gamma rays have extremely short wavelengths, while low-frequency radio waves can have wavelengths of several meters or even thousands of meters.
Related calculators






Disclaimer: This calculator is provided for general informational and educational purposes only. Our calculators are under active development, and results may be inaccurate, incomplete, or unsuitable for your situation. Always verify the figures independently and seek advice from a qualified professional before relying on them. We make no warranties and accept no liability for any loss or decision arising from use of this tool.
References
- Wikipedia: Wavelength
Definition of wavelength, the wave equation, and wavelength in a medium.
- Wikipedia: Electromagnetic spectrum
The bands of the spectrum and their wavelength ranges.
- Wikipedia: Photon energy
E = h f = h c / lambda and the electronvolt shortcut.