How the LED Resistor Calculator works
The resistor drops the voltage the LEDs don't use, at the LED's current.
Resistor value and wattage for LEDs.
Formulas and rates last reviewed · How we check
Calculating…
For education only: Results are rough estimates, not a substitute for professional design, building codes or site checks. Consult a qualified engineer (a structural engineer for buildings, a licensed electrician for wiring) before buying materials or starting work.
The resistor drops the voltage the LEDs don't use, at the LED's current.
A 2 V LED at 20 mA on 12 V
Resistor for 1 LED in series at 20 mA: 560 Ω
(5 − 2) ÷ 0.02 = 150 Ω, a ¼ W resistor.
(12 − 3.2) ÷ 0.02 = 440 Ω → 470 Ω.
Rounding up keeps the current slightly below the maximum, which is safe for the LED.
Not reliably: each parallel LED should have its own resistor.
4- and 5-band resistor colour code decoder.
Solve V, I, R and P from any two known values.
Vout from R1 and R2, or R2 for a target voltage.
Battery run time from mAh and load.