Electromagnetic Wave Calculator

Calculate properties of electromagnetic waves: frequency, wavelength, energy, and photon flux.

e.g. 1mW laser
Please check your inputs and try again.

Connecting Frequency, Wavelength, and Photon Energy

Every electromagnetic wave links frequency and wavelength through its propagation speed, while the photon description links frequency to energy. In vacuum, electromagnetic radiation travels at c ≈ 2.998 × 108 m/s. A higher frequency therefore corresponds to a shorter wavelength. The same radiation can also be described as photons, each carrying energy E = hf.

These relationships connect radio waves, microwaves, infrared, visible light, ultraviolet, X-rays, and gamma rays on one continuous spectrum. Their labels refer to frequency or wavelength ranges, not different fundamental equations. Photon energy rises linearly with frequency, so doubling f doubles E, while wavelength is inversely proportional to frequency.

c = fλ     E = hf = hc/λ
SymbolMeaningWhy it appears / units
cSpeed of light in vacuum2.99792458 × 108 m/s
fFrequencyHz; cycles per second and proportional to photon energy
λWavelengthMeters; distance between corresponding wave phases
EEnergy per photonJ or eV; do not confuse with total beam energy or power

If optical power P is known, dividing by energy per photon gives photon rate: Ṅ = P/E. A 1 mW green laser contains an enormous number of low-energy photons each second. In a material, wave speed becomes c/n and wavelength changes accordingly, while frequency remains fixed at the boundary.

Worked Examples

Example 1: WiFi: f=2.4GHz
λ=c/f=3e8/2.4e9
Result: λ=12.5cm, E=9.93μeV
Microwave-frequency radiation is non-ionizing, but exposure safety depends on power, distance, duration, and shielding
Example 2: UV sterilization: λ=254nm
f=c/λ=3e8/254e-9
Result: f=1.18×10¹⁵Hz, E=4.9eV
Germicidal UV — damages DNA at this energy
Example 3: Green 532 nm laser
λ = 532 nm → f = c/λ ≈ 5.64 × 1014 Hz; E = hf
Result: E ≈ 2.33 eV per photon
For 1.0 mW optical power, the photon rate is about 2.68 × 1015 photons/s.
Example 4: 1 GHz radio-frequency wave
f = 1.0 × 109 Hz → λ = c/f; E = hf
Result: λ ≈ 0.300 m, E ≈ 4.14 μeV
The long wavelength and extremely small photon energy contrast strongly with optical and ionizing radiation.

Common Mistakes

⚠️
Entering nanometers as meters

Convert first: 1 nm = 10−9 m. Prefix errors move the result by orders of magnitude.

⚠️
Confusing energy per photon with total beam power

E = hf is one photon's energy. Beam power depends on both photon energy and how many photons arrive each second.

⚠️
Using c for wavelength inside every material

In a medium with refractive index n, speed is approximately c/n, so wavelength is shorter than its vacuum value at the same frequency.

⚠️
Thinking frequency changes when light enters a medium

The source fixes frequency. At a boundary, speed and wavelength change together while frequency remains continuous.

Frequently Asked Questions

Ionizing radiation threshold?
~10 eV photon energy = ~124nm wavelength (far UV). Above this energy, photons can ionize atoms and break chemical bonds. X-rays (keV-MeV) and gamma rays (MeV+) are strongly ionizing.
Visible light range?
380nm (violet) to 700nm (red): 3.26eV to 1.77eV. Human eye peaks at ~555nm (green) matching peak solar emission. Different 'primary colors' are optimized combinations for color displays.
Why does higher-frequency electromagnetic radiation have shorter wavelength?
In vacuum the product fλ must equal the constant speed c. If frequency rises, wavelength must decrease so their product stays fixed. This inverse relationship is why radio waves have long wavelengths while visible, ultraviolet, and X-ray radiation occupy progressively shorter wavelength ranges.
How do I convert photon energy between joules and electronvolts?
One electronvolt equals 1.602176634 × 10−19 J. Divide joules by that value to obtain eV, or multiply eV by it to obtain joules. Keeping Planck's constant in matching units avoids an unnecessary conversion during the calculation.
Does light frequency change in glass or water?
No. Frequency is set by the source and remains the same as the wave crosses a stationary boundary. The propagation speed decreases in a material and wavelength decreases by the same factor, satisfying v = fλ in that medium.
How is photon flux related to optical power?
Photon flux is the number of photons delivered per second. For monochromatic radiation, divide beam power in joules per second by the energy of one photon in joules: Ṅ = P/E. At the same power, lower-energy photons correspond to a larger photon rate.

Formula Explorer connections

Interpretation: This relationship connects frequency, wavelength, speed, phase, intensity or resonance in an oscillating system. Assumption: Identify the medium, boundary conditions and reference frame. Linear waves, small amplitudes, nondispersive media or ideal resonance may be assumed.

Filter Cutoff Frequency Calculator →Wave Interference Calculator →LC Resonance Calculator →Physics Formula Explorer →