PPolySim OS

LED Band Gap & Color

Why did blue LEDs win a Nobel Prize when red ones were everywhere? Because an LED's color is locked to its material's band gap — and blue needed a whole new one.

LED Band Gap & ColorLive
590 nm
2.10 eV band gap

Controls

Presets

An LED emits light when electrons drop across the semiconductor's band gap, each releasing a photon of energy equal to that gap. Since photon energy fixes wavelength (λ = 1240/Eg in nm), the band gap directly sets the color — which is why blue LEDs needed a whole new material (gallium nitride) and a Nobel Prize to achieve.

▶ Run in Python

Data Inspector

Wavelength590 nm
Regionvisible
MaterialGaP/AlInGaP (green-red)

Governing equation

Reading this result: λ = 1240/Eg puts this 2.10 eV gap at 590 nm — a wider gap means a bluer photon, which is exactly why blue LEDs needed the high-gap GaN family.

Runs locally in your browser — free forever. Scale to the cloud when reality gets heavy.

or unlock everything with Pro →
★ Sign in to save this setup
Save your tuned setup, or drop this simulation into your own site, docs, or course page.

How it works

An LED emits a photon each time an electron crosses the semiconductor band gap, with energy exactly equal to that gap. Since a photon's energy fixes its wavelength (λ ≈ 1240/Eg nanometers), the band gap directly determines the color. Wider gaps give blue and ultraviolet, narrower ones red and infrared — and achieving efficient blue with gallium nitride revolutionized lighting.

Ask the AI about this model

The math, the assumptions, real-world uses, or a code translation — explained for this exact simulation.

More Photonics simulations

Frequently asked questions

Is this LED band gap color tool really free?
Yes. LED Band Gap & Color runs entirely in your browser using your device's own compute, so local use is free forever. You only pay Compute Tokens if you scale a job to the cloud.
Do I need to install anything?
No. Everything runs client-side in a modern browser — no downloads, no license, no account required to start.
Can I save or share my simulation?
Create a free account to save projects, and use a shareable embed or minted DOI to publish a live, interactive version anywhere.
How accurate are the results?
The solver uses established numerical methods, but results are for research and educational purposes and should be validated against experiment or professional review before you rely on them.