Energy calculation
- Enter a value to see the calculation.
Enter a positive wavelength; scientific notation and “±” are accepted.
Enter a positive frequency; scientific notation and “±” are accepted.
Enter energy for one photon; scientific notation and “±” are accepted.
Uncertainty uses a first-order relative approximation. For inverse equations, this is most accurate when the uncertainty is small compared with the entered value.
Logarithmic wavelength scale from gamma rays to radio. Click, drag, or use arrow keys to choose a wavelength.
No result to classify.
The calculated value will be described in text; color is never the only indicator.
Inputs may use scientific notation such as 5.45e14. Optional uncertainty may be written as 532 ± 2.
E = hf relates energy directly to frequency. f = c/λ relates frequency inversely to vacuum wavelength. Combining them gives E = hc/λ.
The convenient identity E(eV) = 1239.841984/λ(nm) follows from those exact constants.
Convert λ to metres, calculate f = c/λ, then calculate E = hf. In one step, use E = hc/λ. Because this is an inverse relation, halving wavelength doubles photon energy.
Convert f to hertz, then calculate E = hf. Wavelength follows from λ = c/f. Frequency and per-photon energy are directly proportional.
The spectrum view uses a logarithmic wavelength axis because electromagnetic wavelengths span many powers of ten. From long to short wavelength, the main regions are radio, microwave, infrared, visible, ultraviolet, X-ray, and gamma ray. The boundaries are conventional rather than perfectly sharp; source and application can also affect naming.
Visible light occupies only about 380–750 nm. A color label is shown only inside that interval, while every result receives a text region classification.
Optics commonly uses nm and µm; spectroscopy often uses cm⁻¹; chemistry frequently compares eV per photon with kJ/mol; X-ray and particle physics often uses keV, MeV, or GeV. Molar photon energy is the single-photon energy multiplied by the exact Avogadro constant.
Results describe one photon and a vacuum wavelength. At a boundary, light frequency remains constant. In a medium with refractive index n, phase velocity is v = c/n and wavelength is λmedium = λvacuum/n, so wavelength shortens rather than stretches. This calculator does not model refractive index, dispersion, bandwidth, coherence, intensity, or photon count.
Microwave heating is dielectric heating: an alternating electromagnetic field drives rotation and polarization processes in polar molecules and ions, and energy is dissipated through molecular interactions. It is not accurately described as individual microwave photons simply “exciting water molecules.”
Displayed uncertainty is a first-order propagation approximation. Exact inverse transformations can have asymmetric bounds when uncertainty is large, so use the calculator’s uncertainty output only when the relative uncertainty is small.
Use E = hc/λ. Convert wavelength to metres, multiply the exact values of h and c, and divide by λ.
Energy equals Planck’s constant times frequency. E is energy per photon in joules, h is 6.62607015 × 10⁻³⁴ J·s, and f (or ν) is frequency in hertz.
It is E = hc/λ expressed in eV and nm. Combining the exact SI constants gives E(eV) = 1239.841984/λ(nm), making common optics calculations quick.
Divide by 1.602176634 × 10⁻¹⁹. One electronvolt is exactly that many joules, so 1 J is about 6.241509074 × 10¹⁸ eV.
About 4.414 × 10⁻¹⁹ J, 2.755 eV, or 265.8 kJ/mol. A 450 nm wavelength is generally classified as blue visible light.
No. Frequency remains fixed at the boundary; phase velocity and wavelength decrease. For refractive index n, v = c/n and λwater = λvacuum/n.
It is spectroscopic wavenumber, equal to 1/λ in centimetres. For example, 500 nm is 20,000 cm⁻¹. Higher wavenumber means higher frequency and photon energy.
One is microscopic; the other scales the same energy to a mole of photons. Multiply joules per photon by 6.02214076 × 10²³ mol⁻¹ and divide by 1000 to get kJ/mol.
The calculator converts the selected input to SI units, applies E = hf and f = c/λ using JavaScript number precision, then converts the outputs. Defining constants are exact; only displayed results are rounded to the selected number of significant figures. Results assume a single photon in vacuum because no refractive-index input is provided.
Last reviewed: July 18, 2026. Published by Starlight Robotics. No external scientific reviewer is claimed.