← All tools

CALCULATOR

LED resistor

Series resistor calculator. The result is calculated locally and instantly.

Enter a value to begin.

How to use this calculator

Choose a series resistor that limits current through one LED supplied by a DC source.

Formula and units

R = (Vs − Vf) ÷ I, using supply voltage Vs, LED forward voltage Vf and current I in amperes.

Worked example

For 5 V, a 2 V LED and 20 mA: R = (5 − 2) ÷ 0.02 = 150 Ω. Resistor power is about 0.06 W, so a standard 0.25 W part provides margin.

Common mistakes and limitations

Use the LED forward voltage from its datasheet and convert mA correctly. Do not use this simple arrangement for high-power LEDs or several parallel LEDs without individual current control.

Search component datasheets · Browse all calculators