/

Photon Energy Calculator — E=hf, Wavelength to Energy & eV Converter

Photon Energy Calculator — E=hf, Wavelength to Energy & eV Converter
Quantum Physics Tool

Photon Energy Calculator

Calculate photon energy from frequency (E=hf), wavelength (E=hc/λ), or wavenumber — converting between Joules, electron volts, and all common energy, wavelength, and frequency units — with full step-by-step working and real-time electromagnetic spectrum classification.

⚡ Golden Shortcut Formula

E [eV] = 1239.84 / λ [nm]

The most practical photon energy formula — avoids carrying h and c separately. For λ=550 nm: E = 1239.84/550 = 2.254 eV instantly.

Photon Energy Calculator — E=hf · E=hc/λ · All Units
500 THz → green
2.45 GHz microwave
1 THz far-IR
3×10¹⁸ Hz X-ray
545 THz visible
550 nm green
700 nm red
450 nm blue
100 nm UV
0.1 nm X-ray
10 μm mid-IR
1550 nm telecom
3000 cm⁻¹ C-H stretch
1600 cm⁻¹ C=C
10000 cm⁻¹ near-IR
33333 cm⁻¹ UV
400 cm⁻¹ far-IR

Enter any one quantity — the calculator automatically detects the type from the unit and computes all other photon properties.

550 nm
2.45 GHz
2.255 eV
3000 cm⁻¹
3.31×10⁻¹⁹ J
1550 nm telecom
0.1 nm X-ray
Error
Electromagnetic Spectrum — Your Photon Position
γ-rayX-rayUV VisibleIRMicrowaveRadio
— Select a photon
Energy
Joules (J)
Electron volts (eV)
milli-eV (meV)
kilo-eV (keV)
Erg (CGS)
kJ/mol
Frequency
Hertz (Hz)
THz
GHz
Wavelength
nm
μm
Angstrom (Å)
pm
Wavenumber (cm⁻¹)
Momentum (kg·m/s)
Step-by-Step Working
Photon Energy Reference Tables
Table A — Photon Energy by Source / Wavelength
SourceWavelengthEnergy (eV)Energy (J)Region
AM radio300 m4.1×10⁻⁹6.6×10⁻²⁸Radio
Microwave oven12.2 cm1.0×10⁻⁵1.6×10⁻²⁴Microwave
Far infrared100 μm0.01242.0×10⁻²¹Far-IR
Body heat10 μm0.1242.0×10⁻²⁰Mid-IR
Near infrared1000 nm1.2401.99×10⁻¹⁹Near-IR
Red light700 nm1.7712.84×10⁻¹⁹Red
Green light550 nm2.2553.61×10⁻¹⁹Green
Blue light450 nm2.7554.41×10⁻¹⁹Blue
UV-A350 nm3.5425.68×10⁻¹⁹UV-A
UV-C (germicidal)254 nm4.8817.82×10⁻¹⁹UV-C
Vacuum UV100 nm12.401.99×10⁻¹⁸EUV
Soft X-ray10 nm124.01.99×10⁻¹⁷X-ray
Hard X-ray0.1 nm12,4001.99×10⁻¹⁵Hard X-ray
Gamma ray0.001 nm1.24 MeV1.99×10⁻¹³γ-ray
Table B — Shortcut Formulas for Photon Energy
ConvertFormulaExample
λ[nm] → E[eV]E = 1239.84/λ500 nm → 2.480 eV
E[eV] → λ[nm]λ = 1239.84/E2.0 eV → 619.9 nm
ν̃[cm⁻¹] → E[eV]E = ν̃ × 1.23984×10⁻⁴10000 cm⁻¹ → 1.240 eV
f[THz] → λ[μm]λ = 299.79/f100 THz → 3.0 μm
f[Hz] → E[J]E = 6.626×10⁻³⁴ × f5×10¹⁴ Hz → 3.31×10⁻¹⁹ J
λ[nm] → f[THz]f = 299792/λ550 nm → 545.1 THz
E[eV] → ν̃[cm⁻¹]ν̃ = E / 1.23984×10⁻⁴1.240 eV → 10000 cm⁻¹
Table C — Hz to Joules — Frequency to Energy Reference
FrequencyEnergy (Joules)Energy (eV)Region
1 Hz6.626×10⁻³⁴ J4.136×10⁻¹⁵ eVRadio
1 kHz6.626×10⁻³¹ J4.136×10⁻¹² eVRadio
100 MHz6.626×10⁻²⁶ J4.136×10⁻⁷ eVMicrowave
2.45 GHz1.624×10⁻²⁴ J1.014×10⁻⁵ eVMicrowave
1 THz6.626×10⁻²² J4.136×10⁻³ eVFar-IR
3×10¹³ Hz1.988×10⁻²⁰ J0.124 eVMid-IR
5×10¹⁴ Hz3.313×10⁻¹⁹ J2.068 eVYellow
7.5×10¹⁴ Hz4.970×10⁻¹⁹ J3.103 eVUV
3×10¹⁸ Hz1.988×10⁻¹⁵ J12,400 eVX-ray

Photon Energy Formula — E=hf and E=hc/λ

The photon energy formula comes in two equivalent forms. The first, E=hf, is the Planck-Einstein relation — the direct statement that photon energy is proportional to frequency. The second, E=hc/λ, uses the wave relation c=λf to express energy in terms of wavelength. Both are equally valid; the choice depends on which quantity you know.

E = hf    or equivalently    E = hc/λ h = 6.62607015×10⁻³⁴ J·s  |  c = 2.99792458×10⁸ m/s  |  λ in meters for SI

Where: h = Planck's constant = 6.626×10⁻³⁴ J·s (exact since 2019 SI redefinition), f = frequency in Hz, c = speed of light = 2.998×10⁸ m/s (exact), λ = wavelength in meters. The two formulas are equivalent because c = λf, so hf = h(c/λ) = hc/λ.

The Golden Shortcut: E[eV] = 1239.84 / λ[nm]
Derived from: E[eV] = hc[eV·nm] / λ[nm] = 1239.84 / λ[nm]. This avoids carrying h and c separately and gives exact results. For green light at 550 nm: E = 1239.84/550 = 2.254 eV. Memorise this formula — it is the most practical photon energy formula in all of optics and photonics.

Derivation of E[eV] = 1239.84/λ[nm]

Starting from E = hc/λ in SI units: hc = (6.626×10⁻³⁴ J·s)(2.998×10⁸ m/s) = 1.986×10⁻²⁵ J·m. To get eV·nm: divide by eV = 1.602×10⁻¹⁹ J, multiply by 10⁹ nm/m. Result: hc = 1239.84 eV·nm. So E[eV] = 1239.84/λ[nm]. The number 1239.84 is exact to 6 significant figures.

How to Calculate Photon Energy — Step-by-Step

Two calculation paths — from frequency using E=hf, or from wavelength using E=hc/λ or the shortcut. Both paths always include unit conversion and verification.

Example 1 — Green Light: λ = 550 nm

  1. Convert to SI: λ = 550 nm = 550×10⁻⁹ m = 5.50×10⁻⁷ m
  2. Apply E=hc/λ: E = (6.626×10⁻³⁴ × 2.998×10⁸) / 5.50×10⁻⁷
  3. Calculate: E = 1.986×10⁻²⁵ / 5.50×10⁻⁷ = 3.610×10⁻¹⁹ J
  4. Shortcut check: E = 1239.84/550 = 2.254 eV
  5. Frequency: f = c/λ = 2.998×10⁸/5.50×10⁻⁷ = 5.451×10¹⁴ Hz = 545.1 THz
  6. Classification: Green light (visible spectrum, 495-570 nm)

Example 2 — UV-C Germicidal: λ = 254 nm

  1. Convert: λ = 254×10⁻⁹ m
  2. Shortcut: E = 1239.84/254 = 4.881 eV
  3. In Joules: 4.881 × 1.602×10⁻¹⁹ = 7.820×10⁻¹⁹ J
  4. Frequency: f = 2.998×10⁸/254×10⁻⁹ = 1.180×10¹⁵ Hz = 1180 THz
  5. Classification: UV-C — germicidal radiation (dangerous to DNA)

Example 3 — Telecom Laser: λ = 1550 nm

  1. Shortcut: E = 1239.84/1550 = 0.800 eV
  2. In Joules: 0.800 × 1.602×10⁻¹⁹ = 1.282×10⁻¹⁹ J
  3. Classification: Near-infrared (fiber optic telecommunications band)

Example 4 — Hard X-ray: λ = 0.1 nm

  1. Shortcut: E = 1239.84/0.1 = 12,398 eV = 12.4 keV
  2. In Joules: 12,398 × 1.602×10⁻¹⁹ = 1.986×10⁻¹⁵ J
  3. Classification: Hard X-ray (medical imaging, crystallography)

Example 5 — Microwave Oven: f = 2.45 GHz

  1. Convert to Hz: f = 2.45 GHz = 2.45×10⁹ Hz
  2. Apply E=hf: E = 6.626×10⁻³⁴ × 2.45×10⁹ = 1.623×10⁻²⁴ J
  3. In eV: 1.623×10⁻²⁴ / 1.602×10⁻¹⁹ = 1.014×10⁻⁵ eV
  4. Wavelength: λ = c/f = 2.998×10⁸/2.45×10⁹ = 0.1224 m = 12.24 cm
  5. Classification: Microwave (resonates with water molecules)

Hz to Joules — Frequency to Energy Conversion

To convert Hz to Joules, use the photon energy formula E=hf where h = 6.626×10⁻³⁴ J·s (Planck's constant). The formula E=hf directly gives photon energy in Joules when frequency is in Hz. Multiply the frequency in Hz by Planck's constant: E[J] = 6.626×10⁻³⁴ × f[Hz].

Notice how incredibly small Planck's constant is: 1 Hz corresponds to only 6.626×10⁻³⁴ J — essentially unmeasurable for a single photon. This is why optical photons at ~5×10¹⁴ Hz still have energies of only ~10⁻¹⁹ J, and why we prefer electron volts for practical photon energy calculations.

Key insight: Energy is directly proportional to frequency (E=hf). Double the frequency → double the energy. A UV photon at 6×10¹⁴ Hz has exactly twice the photon energy of an infrared photon at 3×10¹⁴ Hz. This direct proportionality is the essence of quantum mechanics — photon energy is quantized in discrete packets of hf.

Photon Energy in Electron Volts (eV)

Electron volts are the preferred unit for photon energy in physics because the numbers are human-scale. Visible light photons carry roughly 2-3 eV — numbers you can reason with. The same photons in Joules give 10⁻¹⁹ J — requiring scientific notation and offering no intuition.

Conversion: 1 eV = 1.602176634×10⁻¹⁹ J (exact since 2019 SI redefinition). So 1 J = 6.242×10¹⁸ eV.

EM RegionWavelength RangePhoton Energy (eV)Key Application
Radio>1 mm<1.24×10⁻³ eVBroadcasting
Microwave1 mm–1 m1.24×10⁻⁶–1.24×10⁻³ eVRadar, cooking
Infrared700 nm–1 mm1.24×10⁻³–1.77 eVThermal imaging
Visible light380–750 nm1.65–3.26 eVHuman vision
UV10–380 nm3.26–124 eVSterilisation, lithography
X-ray0.01–10 nm124 eV–124 keVMedical imaging
Gamma ray<0.01 nm>124 keVNuclear medicine

Key benchmark: Si semiconductor bandgap = 1.12 eV → photons with λ < 1107 nm can excite electrons (solar cells). GaAs bandgap = 1.42 eV → λ < 873 nm. Peak solar spectrum ≈ 2.0 eV = 620 nm — orange light. The 1239.84 eV·nm shortcut makes all these calculations instant.

Wavelength to Frequency — The c=λf Relationship

The speed of light c = λf connects wavelength and frequency. Rearranging: f = c/λ (frequency from wavelength) and λ = c/f (wavelength from frequency). Always convert wavelength to meters before using SI formulas.

f = c/λ     λ = c/f     c = 2.99792458×10⁸ m/s λ must be in meters for SI calculation — or use the shortcut λ[μm] = 299.79/f[THz]

Optical frequencies are enormous: 550 nm green light oscillates at 545 THz = 5.45×10¹⁴ Hz. Historically, wavelength was easier to measure than frequency (using diffraction gratings), which is why the optics community standardised on nanometers rather than terahertz. Modern frequency combs can now measure optical frequencies directly, but nm remains the dominant unit.

Wavenumber to Energy — Spectroscopy Units

Wavenumber ν̃ (cm⁻¹, pronounced "reciprocal centimeters" or "inverse centimeters") = 1/λ[cm] = the number of wavelengths per centimeter. It is directly proportional to energy — doubling the wavenumber doubles the photon energy. Used universally in IR and Raman spectroscopy.

The wavenumber shortcut: E[eV] = ν̃[cm⁻¹] × 1.23984×10⁻⁴. For IR spectroscopy, the standard range is 400–4000 cm⁻¹ (mid-IR). C-H stretches appear near 3000 cm⁻¹ (3.33 μm), C=O stretches near 1700 cm⁻¹ (5.88 μm).

Example: ν̃ = 3000 cm⁻¹ (C-H stretch)

  1. λ = 1/3000 cm = 3.333×10⁻⁴ cm = 3333 nm = 3.333 μm
  2. Shortcut: E = 1239.84/3333 = 0.3720 eV
  3. Wavenumber shortcut: E = 3000 × 1.23984×10⁻⁴ = 0.3720 eV ✓
  4. Frequency: f = c × ν̃[m⁻¹] = 2.998×10⁸ × 3×10⁴ = 8.994×10¹² Hz = 89.9 THz

Why spectroscopists prefer cm⁻¹: the same photon can be described as ν̃ = 3000 cm⁻¹, E = 0.372 eV, or f = 90 THz. The wavenumber 3000 is the most convenient number — not too large, not too small. Proportional to energy (unlike wavelength), which makes comparing spectral features intuitive.

Electromagnetic Spectrum — Energy Ranges by Region

The full electromagnetic spectrum spans over 20 orders of magnitude in frequency. All regions follow the same photon energy formula E=hf — the only difference is the frequency (and therefore wavelength) of the photon. Higher frequency = shorter wavelength = MORE energy per photon.

EM RegionWavelengthFrequencyPhoton Energy (eV)Photon Energy (J)
Gamma rays<0.01 nm>3×10¹⁹ Hz>100 keV>1.6×10⁻¹⁴ J
X-rays0.01–10 nm3×10¹⁶–3×10¹⁹ Hz100 eV–100 keV1.6×10⁻¹⁷–1.6×10⁻¹⁴ J
Ultraviolet10–380 nm7.9×10¹⁴–3×10¹⁶ Hz3.26–124 eV5.2×10⁻¹⁹–2×10⁻¹⁷ J
Visible380–750 nm4.0–7.9×10¹⁴ Hz1.65–3.26 eV2.6–5.2×10⁻¹⁹ J
Infrared750 nm–1 mm3×10¹¹–4×10¹⁴ Hz1.24 meV–1.65 eV2×10⁻²²–2.6×10⁻¹⁹ J
Microwave1 mm–1 m3×10⁸–3×10¹¹ Hz1.24 μeV–1.24 meV2×10⁻²⁵–2×10⁻²² J
Radio waves>1 m<3×10⁸ Hz<1.24 μeV<2×10⁻²⁵ J

Gamma rays are dangerous because each photon carries MeV-scale energies — enough to ionize atoms, break chemical bonds, and damage DNA. Radio wave photons carry nanoelectron volt energies — billions of them pass through your body every second with no biological effect because no individual photon has enough energy to cause ionization.

Photon Momentum — p = h/λ

Photons carry momentum despite having zero mass. The de Broglie relation gives photon momentum as p = h/λ = E/c = hf/c. For green light at 550 nm:

Photon Momentum Calculation: λ = 550 nm (green)

  1. p = h/λ = 6.626×10⁻³⁴ / (550×10⁻⁹) = 1.205×10⁻²⁷ kg·m/s
  2. Verify via E/c: E = 3.610×10⁻¹⁹ J, p = 3.610×10⁻¹⁹ / 2.998×10⁸ = 1.204×10⁻²⁷ kg·m/s ✓

Applications of photon momentum: radiation pressure (light exerts force on surfaces — used in laser cooling), optical tweezers (momentum transfer traps microscopic particles — Nobel Prize 2018), solar sails (proposed spacecraft propulsion using sunlight pressure).

Common Mistakes in Photon Energy Calculations

Mistake 1 — Wavelength in nm instead of meters in E=hc/λ

  • ❌ Wrong: E = hc/550 (using nm directly)
  • ✅ Correct: E = hc/(550×10⁻⁹) — must use meters for SI formula
  • Or: Use the shortcut E[eV] = 1239.84/550 = 2.254 eV — no unit conversion needed

Mistake 2 — Confusing f (frequency) with ω (angular frequency)

  • ❌ Wrong: Using E = hω (where ω is in rad/s)
  • ✅ Correct E=hf uses ordinary frequency f in Hz. For angular frequency: E = ℏω where ℏ = h/(2π) = 1.055×10⁻³⁴ J·s
  • ω = 2πf, so ℏω = (h/2π)(2πf) = hf ✓ — both are equivalent but use different constants

Mistake 3 — Using ℏ instead of h in E=hf

  • ❌ Wrong: E = ℏf (off by factor of 2π ≈ 6.28)
  • ✅ Correct: E = hf with h = 6.626×10⁻³⁴ J·s (not ℏ = 1.055×10⁻³⁴ J·s)
  • Use ℏ only with angular frequency: E = ℏω

Mistake 4 — Wrong wavenumber convention

  • ❌ Wrong: ν̃ = 1/λ[m] giving ν̃ in m⁻¹
  • ✅ Correct: Standard spectroscopy uses ν̃ = 1/λ[cm] in cm⁻¹ (3000 cm⁻¹, not 3×10⁵ m⁻¹)
  • The shortcut E[eV] = ν̃[cm⁻¹] × 1.23984×10⁻⁴ only works with cm⁻¹

Mistake 5 — Confusing photon energy with beam intensity

  • ❌ Wrong: "A 1 W green laser has E = 2.25 eV"
  • ✅ Correct: Each photon has E = 2.25 eV, but the beam contains many photons/second
  • Power [W] = photons/second × energy/photon: 1 W at 550 nm → 1/3.61×10⁻¹⁹ = 2.77×10¹⁸ photons/second

Frequently Asked Questions

What is the formula for photon energy?
The photon energy formula is E = hf (Planck-Einstein relation), where h = 6.626×10⁻³⁴ J·s and f is frequency in Hz. Equivalently E = hc/λ using wavelength. The most practical shortcut: E[eV] = 1239.84/λ[nm]. All three forms give the same photon energy — choose based on which quantity you know.
How do you calculate photon energy from wavelength?
Use E = hc/λ with λ in meters: E = (6.626×10⁻³⁴ × 2.998×10⁸) / λ[m]. Or use the golden shortcut E[eV] = 1239.84/λ[nm] which avoids unit conversion entirely. For 550 nm green light: E = 1239.84/550 = 2.254 eV = 3.609×10⁻¹⁹ J.
What is the photon energy in electron volts for visible light?
Visible light photon energies: Red (700 nm) = 1.771 eV, Orange (620 nm) = 2.0 eV, Yellow (580 nm) = 2.14 eV, Green (550 nm) = 2.254 eV, Blue (450 nm) = 2.755 eV, Violet (400 nm) = 3.10 eV. Range: approximately 1.65–3.26 eV for all visible light (380–750 nm). Use E[eV] = 1239.84/λ[nm] for any visible wavelength.
How do you convert Hz to Joules?
Multiply frequency in Hz by Planck's constant: E[J] = 6.626×10⁻³⁴ × f[Hz]. This is the E=hf formula for photon energy. Example: 5×10¹⁴ Hz → E = 6.626×10⁻³⁴ × 5×10¹⁴ = 3.313×10⁻¹⁹ J = 2.068 eV (orange/yellow visible light).
What is wavenumber and how is it related to energy?
Wavenumber (ν̃, cm⁻¹) = 1/λ[cm] — the reciprocal of wavelength in centimeters. It is directly proportional to photon energy: E[eV] = ν̃[cm⁻¹] × 1.23984×10⁻⁴. Standard IR spectroscopy uses 400–4000 cm⁻¹. For 3000 cm⁻¹ (C-H stretch): λ = 3333 nm, E = 0.372 eV. Spectroscopists prefer cm⁻¹ because the numbers are convenient and directly proportional to energy.
What is Planck's constant?
Planck's constant h = 6.62607015×10⁻³⁴ J·s, exact since the 2019 SI redefinition. It links photon energy to frequency: E = hf. The reduced Planck's constant ℏ = h/(2π) = 1.054571817×10⁻³⁴ J·s is used with angular frequency: E = ℏω. Planck's constant sets the fundamental scale of quantum mechanics — it determines the minimum "packet" size of energy.
How do you convert wavelength to frequency?
Use f = c/λ where c = 2.99792458×10⁸ m/s and λ is in meters. Convert nm to m by multiplying by 10⁻⁹. Example: 550 nm = 550×10⁻⁹ m → f = 2.998×10⁸/550×10⁻⁹ = 5.451×10¹⁴ Hz = 545.1 THz. Shortcut: f[THz] = 299,792/λ[nm].

Related Calculators

Physical Constants
Planck's constant (h)
6.62607015×10⁻³⁴ J·s
Exact since 2019 SI redefinition
Speed of light (c)
2.99792458×10⁸ m/s
Exact — defines the meter
1 electron volt (eV)
1.602176634×10⁻¹⁹ J
Exact since 2019
ℏ = h/2π
1.054571817×10⁻³⁴ J·s
Reduced Planck's constant
hc (J·m)
1.98644568×10⁻²⁵ J·m
h × c product
hc (eV·nm)
1239.84193 eV·nm
Golden shortcut constant
Quick Formulas
E = hf  (Planck-Einstein) h = 6.626×10⁻³⁴ J·s, f in Hz
E = hc/λ λ MUST be in meters for SI
E[eV] = 1239.84/λ[nm] ★ Golden shortcut — most useful!
f = c/λ  |  λ = c/f c = 2.998×10⁸ m/s
E[eV] = ν̃ × 1.23984×10⁻⁴ ν̃ in cm⁻¹ (spectroscopy)
p = h/λ = E/c Photon momentum
1 eV = 1.602×10⁻¹⁹ J Electron volt conversion
Quick Calculations
550 nm → 2.254 eV (green)
700 nm → 1.771 eV (red)
450 nm → 2.755 eV (blue)
254 nm → 4.881 eV (UV-C)
1550 nm → 0.800 eV (telecom)
2.45 GHz microwave
0.1 nm → 12.4 keV (X-ray)
3000 cm⁻¹ IR spectroscopy

Share This Tool

Share the Photon Energy Calculator with students and researchers!

Free chemistry, physics, biology & math calculators with step-by-step solutions. Trusted by 100,000+ students. Solve any science problem instantly!

Newsletter

Subscribe to our Newsletter to be updated. We promise not to spam.

Copyright © 2026 SciSolveLab. All Rights Reserved

Scroll to Top