Wavelength Frequency Calculator
Enter a wavelength or a frequency — the calculator finds the other, plus photon energy.
Light, radio waves, X-rays and microwaves are all the same phenomenon — electromagnetic waves travelling at the speed of light — differing only in their wavelength and frequency. Converting between the two is a staple calculation in physics classes, electronics, photography and astronomy, but the huge range of units (nanometers one moment, gigahertz the next) makes it easy to drop a factor of a thousand. The Wavelength Frequency Calculator does the conversion cleanly: enter either a wavelength or a frequency in any common unit, and it returns the other, along with the photon energy.
The calculator uses the exact defined speed of light, c = 299,792,458 meters per second, so your answers match textbook values precisely. Whether you are checking what frequency a 500 nm green laser corresponds to or what wavelength your favorite FM station broadcasts at, you get the full breakdown with every step shown.
What the Wavelength Frequency Calculator Does
The calculator accepts one input — a wavelength in nanometers, micrometers or meters, or a frequency in hertz, kilohertz, megahertz or gigahertz — and computes its partner quantity through the wave equation. Because it also knows Planck’s constant, it goes one step further and reports the energy of a single photon at that wavelength or frequency, in both joules and electronvolts (eV), the unit physicists actually use for photon energies.
Every result includes the exact values in scientific notation alongside friendly rounded figures in the most readable unit, plus the step-by-step arithmetic, so you can follow the calculation or copy the precise numbers into your own work.
How to Use the Calculator
Type your value into the Value box — for example, 500 — then choose its unit from the dropdown, such as nm. Press Calculate. If you entered a wavelength, the headline result is the corresponding frequency; if you entered a frequency, the headline is the wavelength. The table below always shows both quantities, the photon energy, and the calculation steps.
A handy trick: the calculator works in both directions with the same two boxes, so to check your answer, take the result, enter it with its unit, and confirm you get back to (approximately) your starting value.
The Formula Behind the Calculation
Wavelength (λ, lambda) and frequency (f) are linked by the speed of the wave. For light in a vacuum, that speed is c:
c = λ × f, so λ = c ÷ f and f = c ÷ λ
with c = 299,792,458 m/s exactly. Wavelength is the distance between successive wave crests; frequency is how many crests pass per second. Because their product is fixed at c, they are inversely related: double the frequency and the wavelength halves.
Photon energy comes from the Planck relation:
E = h × f
where h = 6.62607015×10⁻³⁴ joule-seconds (exact, by definition since 2019). Dividing the joule value by the elementary charge (1.602176634×10⁻¹⁹ J/eV) converts it to electronvolts. Higher frequency means proportionally higher photon energy — which is why ultraviolet light sunburns you while radio waves pass through you unnoticed.
Worked Examples
Example 1 — green light at 500 nm. Enter 500 with unit nm. First convert to meters: λ = 500 × 10⁻⁹ = 5.000e-7 m. Then f = c ÷ λ = 299,792,458 ÷ 5.000e-7 = 5.996e+14 Hz, shown as 599.585 THz. Photon energy E = h × f = 6.62607015×10⁻³⁴ × 5.996e+14 = 3.973e-19 J, which is 3.973e-19 ÷ 1.602176634×10⁻¹⁹ = 2.480 eV. Green photons carry about two and a half electronvolts each.
Example 2 — FM radio at 100 MHz. Enter 100 with unit MHz. Frequency in hertz: f = 100 × 10⁶ = 1.000e+8 Hz. Wavelength λ = c ÷ f = 299,792,458 ÷ 1.000e+8 = 2.9979 m (about 3 meters — which is why FM antennas are roughly a meter or two long). Photon energy = 6.626e-26 J = 4.136e-7 eV, roughly ten million times weaker per photon than visible light.
Example 3 — the hydrogen line at 0.21 m. Radio astronomers hunt for the famous 21-centimeter line emitted by neutral hydrogen. Enter 0.21 with unit m (shown as 210.00 mm). f = 299,792,458 ÷ 0.21 = 1.428e+9 Hz = 1.428 GHz. Photon energy = 9.459e-25 J = 5.904e-6 eV. Tiny per photon — but hydrogen clouds emit a lot of them.
Reading Your Results
The headline gives the converted quantity in the most readable unit — gigahertz for radio frequencies, nanometers for light. The table’s scientific-notation column gives you exact values to copy into further calculations. The photon energy row is the bridge to quantum thinking: compare the eV value against familiar benchmarks (visible light is roughly 1.6 to 3.3 eV; X-rays are thousands of eV) to get a feel for where your wave sits on the electromagnetic spectrum.
Common Mistakes to Avoid
The number-one error is unit confusion: entering 500 thinking “nanometers” while the math expects meters gives an answer off by a factor of a billion. Always check the unit dropdown matches what you mean — the calculator converts units for you, so let it. Related to this, remember that “nm” and “μm” differ by a factor of 1,000, and “MHz” and “GHz” likewise.
Another subtle point: the calculator assumes light travelling in a vacuum (or air, which is close enough). Inside glass or water, light slows down and the wavelength shortens while the frequency stays the same — so fiber-optic or underwater calculations need the material’s refractive index, which this tool does not apply. Finally, do not use these formulas for sound waves: sound needs the speed of sound (≈343 m/s in air), not the speed of light.
Frequently Asked Questions
1. What is wavelength?
Wavelength (λ) is the distance between two successive crests of a wave — for visible light, a few hundred nanometers; for AM radio, hundreds of meters. It is the “length” of one complete wave cycle.
2. What is frequency?
Frequency (f) is how many wave cycles pass a fixed point each second, measured in hertz (Hz). One hertz is one cycle per second; a gigahertz is a billion cycles per second.
3. What is the exact speed of light?
Exactly 299,792,458 meters per second in a vacuum. Since 1983 the meter has been defined from this value, so c is exact by definition, and the calculator uses the full figure rather than the 3×10⁸ approximation.
4. Why are wavelength and frequency inversely related?
Because their product always equals the wave speed (c = λf). If the speed is fixed, making the waves longer (bigger λ) means fewer of them pass per second (smaller f). Double one and the other halves.
5. What is photon energy?
Light energy comes in packets called photons, each carrying energy E = h×f. Higher-frequency light means more energetic photons — blue photons outrank red ones, and X-ray photons vastly outrank both.
6. What is an electronvolt (eV)?
An electronvolt is the energy an electron gains crossing one volt: 1.602176634×10⁻¹⁹ joules. It is the standard unit for photon and particle energies because the numbers come out human-sized — visible photons are a few eV instead of 10⁻¹⁹ joules.
7. How do I convert 600 nm to frequency by hand?
Convert to meters (600 nm = 6×10⁻⁷ m), then divide c by it: 299,792,458 ÷ 6×10⁻⁷ ≈ 5.0×10¹⁴ Hz. The calculator does this in one step and shows the working.
8. What is the wavelength range of visible light?
Roughly 380 nm (violet) to 750 nm (red). That corresponds to frequencies of about 790 THz down to 400 THz — the calculator will confirm both directions instantly.
9. What frequency is Wi-Fi?
Most Wi-Fi uses 2.4 GHz or 5 GHz bands, corresponding to wavelengths of about 12.5 cm and 6 cm. Enter either value in the calculator to see the conversion.
10. Can I use this for sound waves?
No — sound is a mechanical wave whose speed is about 343 m/s in air, not 299,792,458 m/s. The λ = c/f relationship still holds in form, but with the speed of sound substituted for c.
11. Does wavelength change in glass or water?
Yes. Light slows in denser media, so its wavelength shortens by the refractive index while frequency stays constant. This calculator assumes vacuum (or air), where the effect is negligible.
12. What is the highest-frequency electromagnetic wave?
Gamma rays, reaching 10¹⁹ Hz and beyond (wavelengths shorter than 10 picometers). They carry thousands to millions of eV per photon — energetic enough to damage DNA, which is why they require shielding.
13. How are nanometers, micrometers and meters related?
One micrometer (μm) is 1,000 nanometers, and one meter is a million micrometers (a billion nanometers). The dropdown handles these conversions; just make sure you pick the unit you actually mean.
14. Why do radio stations use MHz and light uses nm?
Convention follows convenient numbers: radio wavelengths are meters to kilometers, so MHz/GHz give tidy figures, while light wavelengths are billionths of a meter, so nanometers keep the numbers small. The calculator speaks both dialects.
15. Is red light or blue light more energetic?
Blue. Shorter wavelength means higher frequency, and photon energy is proportional to frequency (E = hf). Blue photons (~450 nm, ~2.76 eV) each carry about 50 percent more energy than red photons (~650 nm, ~1.91 eV).
Final Thoughts
Wavelength and frequency are two names for the same wave seen from different angles, and fluency in converting between them opens up the whole electromagnetic spectrum — from the 21-centimeter whisper of distant hydrogen to the searing photons of an X-ray. Keep the relationship c = λf in your back pocket, double-check your units before you trust an answer, and let the calculator handle the powers of ten. The physics is beautiful; the arithmetic does not have to be painful.