ThisCalculator

Everyday

Light Frequency from Wavelength: Formula & Calculator

Updated · Standard formula, shown below

The calculator for this page is switched off while it is checked. The formula is below, and the worked example in the article shows how to use it by hand.

This calculator converts a light wavelength into its corresponding frequency using the speed of light. You enter the wavelength in meters (or nanometers, which the calculator converts automatically), and it returns the frequency in hertz (Hz). The formula is f = c / λ, where c is the speed of light in a vacuum (exactly 299,792,458 m/s) and λ is the wavelength.

Formula

The relationship between wavelength and frequency for any wave is:

f = c / λ

  • f = frequency, in hertz (Hz) — the number of wave cycles per second.
  • c = speed of light in a vacuum, exactly 299,792,458 meters per second (m/s).
  • λ (lambda) = wavelength, in meters (m) — the distance between two consecutive wave peaks.

Because the speed of light is constant, a longer wavelength means a lower frequency, and a shorter wavelength means a higher frequency. The product of frequency and wavelength always equals the speed of light: f × λ = c.

Worked Example

Using the calculator’s default value of 550 nm (green light):

  1. Convert nanometers to meters: 550 nm = 550 × 10⁻⁹ m = 5.5 × 10⁻⁷ m.
  2. Apply the formula: f = 299,792,458 / (5.5 × 10⁻⁷).
  3. Compute: f ≈ 5.45 × 10¹⁴ Hz.

The calculator shows 545,077,196,363.64 Hz, which is the same as 5.45 × 10¹⁴ Hz. This is the frequency of green light, roughly in the middle of the visible spectrum.

Why Wavelength and Frequency Matter

Light behaves as both a wave and a particle. The wave picture gives us wavelength and frequency, which together determine the color of visible light and the type of electromagnetic radiation overall. The electromagnetic spectrum spans from radio waves (meters to kilometers long) to gamma rays (smaller than an atomic nucleus).

Knowing the frequency is essential in many fields:

  • Telecommunications – radio and Wi-Fi frequencies are assigned based on wavelength bands.
  • Spectroscopy – identifying elements and molecules by the frequencies they absorb or emit.
  • Astronomy – measuring the redshift or blueshift of light from distant objects.
  • Medicine – laser therapies and imaging techniques rely on specific frequencies.

How to Use the Calculator

Enter the wavelength in nanometers (nm) or meters (m). The calculator accepts any positive number. For example:

  • Visible red light: about 700 nm → frequency ≈ 4.28 × 10¹⁴ Hz.
  • Visible violet light: about 400 nm → frequency ≈ 7.49 × 10¹⁴ Hz.
  • Wi-Fi signal (2.4 GHz band): wavelength ≈ 12.5 cm → frequency = 2.4 × 10⁹ Hz.

The output is given in hertz, which is a very large number for visible light. You can also see the period (the time for one full wave cycle) in seconds, which is the reciprocal of frequency.

Common Mistakes and How to Avoid Them

The most frequent error is mixing up units. Wavelength is often given in nanometers (nm), micrometers (µm), or even angstroms (Å). Always convert to meters before plugging into the formula:

  • 1 nm = 10⁻⁹ m
  • 1 µm = 10⁻⁶ m
  • 1 Å = 10⁻¹⁰ m

Another mistake is using the speed of light in a medium (like glass or water) instead of in a vacuum. The formula above uses the vacuum speed. In a medium, the speed is lower, so the frequency remains the same but the wavelength shortens. If you need the frequency in a material, you still use the vacuum speed because the frequency is unchanged — only the wavelength changes.

Finally, be careful with scientific notation. A frequency like 5.45 × 10¹⁴ Hz is often written as 545 THz (terahertz). The calculator gives the full number, but you may want to convert to THz for readability: divide by 10¹².

Limits of the Formula

The simple formula f = c / λ assumes the wave is traveling in a vacuum. In air, the speed is only slightly less than in a vacuum (about 0.03% slower), so for most practical purposes the vacuum value is accurate enough. For extremely high-precision work, you would need to account for the refractive index of air.

The formula also assumes a monochromatic wave — a single, pure frequency. Real light sources often emit a range of wavelengths. For example, an LED might have a peak wavelength but also a spread of other wavelengths around it. In that case, the calculator gives you the frequency corresponding to the peak wavelength, not the entire spectrum.

For very short wavelengths (like gamma rays), the frequency becomes enormous, but the formula still works. There is no upper or lower limit in classical physics.

Frequently Asked Questions

How do I convert wavelength to frequency if the wavelength is in nanometers?

First convert nanometers to meters by multiplying by 10⁻⁹. Then divide the speed of light (299,792,458 m/s) by that value. For example, 500 nm becomes 5 × 10⁻⁷ m, and the frequency is 299,792,458 / (5 × 10⁻⁷) ≈ 6.0 × 10¹⁴ Hz.

What is the frequency of red light?

Red light has a wavelength range of about 620–750 nm. Using a typical value of 700 nm, the frequency is about 4.3 × 10¹⁴ Hz. The exact frequency depends on the specific shade of red.

Why is frequency usually given in hertz for light?

Hertz is the SI unit for frequency, defined as one cycle per second. For visible light, the frequency is in the hundreds of terahertz, so you’ll often see it written as 5.45 × 10¹⁴ Hz or 545 THz. Both are correct.

Does the frequency change when light enters water or glass?

No. The frequency of light remains the same when it passes from one medium to another. What changes is the speed and the wavelength. The speed decreases, and the wavelength shortens, but the frequency stays constant because it is determined by the source.

Can I calculate wavelength from frequency using the same formula?

Yes. Rearrange the formula to λ = c / f. If you know the frequency, divide the speed of light by it to get the wavelength in meters. For example, a 100 MHz radio wave has a wavelength of 299,792,458 / 100,000,000 ≈ 3 meters.

Related

Formula used
in wl | Wavelength | nm | 550 | 0
out freq | Frequency | Hz | 299792458 / (wl / 1e9) | 2
out period | Period | s | (wl / 1e9) / 299792458 | 3e-15

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.