Skip to content
CalcEngine

LED Resistor Calculator

Resistor value and wattage for LEDs.

Formulas and rates last reviewed · How we check

Your inputs

V
V
mA

Results update instantly as you type.

Calculating…

 

 

Share this result

Shared messages and images include the CalcEngine name and a link that reopens these exact inputs.

Was this calculator helpful?

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.

How the LED Resistor Calculator works

The resistor drops the voltage the LEDs don't use, at the LED's current.

R = (Vs − n × Vf) ÷ I
P = I² × R

Worked example

A 2 V LED at 20 mA on 12 V

  1. Exact resistance: 500 Ω
  2. Actual current with E12 value: 17.86 mA
  3. Resistor power: 224 mW

Resistor for 1 LED in series at 20 mA: 560 Ω

Frequently asked questions

What resistor for a red LED on 5 V?

(5 − 2) ÷ 0.02 = 150 Ω, a ¼ W resistor.

What resistor for a white LED on 12 V?

(12 − 3.2) ÷ 0.02 = 440 Ω → 470 Ω.

Why round up to E12?

Rounding up keeps the current slightly below the maximum, which is safe for the LED.

Can I put LEDs in parallel on one resistor?

Not reliably: each parallel LED should have its own resistor.

Related calculators