Wavelength Conversion Calculator: Formula & Examples
- Wavelength
- nm
- Result
- Photon energy
- eV
- Result
- Wavelength
- 500 nm
- You entered
A wavelength conversion calculator converts between wavelength (in meters, nanometers, or micrometers) and frequency (in hertz, kilohertz, megahertz, or gigahertz) using the speed of light. You enter either the wavelength or the frequency, and the calculator returns the corresponding value in the units you choose, along with the photon energy if you need it. The relationship is exact and linear: frequency equals the speed of light divided by wavelength.
Formula
The core formula is:
f = c / λ
Where:
- f = frequency in hertz (Hz)
- c = speed of light in vacuum = 299,792,458 m/s (exact)
- λ (lambda) = wavelength in meters (m)
To convert wavelength to frequency, divide the speed of light by the wavelength. To convert frequency to wavelength, divide the speed of light by the frequency. The calculator above also computes photon energy using E = h × f, where h is Planck’s constant (6.62607015 × 10�³� J·s) and f is frequency in Hz.
Worked Example
Using the default values: wavelength = 500 nm, frequency = 600 THz.
Wavelength → Frequency:
- Convert wavelength to meters: 500 nm = 500 × 10�� m = 5.00 × 10�� m
- Apply formula: f = 299,792,458 / (5.00 × 10��) = 5.99584916 × 10¹� Hz
- Convert to THz: 5.99584916 × 10¹� / 10¹² = 599.5849 THz
Frequency → Wavelength:
- Convert frequency to Hz: 600 THz = 600 × 10¹² Hz = 6.00 × 10¹� Hz
- Apply formula: λ = 299,792,458 / (6.00 × 10¹�) = 4.99654 × 10�� m
- Convert to nm: 4.99654 × 10�� × 10� = 499.7 nm
Photon energy (for 500 nm): E = h × f = (6.62607015 × 10�³�) × (5.99584916 × 10¹�) = 3.97289 × 10�¹� J. Convert to eV: 3.97289 × 10�¹� / 1.602176634 × 10�¹� = 2.479 eV.
The calculator’s first output shows 599.5849 THz for 500 nm, matching the manual calculation.
When to Use Wavelength Conversion
You need this conversion whenever you work with electromagnetic radiation and the given quantity is not the one your formula expects. Common situations include:
- Calculating the frequency of a laser or LED given its wavelength (e.g., 532 nm green laser → 563.5 THz)
- Finding the wavelength of a radio signal given its frequency (e.g., 100 MHz → 2.998 m)
- Converting between optical and electrical bandwidth in fiber optics
- Computing photon energy for photochemistry or solar cell design
- Checking whether a signal falls in a particular band (visible, infrared, microwave)
The conversion is exact in vacuum. In air or glass, the speed of light is slightly lower, so the frequency remains the same but the wavelength shortens by the refractive index (for glass, about 1.5). For most practical purposes, the vacuum value is used.
How to Choose the Right Units
Select units that give you a manageable number. For visible light (400–700 nm), nanometers are standard; frequency is in hundreds of THz. For radio waves, meters and MHz or GHz are common. For X-rays, nanometers or picometers and exahertz (EHz) are used.
- 1 nm = 10�� m
- 1 μm = 10�� m
- 1 THz = 10¹² Hz
- 1 GHz = 10� Hz
- 1 MHz = 10� Hz
Always convert both sides to base SI units (meters and hertz) before applying the formula, then convert the result to your desired unit. The calculator above does this automatically.
Common Mistakes and Misconceptions
A frequent error is mixing up the speed of light in vacuum (299,792,458 m/s) with the approximate value 3 × 10� m/s. The difference is only 0.07%, but for precise work, use the exact value.
Another common mistake is forgetting to convert nanometers to meters. Writing 500 instead of 500 × 10�� gives a frequency that is off by a factor of 10�.
A misconception: “Red light has higher frequency than blue light.� Actually, blue light has a shorter wavelength (about 450 nm) and therefore a higher frequency (about 666 THz) than red light (about 700 nm, 428 THz).
Also, do not confuse frequency with angular frequency (ω = 2πf). The calculator uses ordinary frequency.
Limits of the Formula
The formula f = c/λ is exact only for electromagnetic waves in vacuum. In a medium, the speed is v = c/n, where n is the refractive index. For air, n ≈ 1.0003, so the difference is negligible for most purposes. For glass or water, the difference matters: a 500 nm wave in air becomes about 333 nm in glass (n = 1.5), but the frequency stays the same.
Also, the formula applies to any electromagnetic wave, from radio to gamma rays. It does not apply to sound waves, which have a different speed and a different relationship.
For extremely high frequencies (gamma rays), quantum effects are negligible here; the classical formula holds.
Related Conversions and Comparisons
Wavelength conversion is closely related to:
- Photon energy: E = hc/λ, often needed in spectroscopy.
- Wavenumber: 1/λ (in cm�¹), used in infrared spectroscopy.
- Frequency to angular frequency: ω = 2πf.
- Period: T = 1/f, the time for one cycle.
For example, a 10 GHz microwave has a wavelength of 2.998 cm, a period of 100 ps, and a photon energy of 4.14 × 10�� eV.
Frequently Asked Questions
How do I convert wavelength to frequency manually?
Divide the speed of light (299,792,458 m/s) by the wavelength in meters. For example, 650 nm = 650 × 10�� m, so f = 299,792,458 / (650 × 10��) = 4.61 × 10¹� Hz = 461 THz.
What is the wavelength of 2.4 GHz Wi-Fi?
Using λ = c/f = 299,792,458 / (2.4 × 10�) = 0.1249 m = 12.49 cm. This is why Wi-Fi antennas are often around 6 cm (half-wave) or 12.5 cm (full-wave).
Why do we use nanometers for visible light?
Because visible light wavelengths range from about 380 to 740 nm, so nanometers give convenient whole numbers. Using meters would give numbers like 5 × 10��, which are awkward.
Does wavelength change in water?
Yes, the wavelength shortens by the refractive index of water (about 1.33), so a 500 nm wave in air becomes about 376 nm in water. The frequency stays the same because it is determined by the source.
What is the difference between frequency and wavelength?
Frequency is the number of wave cycles per second (Hz), while wavelength is the physical distance between successive peaks (m). They are inversely proportional: as one increases, the other decreases.
Can I use this calculator for sound waves?
No, sound waves travel at about 343 m/s in air, not at the speed of light. Use the speed of sound in your medium instead. The formula shape is the same, but the constant is different.
Related
Formula used
in wl | Wavelength | nm | 500 | 0 in f | Frequency | THz | 600 | 0 out freq | Frequency | THz | (299792458 / (wl * 1e-9)) / 1e12 | 4 out wavl | Wavelength | nm | (299792458 / (f * 1e12)) * 1e9 | 1 out energy | Photon energy | eV | (6.62607015e-34 * (299792458 / (wl * 1e-9))) / 1.602176634e-19 | 3
Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work
Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.