Journal · 21 October 2026 · Anna Kowalczyk

How to choose a series resistor for an LED

Subtract the forward voltage of the LED from the supply voltage, divide by the current and round up to the next standard value.

An LED holds a nearly constant voltage once it conducts: about 2.0 V for red and yellow, 2.2 V for green and 3.1 V for blue and white. The resistor drops the rest of the supply voltage and sets the current.

On 5 V with a red LED at 10 mA, the resistor drops 3 V, which calls for 300 Ω. The next value up in the E12 series is 330 Ω, which gives 9 mA. Rounding up keeps the current under the target.

A blue LED on a 3.3 V supply leaves only 0.2 V for the resistor, and the current then varies widely with temperature and from part to part. Run blue and white LEDs from 5 V, or accept a dim indicator at 1 to 2 mA.