Physics calculator

Photon Energy Calculator

Calculate photon energy from frequency or wavelength, with joule and electronvolt outputs.

Last reviewed: July 21, 2026Physics formula engine v3.0.0

Physics calculator

Photon Energy Calculator

Enter values, select units and calculate locally. Results use SI internally and show rounded display values.

Decimal.js physics math

Mode

Find photon energy from frequency.

From frequency inputs

Result and visual stay hidden until you choose Calculate.

Formula and assumptions

Primary formula

E = h x f; E = h x c / lambda.

Input assumptions

Frequency is greater than zero. Wavelength is greater than zero. The photon travels in vacuum for c/lambda conversion.

Precision note

Physics calculators convert compatible inputs into SI units before calculating. Decimal.js is used for arithmetic where practical; trigonometric angle factors are rounded for display.

Physics calculation flow

Parse

Read labelled inputs, selected units and calculation mode from the calculator card.

Convert

Convert compatible values to SI base or derived units without calling external services.

Calculate

Apply the selected deterministic mechanics formula and validate against NaN, Infinity and invalid divisors.

Label

Display the result, supporting unit rows, formula steps, warnings and dynamic visual below the input card.

What Photon Energy Calculator does

Use this calculator for light, electromagnetic radiation and introductory quantum energy examples.

The calculator is deterministic and runs from manual inputs only. It is a physics formula tool, so it should not be confused with a unit converter that only changes labels after a value is already known.

Formula and variables

E = h x f; E = h x c / lambda.

The calculator converts supported units into SI base or derived units for the actual calculation, then formats the result in the selected display unit.

  • E is photon energy
  • h is Planck's constant
  • f is frequency
  • c is light speed
  • lambda is wavelength

Worked examples

Use the examples below to check expected order of operations and unit handling before applying the tool to your own values.

  • 5e14 Hz gives 3.313035075e-19 J
  • 500 nm gives about 3.972891714e-19 J
  • Shorter wavelength means higher photon energy.

Unit conversions

Length, time, mass, area, volume, speed, force, pressure, density, frequency, energy and power units reuse the central NexaCalc conversion registry. Acceleration, angle and spring-constant units use the same SI-first convention where applicable.

The displayed conversion rows are supporting context. They do not change the physical assumptions of the selected formula.

Common mistakes

Most errors come from mixing physical quantities that sound similar in everyday language or choosing a unit that belongs to a different dimension.

  • Using nanometres as metres without conversion.
  • Mixing electronvolts and joules without conversion.
  • Using wave amplitude instead of wavelength.

Assumptions and limitations

This page is intended for educational and planning calculations, not professional engineering certification.

This calculator uses idealized physics formulas and the input values you provide. Real systems may require additional effects such as friction, drag, rotation, deformation, losses or measurement uncertainty.

  • Frequency is greater than zero.
  • Wavelength is greater than zero.
  • The photon travels in vacuum for c/lambda conversion.
  • This tool does not model material dispersion, spectra, intensity or detector response.
  • Photon calculations are educational and not radiation-safety guidance.

Frequently asked questions

How is photon energy calculated?

Photon Energy Calculator uses E = h x f; E = h x c / lambda. The result is calculated from the values and units entered in the form.

What is Planck's constant?

Use this calculator for light, electromagnetic radiation and introductory quantum energy examples. Frequency is greater than zero.

How do I calculate energy from wavelength?

Photon Energy Calculator uses E = h x f; E = h x c / lambda. The result is calculated from the values and units entered in the form.

How do I convert joules to electronvolts?

Photon Energy Calculator converts compatible inputs to SI internally, then displays the selected output unit. E is photon energy; h is Planck's constant; f is frequency; c is light speed; lambda is wavelength.

Why does shorter wavelength mean higher energy?

Use this calculator for light, electromagnetic radiation and introductory quantum energy examples. Frequency is greater than zero.

Can this calculator use nanometres?

Use this calculator for light, electromagnetic radiation and introductory quantum energy examples. Frequency is greater than zero.

Is photon energy the same as light intensity?

Photon Energy Calculator is formula-based. Use the related calculator when the question changes physical quantity, and use Conversion tools only when the value is already known.

How does this relate to Wavelength Calculator?

Use this calculator for light, electromagnetic radiation and introductory quantum energy examples. Frequency is greater than zero.

Does the calculator include refraction in a medium?

Photon Energy Calculator uses an idealized classroom physics model. This tool does not model material dispersion, spectra, intensity or detector response.

When should I use Blackbody Radiation Calculator?

Use this calculator for light, electromagnetic radiation and introductory quantum energy examples. Frequency is greater than zero.

References

  • NIST Special Publication 811, Guide for the Use of the International System of Units. Relevance: SI unit symbols and derived-unit naming. Last verified: July 21, 2026. Source.
  • BIPM, The International System of Units SI Brochure. Relevance: SI base and derived units used in mechanics, fluids, waves and optics. Last verified: July 21, 2026. Source.
  • OpenStax University Physics Volume 1. Relevance: introductory formulas for motion, force, work, energy, momentum, fluids, waves and optics. Last verified: July 21, 2026. Source.
  • NIST CODATA internationally recommended values. Relevance: physical constants for electricity, modern physics, gravitation and radiation formulas. Last verified: July 21, 2026. Source.
  • OpenStax University Physics Volume 2. Relevance: electric circuits, capacitance, magnetic force and electromagnetic waves. Last verified: July 21, 2026. Source.
  • OpenStax University Physics Volume 3. Relevance: photons, nuclear decay and blackbody radiation concepts. Last verified: July 21, 2026. Source.

Physics references verified for SI units, mechanics, fluids, waves, sound and optics formulas on July 21, 2026.

Educational disclaimer

This calculator provides mathematical results from the values, conventions and methods you enter. Verify important academic, engineering or professional work independently.