Wavelength to Energy Calculator
Convert a photon's wavelength, frequency, and energy with Planck's relation using exact SI defining constants.
Photon quantity
Edit any one quantity. The other two update from the field you changed most recently.
Calculated result
Energy per photon, calculated from the current wavelength or frequency.
Equivalent representations
| Quantity | Value | Unit | Interpretation |
|---|
How to use the wavelength to energy calculator
What this calculator does
This calculator converts among a photon's wavelength, frequency, and energy. It applies the exact relationship E = hf = hc/λ, where E is the energy of one photon, h is Planck's constant, f is frequency, c is the speed of light in vacuum, and λ is vacuum wavelength. The tool is suitable for unit conversion, spectroscopy exercises, optical engineering checks, and quick comparisons across the electromagnetic spectrum. It does not predict beam power, total pulse energy, intensity, material absorption, or biological effect because those questions require additional information such as photon count, exposure time, area, or material properties.
When to use it
Use the calculator when you need to translate a laser wavelength into photon energy, convert a measured spectral frequency into wavelength, check an atomic-transition energy expressed in electronvolts, or verify a homework or laboratory calculation. The underlying physical constants are SI defining constants. The BIPM explanation of the SI defining constants confirms the exact values used for the speed of light and Planck's constant.
How to calculate
- The calculator opens with a ready-to-use demonstration: 500 nm. Its matching energy and frequency are already calculated, and the Download Excel button is immediately available.
- Edit any one of the three quantity fields. The field changed most recently becomes the source. For example, type 632.8 in Wavelength and keep nm selected for a common helium-neon laser wavelength.
- Select the unit beside the source value. Changing a unit converts the current physical quantity rather than merely changing its label. The other two quantities update automatically.
- Read Photon energy as the primary result, then review Energy in joules, Frequency, Wavelength in meters, the substituted formula, and the equivalent-representations table.
- Select Download Excel to create a binary .xlsx workbook containing current inputs, outputs, constants, and conversion rows. Reset clears all three data fields, restores neutral units, removes calculated content, and may disable Download Excel until one complete valid positive value is entered again.
Input guide
Wavelength accepts a required positive decimal when it is the active source. Choose meters, centimeters, millimeters, micrometers, nanometers, or picometers. A realistic example is 500 nm. Shorter wavelengths produce higher frequency and higher photon energy; longer wavelengths produce lower values. Use a period for the decimal separator. Commas, unit text pasted into the field, zero, negative values, and nonfinite values are rejected rather than silently reinterpreted.
Energy accepts a required positive decimal when it is the source. Available units are joules, attojoules, femtojoules, picojoules, millielectronvolts, electronvolts, kiloelectronvolts, and megaelectronvolts. A realistic example is 2.479683968 eV. Higher photon energy implies higher frequency and shorter wavelength. Do not confuse energy per photon with the total energy delivered by a lamp or laser beam.
Frequency accepts a required positive decimal when it is the source. Choose hertz, kilohertz, megahertz, gigahertz, terahertz, petahertz, or exahertz. A realistic example is 599.584916 THz. Higher frequency increases photon energy linearly and decreases wavelength inversely. Frequency must describe electromagnetic radiation in vacuum for the direct c/λ relation used here.
Output guide
Photon energy is the main result in the currently selected energy unit. It is an exact conversion under the stated vacuum-wave model, subject only to display rounding. Energy in joules shows the canonical SI energy per photon. Frequency shows the same radiation in the selected frequency unit. Wavelength in meters provides the canonical SI length used in the formula. The summary pills repeat the three current values for quick scanning. The formula line displays the current substitution, and the Equivalent representations table lists the same canonical model in several practical units. Its Quantity column names the physical measure, Value gives the typed numeric result, Unit identifies the representation, and Interpretation explains how to read that row. A zero result is not physically accepted because zero wavelength, zero frequency, and zero photon energy would make the reciprocal conversion undefined or non-informative.
Worked example
For the startup value λ = 500 nm, first convert nanometers to meters: 500 nm = 5.00000000 × 10⁻⁷ m. Then calculate frequency: f = c/λ = 299,792,458 ÷ 5.0 × 10⁻⁷ = 5.99584916 × 10¹⁴ Hz, or 599.584916 THz. Next calculate energy: E = hf = 6.62607015 × 10⁻³⁴ × 5.99584916 × 10¹⁴ = 3.97289171 × 10⁻¹⁹ J. Dividing by the exact elementary charge gives 2.47968397 eV. These values match the first-open fields, result cards, table, and workbook checkpoints. NIST's atomic spectroscopy relationship between wavelength, frequency, and photon energy provides additional context for this identity.
How the physics works
Planck's relation states that photon energy is proportional to frequency: E = hf. Electromagnetic waves in vacuum also satisfy f = c/λ. Combining the two equations gives E = hc/λ, which makes the inverse relationship clear: doubling wavelength halves photon energy, while doubling frequency doubles energy. The constants used here are h = 6.62607015 × 10⁻³⁴ J·s, c = 299,792,458 m/s, and the elementary charge e = 1.602176634 × 10⁻¹⁹ C. Because these values define SI units, they are exact. NIST's fundamental physical constants reference is a useful source for the underlying definitions and conversion relationships.
Interpreting wavelength and photon energy
Very long wavelengths correspond to low-frequency, low-energy photons, while short wavelengths correspond to high-frequency, high-energy photons. This is why radio waves occupy the low-energy end of the electromagnetic spectrum and X-rays or gamma rays occupy the high-energy end. The calculator intentionally does not add a categorical spectrum chart because the current state contains one physical point rather than a comparable multi-point series; the numerical conversions and table communicate the result without implying extra precision at conventional band boundaries.
When comparing sources, keep the distinction between per-photon energy and total emitted energy. A low-energy photon source can still deliver high power if it emits many photons per second, and a high-energy photon source can deliver low total power if photon flux is small. For total beam power, multiply energy per photon by photons per second. For pulse energy, multiply by the number of photons in the pulse.