Frequency Of Light Calculator - Wavelength, Photon Energy, Color Band

Frequency of light calculator turns a wavelength in nm, a frequency in Hz, or a photon energy in eV into the other two values plus the visible-light color band.

Frequency Of Light Calculator

Enter the wavelength. The unit selector next to this field controls nm, µm, or metres.

Pick the unit that matches the wavelength value above. Internally converted to metres before frequency is calculated.

Enter the frequency. The unit selector next to this field controls Hz, kHz, MHz, GHz, or THz.

Pick the unit that matches the frequency value above. Internally converted to hertz before wavelength is calculated.

Enter the photon energy. The unit selector next to this field controls eV or joules.

Pick the unit that matches the photon energy value above. Internally converted to joules before frequency is calculated.

Choose which value you already have. The other two values are recomputed automatically.

Results

Frequency
0Hz
Wavelength 0nm
Wavelength (micrometres) 0µm
Photon Energy 0eV
Photon Energy (joules) 0J
Visible Color Band 0

What Is the Frequency of Light Calculator?

A frequency of light calculator turns one optical quantity into the other two so a wavelength, frequency, and photon energy always agree on the same beam of light. Enter any one and the calculator reports the rest, including the visible color band. It is built for physics students, lab technicians, and engineers.

  • Spectroscopy and optics problems: Move between wavelength, frequency, and photon energy when reading laser spec sheets or solving textbook questions about the visible spectrum.
  • Photon energy and frequency checks: Convert electron-volt photon energies used in photodiode and solar cell datasheets into the matching frequency or wavelength in nanometres.
  • Communication band planning: Translate microwave and radar frequencies into free-space wavelength for antenna and link-budget work.
  • Color identification: Use the visible color band label as a quick sanity check that the entered wavelength matches the color the problem statement describes.

Light is an electromagnetic wave, so its frequency in hertz, wavelength in metres, and photon energy in joules are three views of the same quantity. The conversion is exact and depends on two constants: the speed of light in vacuum (SI definition of the metre) and the Planck constant (SI definition of the kilogram).

The calculator also catches unit mistakes. Wavelengths in nm and energies in eV need conversion to SI before c = λ f applies. The calculator handles nm, µm, m, Hz, kHz, MHz, GHz, THz, eV, and J, so the user does not convert by hand.

For the next step into wave mechanics, plug the result into the Harmonic Wave Equation Calculator so a wavelength and frequency pair turn into the full wave function.

How the Frequency of Light Calculator Works

The calculator reads the chosen input mode, converts the entered value to SI base units, applies c = λ f to derive the missing frequency and wavelength, then uses E = h f for photon energy. The visible color band is read off the final wavelength in nm.

f = c / λ, λ = c / f, E = h · f
  • f: Frequency of the light in hertz (cycles per second).
  • λ: Wavelength of the light in metres; nm and µm are converted to metres internally.
  • c: Speed of light in vacuum, exactly 299,792,458 m/s by the SI definition of the metre.
  • E: Energy of a single photon in joules; electron volts convert via 1 eV = 1.602176634 × 10⁻¹⁹ J.
  • h: Planck constant, exactly 6.62607015 × 10⁻³⁴ J·s, connecting photon energy and frequency.

When the input mode is wavelength, the calculator multiplies the entered value by the unit factor (1 nm = 10⁻⁹ m, 1 µm = 10⁻⁶ m, 1 m = 1 m) to get λ in metres, then divides c by λ to obtain f in hertz. Photon energy is E = h f, and the visible color band is selected from λ in nm using fixed intervals for violet, blue, cyan, green, yellow, orange, and red.

When the input mode is frequency, the calculator multiplies by the frequency factor (Hz, kHz, MHz, GHz, THz) to obtain f in hertz, then divides c by f to obtain λ in metres and nm. Photon energy follows from the same E = h f. When the input mode is photon energy, the calculator first converts eV to joules if needed, then divides by h to obtain f, then divides c by f to obtain λ.

Green light at 550 nm

Wavelength input = 550 nm with the unit selector left at nm and the input mode set to wavelength.

f = c / λ = 299,792,458 / (550 × 10⁻⁹) = 5.4508 × 10¹⁴ Hz. E = h f = 6.626 × 10⁻³⁴ × 5.4508 × 10¹⁴ = 3.611 × 10⁻¹⁹ J = 2.254 eV.

f = 545.08 THz, λ = 550 nm, E = 2.254 eV, color band = Green.

Matches the textbook value for green light and confirms the photopic peak near 555 nm.

HeNe laser at 633 nm

Wavelength input = 633 nm, input mode set to wavelength.

f = 299,792,458 / (633 × 10⁻⁹) = 4.7361 × 10¹⁴ Hz. E = h f = 3.138 × 10⁻¹⁹ J = 1.959 eV.

f = 473.61 THz, λ = 633 nm, E = 1.959 eV, color band = Red.

Confirms the visible color of a HeNe lab laser.

According to the BIPM SI Brochure, the speed of light in vacuum is defined to be exactly 299,792,458 m/s, so c = λ f gives the frequency of any vacuum light wave from its wavelength with no hidden uncertainty.

Once a frequency is in hertz, the Angular Frequency Calculator converts the same motion into omega in radians per second for SHM and AC circuit formulas.

Key Concepts Explained

Four ideas connect the numbers the calculator reports: what a light wave is, why the speed of light is fixed, how frequency and wavelength trade against each other, and what photon energy represents.

Electromagnetic wave

Light is an oscillating electric and magnetic field that propagates at c. Frequency f counts oscillations per second; wavelength λ is the distance between consecutive peaks.

Speed of light in vacuum

The speed of light in vacuum is exactly 299,792,458 m/s by the SI definition of the metre. c = λ f is precise with no hidden uncertainty beyond the input.

Frequency and wavelength trade-off

Multiplying c by λ gives the same product for any vacuum light: a longer wavelength always means a lower frequency, and vice versa.

Photon energy

Light can also be described as photons whose energy E in joules equals h f. For visible light E is small (around 1.8 to 3.3 eV); the same formula covers radio waves to gamma rays.

When the light comes from a hydrogen transition, the Rydberg Equation Calculator uses the same wavelength and frequency pair to identify which spectral line is being observed.

How to Use This Calculator

Pick the input you already have, enter its value with the right unit, and read the three derived outputs with the visible color band label.

  1. 1 Choose the input type: Use the Input Type dropdown to select Wavelength, Frequency, or Photon Energy depending on which value is already known.
  2. 2 Enter the value with its unit: Type the wavelength in nm, µm, or m; the frequency in Hz, kHz, MHz, GHz, or THz; or the photon energy in eV or J.
  3. 3 Read the frequency row: The primary result is the frequency in hertz. Use this value directly when the next formula expects f, such as E = h f.
  4. 4 Read the wavelength and photon energy rows: Wavelengths show nm and µm; photon energies show eV and J. Cross-check against any wavelength or energy already given.
  5. 5 Switch input mode to cross-check: Toggle the Input Type dropdown and re-enter the matching value. The result panel should stay consistent because c = λ f is exact.

For a 633 nm HeNe laser line, set Input Type to Wavelength, type 633, leave the unit at nm, and read f = 473.61 THz, E = 1.959 eV, Red on the color band.

For high-energy photons where the wave picture bends, the Compton Wavelength Calculator extends the same wavelength and frequency pair into the Compton shift.

Benefits of Using This Calculator

The calculator replaces three unit conversions with one read, keeps the answers consistent across hertz, metres, and joules, and labels the visible color so the frequency of light result matches the language of optics problems.

  • One panel, three answers: Enter any one of wavelength, frequency, or photon energy and read the other two in the same panel, with no need to chain separate nm-to-Hz and eV-to-J converters.
  • Built-in unit safety: Wavelength and frequency unit selectors handle nm, µm, m, Hz, kHz, MHz, GHz, and THz, removing the most common error of mixing nanometres with hertz.
  • Visible color label: A color band row labels wavelengths in the 380 to 700 nm range as violet, blue, cyan, green, yellow, orange, or red, so the answer can be matched to the color named in a problem.
  • SI-exact constants: The internal speed of light and Planck constant are SI-defined exact values, so the calculator matches the precision of NIST-traceable lab tools and textbooks.
  • Quick problem sanity check: Switching between the three input modes recomputes the same answers, so a misplaced decimal or wrong unit factor stands out immediately.

Factors That Affect Your Results

The c = λ f relation is exact, so most wrong answers come from the input side: a mismatched unit or an in-medium wavelength.

Medium refractive index

Inside glass or water, light slows by the refractive index n, so the wavelength shrinks by the same factor while frequency stays the same. The calculator reports vacuum wavelength; pair it with a refractive-index aware tool for in-medium work.

Unit selector mismatch

Typing 633 into the wavelength field with the unit set to µm instead of nm shifts the answer by a factor of 1000. Unit dropdowns are the most common source of large errors.

Energy unit eV vs joules

A photon energy entered as 2 in eV is 2 eV ≈ 3.204 × 10⁻¹⁹ J, not 2 J. Keeping the eV/joule selector correct is the difference between visible red and microwave frequencies.

Source linewidth and coherence

Real light sources have non-zero linewidth, so a single frequency is always a simplification. The calculator treats the source as monochromatic, the standard textbook assumption.

Numerical precision

Visible-light frequencies sit around 10¹⁴ to 10¹⁵ Hz, so rounding an input wavelength changes the visible THz value only at the third significant figure. Keep a few extra digits during intermediate steps.

  • The calculator assumes a vacuum wavelength. In-medium wavelengths need to be divided by the refractive index n before being used as input.
  • The visible color band is a coarse label based on fixed wavelength intervals. Real perceived color depends on the photopic luminosity function and the observer, so the band label is a teaching aid, not a substitute for spectral measurements.

According to OpenStax University Physics Volume 3, the index of refraction n = c / v describes how the speed of light changes inside a transparent medium, so the in-medium wavelength shrinks by a factor of n while the frequency stays the same.

According to NIST CODATA, the Planck constant h = 6.62607015 × 10⁻³⁴ J·s lets a photon energy in joules be converted to a frequency by f = E / h, the same exact value the calculator uses internally.

When the light enters glass or water, the wavelength shortens inside the medium, and the Angle of Refraction Calculator tracks how the bending angle depends on the new wavelength.

Frequency of light calculator showing wavelength, frequency, photon energy, and visible color band results
Frequency of light calculator showing wavelength, frequency, photon energy, and visible color band results

Frequently Asked Questions

Q: What formula does the frequency of light calculator use?

A: The frequency of light calculator uses f = c / λ, where c is the speed of light in vacuum (299,792,458 m/s by SI definition) and λ is the wavelength. The same relationship rearranges to λ = c / f when frequency is the input. Photon energy uses f = E / h with the Planck constant h = 6.62607015 × 10⁻³⁴ J·s.

Q: How do you convert wavelength to frequency of light?

A: Divide the speed of light by the wavelength. For 550 nm green light, the result is 299,792,458 / (550 × 10⁻⁹) ≈ 5.45 × 10¹⁴ Hz, which is 545 THz. The calculator handles the unit conversion and the division in one step.

Q: How do you find the frequency of light from photon energy?

A: Divide the photon energy in joules by the Planck constant. A 2 eV photon has energy 3.204 × 10⁻¹⁹ J, so f = 3.204 × 10⁻¹⁹ / 6.626 × 10⁻³⁴ ≈ 4.836 × 10¹⁴ Hz, which corresponds to about 620 nm of orange light.

Q: What is the frequency of visible light?

A: Visible light runs from about 380 nm (violet) to 700 nm (red). The corresponding frequencies are roughly 7.89 × 10¹⁴ Hz down to 4.28 × 10¹⁴ Hz, or about 789 THz to 428 THz. Below 380 nm the light is ultraviolet; above 700 nm it is infrared.

Q: Why does the calculator show a visible color band?

A: Many textbook problems describe a light source by its color rather than by a wavelength. The calculator labels any wavelength in the 380 to 700 nm range as violet, blue, cyan, green, yellow, orange, or red so the result is easier to read against a problem statement.

Q: Does the frequency of light change in glass or water?

A: No. Frequency is set by the source and stays the same when light crosses into a different medium. What changes is the speed and the wavelength, so the wavelength in glass is shorter than in vacuum by a factor of the refractive index. The calculator reports the vacuum wavelength; for refraction work, use a refractive-index aware tool.