# Frequency of Light Calculator

URL: https://speedycalculator.com/calculators/physics/frequency-of-light/
Last updated: 2026-11-08

> The frequency of light calculator converts between the wavelength and frequency of light (or any electromagnetic wave) in vacuum or a medium, gives the photon energy and identifies the part of the spectrum.

## Inputs

- Wavelength λ (nm, µm, mm, m, pm, Å)
- Refractive index of the medium

## Results

- Frequency f
- Photon energy
- Spectrum region (vacuum wavelength)

## Formula

```
f = v/λ,  v = c/n,  E = h·f
```

## Explanation

Visible light spans about 400–750 nm, or 400–750 THz. All electromagnetic waves (radio, microwaves, X-rays) travel at the speed of light and differ only in frequency and wavelength.

### How to use the Frequency of Light Calculator

- **Wavelength λ**
- **Refractive index of the medium**
- Every result field is editable: type into **Frequency f** and **Wavelength λ** plus every other field update to match.

Results update as you type, every field has its own unit menu, and everything is calculated in your browser.

### How it works

Enter the wavelength (or type a frequency into the result) and the refractive index of the medium (1 for vacuum).

### Inputs explained

FieldWhat to enterWavelength λUnits: nm, µm, mm, m, pm, ÅRefractive index of the mediumA number

### What each result means

- **Frequency f** = 299792458÷[Refractive index of the medium]÷[Wavelength λ]
- **Photon energy** = 6.62607015e-34×299792458÷[Refractive index of the medium]÷[Wavelength λ]

### Example values

How the main result changes when **Wavelength λ** changes and everything else stays at the example values above:

Wavelength λ (nm)Frequency f (THz)2751,090.1544412.5726.7696550545.0772687.5436.0618825363.38481,100272.5386

## Worked example

Inputs: Wavelength λ: 550 nm; Refractive index of the medium: 1.

Results: **Frequency f = 545.077196 THz**; Photon energy = 2.254258 eV; Spectrum region (vacuum wavelength) = Green.

## Key terms

- **Electromagnetic spectrum**: Range of all EM wave frequencies.

## FAQ

**What is the frequency of green light?**
About 545 THz at 550 nm.

**Does frequency change in glass?**
No. The wavelength shortens; frequency stays the same.

**Which colour has the highest frequency?**
Violet.

**Is radio a form of light?**
Yes, it is electromagnetic radiation at much lower frequency.


## Sources

- [OpenStax: University Physics Volume 3](https://openstax.org/details/books/university-physics-volume-3)
- [NIST: Fundamental physical constants](https://physics.nist.gov/cuu/Constants/)
