---
title: "Photon Energy calculator — AperiOptic"
description: "Energy of a single photon at a given wavelength. Free online optics calculator, with the formula and code snippets."
url: "https://aperioptic.com/calculators/photon-energy"
---

# Photon Energy calculator

Energy of a single photon at a given wavelength.

Category: [Photonics](https://aperioptic.com/calculators)

Formula: `E = h·c/λ`

## Inputs

| Input | Parameter | Unit | Default |
| --- | --- | --- | --- |
| λ | `lam` | nm | 532 |

## Result with the default inputs

- Energy: 2.3305 eV
- Energy: 3.7339e-19 J
- Frequency: 563.5197 THz

Open it with your own values: put each input in the address as a parameter, for example [`/calculators/photon-energy?lam=532`](https://aperioptic.com/calculators/photon-energy?lam=532). A unit other than the listed one goes in `<parameter>_unit`.

Read more: [Wikipedia: Photon energy](https://en.wikipedia.org/wiki/Photon_energy)

[All optics calculators](https://aperioptic.com/calculators)

---

The interactive page: https://aperioptic.com/calculators/photon-energy (AperiOptic runs in the browser; free, no account). Every page of the site as Markdown: https://aperioptic.com/llms.txt
