Interactive Calculator · Hardware and Physics
Photon Energy and Bandgap Calculator
Convert between wavelength, frequency and photon energy, then check whether a photon can lift an electron across the bandgap of a common semiconductor.
Rounded textbook values near room temperature; they vary with temperature and source.
Used to count photons per second.
Photon energy
2.331 eV
3.734×10⁻¹⁹ J
Wavelength
532.0 nm
Visible: green
Frequency
563.5 THz
Photons per second
2.68×10¹⁵
at 1.00 mW
Bandgap check
The gap of 1.12 eV matches a wavelength of 1,107 nm. Light with a longer wavelength has less energy than the gap.
Can lift an electron across the gap
This photon carries 2.33 eV, which is 1.21 eV above the gap. The excess is lost as heat in a simple picture of a solar cell, which is why a single gap wastes part of the spectrum.Convert wavelength, frequency and photon energy, see where the light falls in the spectrum, count photons per second for a given power, and test it against bandgaps of silicon, GaAs, GaN and others.
What this calculator does
Light comes in packets called photons, and each photon carries an energy that depends only on its frequency: E = hf. Since frequency and wavelength are linked by c = fλ, the energy is also E = hc/λ. Everything from the colour of an LED to the cut-off of a solar cell follows from this one relation. The calculator lets you start from whichever of the three quantities you know, wavelength in nanometres, photon energy in electronvolts or frequency in terahertz, and it fills in the others.
It also tells you where the light falls in the spectrum, using conventional boundaries that are approximate (visible light is usually taken as roughly 380 to 750 nm). If you enter a power in milliwatts, it counts how many photons arrive each second, which is the power divided by the energy of one photon. A final panel compares the photon energy with the bandgap of a material and says whether a single photon can lift an electron across the gap.
The constants are the exact values fixed by the SI definitions: h = 6.62607015 × 10⁻³⁴ J·s, c = 299,792,458 m/s and e = 1.602176634 × 10⁻¹⁹ C. These give hc = 1239.84 eV·nm, so the wavelength in nanometres equals 1239.84 divided by the energy in electronvolts.
How to use it
Pick the green laser pointer preset, 532 nm at 1 mW. Each photon carries 2.331 eV, or 3.73 × 10⁻¹⁹ joules. One milliwatt then means about 2.68 × 10¹⁵ photons per second. Even a harmless pointer emits millions of billions of photons every second, which is why light looks continuous in daily life.
Now choose the silicon edge preset, 1.12 eV. The matching wavelength is about 1107 nm, in the near infrared. Any light with a shorter wavelength can lift an electron across the gap of silicon, and light with a longer wavelength passes through a perfect silicon crystal without being absorbed. That is why silicon cells respond to visible light and also to part of the infrared, and why silicon is nearly transparent to the 1550 nm light used in fibre-optic telecommunications.
Try the red LED at 630 nm: 1.968 eV. An LED emits photons with about the energy of its gap, so a red LED needs a gap near 2 eV, while a blue LED at 450 nm needs close to 2.75 eV. This is why the materials for blue LEDs, such as gallium nitride with a gap near 3.4 eV in the bulk, were harder to develop than red ones. I give that gap as a rounded textbook value that I did not look up here.
Why the numbers matter beyond optics
Photon energy sets what light can do. Chemical bonds have energies of a few electronvolts, so a visible or ultraviolet photon can drive a chemical change, while a microwave photon, at about 10⁻⁵ eV, is far too weak and can only make molecules rotate. The same relation matters for quantum technology. Photonic qubits are carried by single photons at telecom wavelengths because optical fibre loses the least light near 1550 nm, and superconducting and trapped-ion devices use photons at microwave and optical frequencies to control and read out qubits. Typical photon rates and energies tell you how much signal a detector will see.
Limits of the bandgap check
The bandgap panel is a simple picture. Real materials have gaps that change with temperature and with the source you read, so the values here are rounded figures near room temperature, and I did not open a source for them. Some semiconductors, such as silicon, have an indirect gap, where absorption near the edge also needs a lattice vibration and is weak, so a photon at exactly the gap energy is absorbed poorly. Excitons, impurities and two-photon processes also allow absorption below the gap in real devices. Treat the verdict as a first-pass estimate.
The formulas behind it
Photon energy
E = h f = h c ÷ λ
With h and c exact, hc = 1239.84 eV·nm.
Wavelength from energy
λ (nm) = 1239.84 ÷ E (eV)
Convenient form for semiconductors and LEDs.
Frequency
f = c ÷ λ
For λ = 532 nm, f is about 563.5 THz.
Photon rate
N = P ÷ E
Photons per second for optical power P and photon energy E in joules.
Worked examples
A green laser pointer
- λ = 532 nm, so E = 1239.84 ÷ 532 = 2.331 eV.
- In joules: 2.331 × 1.602 × 10⁻¹⁹ = 3.734 × 10⁻¹⁹ J.
- At 1 mW: N = 10⁻³ ÷ 3.734 × 10⁻¹⁹ = 2.68 × 10¹⁵ photons per second.
ResultAbout 2.7 quadrillion photons every second.
The silicon edge
- Gap 1.12 eV, so λ = 1239.84 ÷ 1.12 = 1107 nm.
- A 532 nm photon carries 2.331 eV, which is 1.211 eV above the gap.
ResultGreen light is absorbed. The excess 1.2 eV mostly becomes heat.
Telecom light in silicon
- λ = 1550 nm, so E = 0.80 eV.
- That is 0.32 eV below the silicon gap.
ResultA perfect silicon crystal is transparent to it, which is why silicon waveguides can carry telecom light.
Frequently asked questions
Why do blue photons carry more energy than red ones?
Energy is proportional to frequency, and blue light has a higher frequency (shorter wavelength) than red light.
What is an electronvolt?
The energy an electron gains crossing a potential difference of one volt, which is 1.602176634 × 10⁻¹⁹ joules.
Does a photon with more than the gap energy always get absorbed?
Usually it can be, but the chance depends on the material, including whether the gap is direct or indirect. The tool checks energy only.
Can two photons together cross a gap bigger than either?
Yes, in nonlinear two-photon absorption at high intensity, but this calculator treats single photons only.
References
- Values of h, c and e: exact quantities fixed by the 2019 SI definitions. (Stated from memory.)
- Bandgap values for the listed materials are rounded textbook figures near room temperature, given from memory and not opened for this page.
- Worked examples: my own arithmetic, checked in code.
Keep exploring
These calculators use simplified, published models for education and planning. Real devices and systems differ, so treat results as estimates. They are not engineering, investment, legal, or security advice.