LED Resistor Calculator

Work out the series resistor that keeps an LED at its rated current. Enter your supply voltage, the LED's forward voltage and current — or pick a colour preset — and get the exact value, the nearest standard E24 resistor and the wattage it must handle.

LED Resistor Calculator

Find the current-limiting resistor, a standard E24 value and the wattage you need.

Recommended resistor

Exact calculated value350 Ω
Standard E24 resistor (rounded up)360 Ω
Actual LED current19.44 mA
Resistor power dissipation136.1 mW
Recommended wattage0.5 W or higher

Formulas

R = (Vs − Vf) ÷ If
R = (Vs − n × Vf) ÷ If (n LEDs in series)
P = If² × R (resistor power)

Vs = supply voltage, Vf = LED forward voltage, If = LED forward current in amperes, n = number of LEDs wired in series, R = series resistor in ohms, P = power the resistor dissipates in watts.

Worked example

Vs = 9 VVf = 2.0 V (red)If = 20 mA
  1. 1R = (9 V − 2 V) ÷ 0.02 A = 350 Ω
  2. 2Next E24 standard value up: 360 Ω
  3. 3Actual current I = (9 − 2) ÷ 360 ≈ 19.4 mA
  4. 4P = I² × R ≈ 0.136 W → with a 2× safety margin, use a 0.5 W resistor

Use a 360 Ω, 0.5 W (or higher) resistor in series with the LED.

Frequently asked questions

Related searches

Verify before you build. All results are estimates for reference only. Always have circuit values, wiring and component choices checked by a qualified electrician or engineer before practical use.