Impact-Site-Verification: 1fce05f2-a6cf-4f31-8ca1-aaddc332516c

LED Resistor Calculator

Size a series resistor for one or more LEDs from supply voltage, forward voltage, and forward current—plus a preferred E24 value and power estimate.

Series LED math
E24 suggestion
Resistor wattage

Computes R = (Vs − n·Vf) / I, rounds up to E24, and estimates resistor wattage.

Limitation: Educational estimate only.

Jump to calculator · Sources & review

How to Use the LED Resistor Calculator

Enter the fields below, then review the educational estimate.

1

Enter supply voltage.

Derate power

The worksheet suggests roughly 2× calculated resistor power (minimum ¼ W) as a starting derating habit.

What This Calculator Estimates

Classic series current-limiting resistor design for indicator LEDs and simple DIY lighting experiments.

Worked Examples

5 V supply, 2 V LED, 20 mA

Inputs

supplyVolts:5
forwardVolts:2
forwardCurrentMa:20
ledCount:1

Result

150 Ω (≈0.06 W)

R = (5−2)/0.02 = 150 Ω.

Safety first

De-energize circuits before measuring. When in doubt, stop and consult a licensed electrician.

Frequently Asked Questions

Otherwise there is no voltage left for the resistor and current cannot be limited by Ohm’s law as modeled.

Still have questions about this calculation?

Try the Calculator

Formulas & Assumptions

Transparent educational arithmetic. Not NEC design software or a wiring permit.

Formula

R ​=​ ​(​Vs − n · Vf​)​ ​/​ I

Resistance

R ​=​ ​(​Vs − n · Vf​)​ ​/​ I

Power

P ​=​ I² · R

Scientific Background

LED Vf varies with color and current. Parallel LED strings each need their own resistor; this tool models a single series string.

Sources & review

LED Resistor Calculator documents the references behind its formulas and assumptions. Always treat results as educational estimates, not personalized professional advice.

Last reviewed

July 22, 2026

See our methodology and corrections policy.