Your country

Tools that support it use your country for local currency, number formats, units and paper size. Your choice is saved only in this browser.

Type a name or a two-letter code. Use the up and down arrow keys to move through the countries, Enter to choose one and Escape to close.

Wavelength, Frequency & Photon Energy Calculator

λ, f, T, wavenumber and photon energy for light or sound — with the band and colour.

Science No upload Works offline Free, no sign-up
Wave
Light wavelengths are usually quoted in vacuum (in air they differ by 0.03 %).
Photons per second optional — from the power
The light actually emitted (a laser’s output power), not the electrical power drawn.
Frequency —

Where it is in the spectrum

    How it was worked out

    Next steps

    About the Wavelength, Frequency & Photon Energy Calculator

    Every wave obeys v = f λ: speed equals frequency times wavelength. For light and every other electromagnetic wave the speed in vacuum is exactly c = 299,792,458 m/s, and each photon carries an energy E = h f = hc ÷ λ. Type any one of wavelength, frequency, period, wavenumber or photon energy and the calculator gives all the others — energy in joules, electronvolts and kJ per mole of photons — plus the photon momentum, the equivalent temperature E/k and, with a power, the number of photons per second.

    It names the part of the spectrum using the ISO 21348 categories (gamma rays to radio, with UV-A/B/C and IR-A/B/C) and, for radio frequencies, the ITU band (VHF, UHF, SHF…). Visible wavelengths come with an approximate colour swatch. Choose a medium — water, glass, diamond or a refractive index or dielectric constant of your own — to get the wavelength and speed inside it. A Sound mode does the same for sound in air at any temperature or in other materials, and names the nearest musical note.

    How to use it

    1. Choose Light & EM waves or Sound.
    2. Pick what you know (wavelength, frequency, photon energy, wavenumber or period), type it and choose its unit.
    3. For light in a material, choose the medium or enter its refractive index or dielectric constant, and say whether your wavelength was measured in vacuum or inside the material.
    4. For sound, choose air (and its temperature) or another material.
    5. Read the results, the band and colour or the musical note, and the working; copy the summary if you need it.

    Examples

    Green laser pointer
    Input
    532 nm
    Result
    f = 563.5 THz, E = 2.331 eV = 224.9 kJ/mol, ν̃ = 18,797 cm⁻¹; visible, green
    Photons from that laser
    Input
    532 nm at 5 mW
    Result
    1.34 × 10¹⁶ photons per second
    Microwave oven
    Input
    2.45 GHz
    Result
    λ = 12.24 cm; ITU band 9 (UHF, decimetric waves)
    FM radio
    Input
    100 MHz
    Result
    λ = 3.00 m; ITU band 8 (VHF)
    Light in water
    Input
    589 nm (in vacuum) in water, n = 1.333
    Result
    442 nm inside the water, travelling at 2.249 × 10⁸ m/s; same frequency
    Concert pitch
    Input
    440 Hz in air at 20 °C
    Result
    v = 342.9 m/s, λ = 77.9 cm — the note A4

    Common uses

    • Physics and chemistry homework: λ, f and E = hf in any units, with the working.
    • Spectroscopy: converting between nm, cm⁻¹, eV and kJ/mol.
    • Lasers and LEDs: photon energy and photons per second from the power.
    • Radio and antennas: wavelength of a frequency in air or along a cable dielectric.
    • Acoustics and music: the wavelength of a note in air, water or steel.

    The formulas

    • Wave equation: v = f λ, T = 1/f, ω = 2πf.
    • In a medium: v = c/n and λ_medium = λ_vacuum/n; the frequency does not change. For a non-magnetic material n = √ε_r.
    • Photon energy: E = h f = hc/λ, so E (eV) = 1,239.84 ÷ λ (nm). Per mole of photons multiply by N_A = 6.02214076 × 10²³.
    • Wavenumber: ν̃ = 1/λ (vacuum), usually in cm⁻¹.
    • Photon momentum: p = h/λ (vacuum); equivalent temperature: E/k.
    • Sound in air: v = 331 m/s × √(1 + T/273 °C) — 343 m/s at 20 °C.

    c, h, e, N_A and k are exact defined constants of the SI.

    Band names and their limits

    Bands are named by vacuum wavelength with ISO 21348:2007: gamma rays below 1 pm; X-rays 1 pm–10 nm (hard below 0.1 nm, soft above); ultraviolet 10–400 nm (EUV 10–121 nm, FUV 122–200 nm, UVC 100–280 nm, UVB 280–315 nm, UVA 315–400 nm); visible 380–760 nm (purple/violet 360–450, blue 450–500, green 500–570, yellow 570–591, orange 591–610, red 610–760 nm); infrared 760 nm–1 mm (IR-A to 1.4 µm, IR-B to 3 µm, IR-C beyond); microwaves 1–15 mm; radio 0.1 mm–100 m. Radio frequencies also get their ITU-R V.431 band number: band N runs from 0.3 × 10ᴺ to 3 × 10ᴺ Hz (band 8, VHF, is 30–300 MHz).

    These limits are conventions and other references draw them differently — OpenStax, for example, gives visible light as about 400–750 nm and UV-A as 320–400 nm. Physicists also often call photons from atomic nuclei gamma rays whatever their wavelength.

    About the colour swatch

    The swatch converts the wavelength to CIE 1931 XYZ with the analytic fit of Wyman, Sloan and Shirley (2013) and then to sRGB. Pure spectral colours are more saturated than any screen can show, so channels that would be negative are set to zero and the colour is shown at full brightness. Below about 420 nm and above about 650 nm the hue of spectral light hardly changes (the ends of the CIE spectral locus), so those wavelengths share the violet or red of the nearest end. Real light near the ends of the spectrum looks much dimmer: the eye’s sensitivity, shown as an approximate percentage, falls from its peak near 555 nm.

    Sources

    • BIPM, The International System of Units (SI Brochure, 9th ed., 2019): exact c, h, e, N_A and k; NIST CODATA 2022 values.
    • ISO 21348:2007, Space environment — Process for determining solar irradiances, spectral categories (definitions as published by Space Environment Technologies).
    • ITU, Recommendation ITU-R V.431-8 (08/2015), nomenclature of frequency and wavelength bands.
    • OpenStax, University Physics Volume 3: §1.1 The Propagation of Light (Table 1.1, refractive indices at 589 nm); Volume 2: §8.5 (Table 8.1, dielectric constants) and §16.5 The Electromagnetic Spectrum; Volume 1: §17.2 Speed of Sound (Table 17.1, Eq. 17.7, Example 17.1).
    • OpenStax, College Physics 2e, §17.6 Hearing: human hearing 20–20,000 Hz, infrasound and ultrasound.
    • ISO 16:1975, Acoustics — Standard tuning frequency: A = 440 Hz.
    • C. Wyman, P.-P. Sloan and P. Shirley, “Simple Analytic Approximations to the CIE XYZ Color Matching Functions”, Journal of Computer Graphics Techniques 2(2), 2013; W3C CSS Color Module Level 4 (XYZ to sRGB).

    Limitations

    • Refractive indices are for 589 nm light; at other wavelengths n differs slightly (dispersion), and absorbing materials need a complex index.
    • Dielectric constants are low-frequency values at room temperature; at high frequencies many materials (water especially) respond differently.
    • The speed of sound in air uses the textbook formula for dry air; humidity and pressure changes are ignored. Speeds in liquids and solids are fixed table values.
    • Colour swatches are approximations — screens cannot show pure spectral colours.
    • Band names are conventions with overlapping or differing limits between standards.

    Privacy

    Everything happens in your browser. What you enter or open here is not uploaded or stored by MySmartCoPilot.

    Frequently asked questions

    How do I convert wavelength to frequency?

    Divide the speed by the wavelength: f = c ÷ λ for light in vacuum. For 532 nm, f = 299,792,458 ÷ 532 × 10⁻⁹ = 5.635 × 10¹⁴ Hz (563.5 THz).

    How do I calculate the energy of a photon?

    E = hf = hc/λ. In electronvolts, E = 1,239.84 ÷ λ in nanometres: 532 nm light has 2.331 eV per photon, or 224.9 kJ per mole of photons.

    Does the frequency change when light enters water or glass?

    No. The frequency (and the photon energy) stays the same; the speed drops to c/n and the wavelength shrinks by the same factor. Yellow 589 nm light in water (n = 1.333) has a wavelength of 442 nm.

    What range of wavelengths is visible light?

    Roughly 380–760 nm by ISO 21348 (OpenStax says about 400–750 nm): violet near 400 nm, blue around 470 nm, green around 530 nm, yellow near 580 nm, orange near 600 nm and red above about 610 nm.

    How do I convert wavenumber (cm⁻¹) to wavelength?

    λ = 1 ÷ ν̃. With ν̃ in cm⁻¹, λ in micrometres is 10,000 ÷ ν̃: 1,000 cm⁻¹ is 10 µm and 0.124 eV — in the IR-C band, which ISO 21348 calls far infrared (other conventions draw the infrared sub-bands differently).

    What is the wavelength of a sound?

    λ = v ÷ f, with the speed of sound in the medium. In air at 20 °C (343 m/s) the note A4 at 440 Hz has a wavelength of 77.9 cm; the same note in water (1,480 m/s) is 3.36 m long.

    Which frequencies can people hear?

    Normal human hearing covers about 20 Hz to 20,000 Hz. Below 20 Hz is infrasound and above 20,000 Hz is ultrasound (OpenStax College Physics 2e).

    Quick answers and tool search

    Type to search tools or to get a quick answer, for example 18% of 2500. Use the up and down arrow keys to move through the results, Enter to choose, and Escape to close.