Electromagnetic Spectrum Calculator

Calculate frequency, wavelength, and energy for electromagnetic radiation.

Find the frequency, wavelength, and energy of electromagnetic radiation across the entire spectrum. Enter any one known value — the calculator determines the other two using fundamental physics relationships. Covers radio waves to gamma rays with precise conversions.

Updated June 2026 · How this works

Worth knowing
How It Works
The formula, explained simply

Light behaves like both a wave and a stream of particles called photons. Unlike sound waves that need air to travel, electromagnetic waves move through empty space at exactly 299,792,458 meters per second — the speed of light. This fundamental constant links all electromagnetic radiation, from radio waves longer than football fields to gamma rays shorter than atomic nuclei.

The electromagnetic spectrum calculator uses three core relationships from physics. First, wavelength times frequency always equals the speed of light (c = λν). Second, photon energy equals Planck's constant times frequency (E = hν). Third, all electromagnetic radiation follows the same rules regardless of how it was created — whether from a radio antenna, heating element, or nuclear decay.

What surprises most people is that radio waves and gamma rays are fundamentally the same phenomenon, just at different frequencies. A radio photon and a gamma ray photon both travel at light speed, but the gamma ray carries a billion times more energy. The calculator assumes radiation travels through vacuum — in materials like glass or water, the effective speed decreases, changing the wavelength while keeping frequency constant.

When To Use This
Right tool, right situation

Use this calculator when designing antennas, where wavelength determines optimal antenna dimensions. Ham radio operators need precise frequency-to-wavelength conversion for quarter-wave and half-wave antennas. A 2-meter amateur band antenna at 145 MHz requires 1.03-meter length, calculated from λ/2 = c/(2ν). Microwave engineers use these relationships for waveguide design, where cutoff frequencies depend on physical dimensions.

Spectroscopy applications require converting between wavelength measurements and photon energies. Astronomers measure stellar spectra in nanometers but need energies in eV to understand atomic transitions. Laboratory UV-Vis spectrometers display wavelength, but chemists think in terms of photon energy for molecular orbital calculations. Medical imaging uses X-ray energies (keV) to set exposure parameters, but shielding calculations need wavelengths to determine penetration depth.

Photonics and fiber optic communications rely on precise wavelength calculations. Telecommunications use specific wavelengths (1310 nm, 1550 nm) where glass fiber has minimum loss. Converting these to frequencies helps design laser diodes and photodetectors. Solar panel efficiency depends on matching semiconductor bandgaps to solar spectrum energies — converting solar irradiance data from wavelength to photon energy reveals which wavelengths contribute most to electricity generation.

Common Mistakes
Why results sometimes look wrong

The biggest mistake is confusing wave properties with particle properties. Students often think higher frequency means slower speed, when all electromagnetic waves travel at identical speed in vacuum. Frequency and wavelength are inversely related through the speed of light — one goes up as the other goes down, but speed stays constant. Another common error is mixing up energy units. Electron volts (eV) measure individual photon energy, while joules measure macroscopic energy. A single visible photon carries about 2 eV, but a laser pointer emits trillions of photons per second.

Unit conversion errors plague electromagnetic calculations. Students frequently drop or add powers of ten when converting between nanometers and meters, or between MHz and Hz. Always write out the full scientific notation: 500 nm = 500×10⁻⁹ m = 5×10⁻⁷ m. Similarly, 100 MHz = 100×10⁶ Hz = 1×10⁸ Hz. Use dimensional analysis to check your work — wavelength times frequency must equal 3×10⁸ m/s.

A subtle mistake involves assuming electromagnetic properties work like mechanical waves. Ocean waves slow down in shallow water, changing both wavelength and frequency. Electromagnetic waves in materials change wavelength but keep frequency constant — the energy of each photon stays the same. This distinction matters in optics, where red light stays red even when it slows down inside glass, but its wavelength shrinks proportionally to the refractive index.

The Math
Worked examples and deeper derivation

The speed of light equation c = λν forms the foundation for all electromagnetic calculations, where c = 299,792,458 m/s, λ is wavelength in meters, and ν is frequency in hertz. Rearranging gives λ = c/ν and ν = c/λ, allowing conversion between wavelength and frequency. For example, 600 nm red light has frequency ν = (3×10⁸ m/s)/(600×10⁻⁹ m) = 5×10¹⁴ Hz.

Photon energy uses Planck's equation E = hν, where h = 6.626×10⁻³⁴ J·s is Planck's constant. Converting to electron volts requires dividing by the electron volt constant (1.602×10⁻¹⁹ J/eV). The same 600 nm photon carries energy E = (6.626×10⁻³⁴)(5×10¹⁴)/(1.602×10⁻¹⁹) = 2.07 eV. Higher frequency always means higher energy — doubling frequency doubles photon energy.

The calculations become extreme at spectrum edges. AM radio at 1 MHz has 55-kilometer wavelength and carries 4×10⁻⁹ eV per photon. Gamma rays at 10²⁰ Hz have 3×10⁻¹² meter wavelength (smaller than atomic nuclei) and carry 400 GeV per photon. The energy ratio between these extremes exceeds 10¹⁷ — demonstrating electromagnetic radiation's incredible range.

Radio Wave Analysis
FM radio frequency at 100 MHz
Produces 3-meter wavelength radio waves carrying 4.14×10⁻⁷ eV of energy per photon.
Green Light Properties
550 nm wavelength green light
Corresponds to 5.45×10¹⁴ Hz frequency with 2.25 eV photon energy in the visible spectrum.
Medical X-ray Energy
50 keV diagnostic X-ray
Creates 0.025 nanometer wavelength radiation at 1.21×10¹⁹ Hz frequency for medical imaging.
Expert Unlock
The thing most explanations skip

The dispersion relation c = λν breaks down in metamaterials with negative refractive index, where phase velocity and group velocity point in opposite directions. Standard electromagnetic calculations predict backward wave propagation that violates intuitive wave behavior. Similarly, in quantum field theory, virtual photons can have any energy-momentum relationship, including timelike separations forbidden in classical electromagnetism.

How do frequency, wavelength, and energy relate in electromagnetic waves?

Why does higher frequency mean shorter wavelength?
Electromagnetic waves all travel at the speed of light. When frequency increases, more wave cycles must fit into the same distance, forcing each wavelength to be shorter. It's like fitting more ripples into the same pond — each ripple becomes narrower.
What part of the electromagnetic spectrum can humans see?
Human eyes detect wavelengths from about 380 to 750 nanometers, corresponding to frequencies from 4×10¹⁴ to 8×10¹⁴ Hz. This narrow visible light window represents less than 1% of the total electromagnetic spectrum.
How much energy does a single photon carry?
Photon energy increases with frequency. Visible light photons carry 1.5-3.5 eV, while X-ray photons carry thousands of eV and gamma rays can exceed millions of eV. Radio wave photons carry tiny fractions of an eV.

Need something this doesn't cover?

Suggest a tool — we'll build it →