Science & engineering

LED series resistor calculator

Estimate the ideal resistor and dissipation for a low-voltage DC LED string.

LED series resistor calculator
Esc to restore

Your inputs

Presets 5worked examples you can load and change

Presets are starting points from the repository, not advice: check them against your own parts, fabric or ingredients.

Results update as you type. Larger files run when you press Update result.

Your result

Your result will appear here.

More actions

Your inputs stay in this browser. Nothing is uploaded, and nothing is saved unless you choose “Save result”.

A clear answer. Here’s how.

Uses the supplied forward-voltage estimate at your target current: R = (Vsupply − count × Vf)/I. Requires positive resistor voltage headroom. Reports ideal resistance, resistor dissipation and total LED electrical power. Does not choose a commercial resistor value, rating, thermal margin, tolerance, current-regulated driver or mains circuit.

See a worked example

Worked example

A fixed demonstration, separate from the values you enter above.

DC supply (V)
5
Forward voltage per LED at target current (V)
2
LEDs in series
1
Target string current (mA)
20

Example result

Ideal series resistance
150 Ω
Resistor voltage drop
3 V
Resistor dissipation
0.06 W
Total LED electrical power
0.04 W
Supply electrical power
0.1 W

Ideal target value only. Choose actual values and ratings using the component specifications and operating conditions.