LED Resistor Calculator

Series resistor, nearest E12/E24 value and power rating — instantly.

Ad placeholder (leaderboard)
Enjoying the tools? Go Pro for £4.99 (one-time) and remove all ads — forever, on this device. Remove ads — £4.99

Every LED needs a current-limiting series resistor to survive. Without one, the LED draws as much current as the supply can deliver, overheating and burning out within seconds. This calculator gives you the exact resistor value, the nearest real-world standard part from the E12 or E24 preferred-value series, and the power the resistor will dissipate — so you can choose the right component the first time.

How the calculation works

An LED has an approximately fixed forward voltage (V_f) set by its semiconductor material. The resistor absorbs whatever voltage is left over between the supply and the LED, and limits the current to a safe level:

R = (V_supply - V_f) / I_f

where I_f is the forward current in amps. All three quantities appear on the LED’s datasheet; the supply voltage comes from your circuit.

The tool then computes:

  • Exact resistor — the mathematically precise value from the formula above.
  • Nearest standard part — the next higher E12 or E24 value. Rounding up means the real current is always at or below your target; rounding down would exceed it.
  • Actual current with the chosen standard resistor: I_actual = (V_supply - V_f) / R_standard.
  • Power in the resistor: P = (V_supply - V_f) x I_actual (watts). This is heat you need to budget for and handle safely.
  • Recommended power rating: the first standard resistor wattage at or above twice the dissipated power, applying the common 50 % derating rule for long-term reliability.

Multi-LED configurations

Series string: the LED forward voltages add together (V_f_total = n x V_f), while the current through each LED is the same. One resistor controls the whole string: R = (V_supply - n x V_f) / I. Make sure V_supply is comfortably above n x V_f — typically at least 1–2 V of headroom.

Parallel branches: ideally each branch gets its own resistor. A single shared resistor is unreliable because tiny differences in Vf between physically identical LEDs cause current to pile into the LED with the lowest Vf. The parallel estimate in this tool assumes all LEDs are identical and is provided for rough checking only.

Worked example

A blue LED (V_f = 3.2 V) running from a 9 V battery at 20 mA:

QuantityValue
Voltage headroom9 - 3.2 = 5.8 V
Exact resistor5.8 / 0.020 = 290 Ω
Nearest E12 value330 Ω
Actual current5.8 / 330 = 17.6 mA
Resistor power5.8 x 0.0176 = 102 mW
Recommended rating1/4 W (250 mW)

Three blue LEDs wired in series from the same 9 V battery: combined V_f = 9.6 V — this exceeds the supply voltage, so the string will not work. Switch to two in series (V_f_total = 6.4 V, headroom = 2.6 V) and the resistor becomes 2.6 / 0.020 = 130 Ω, nearest E12 value 150 Ω.

Standard value series

Resistors are manufactured in preferred-value series so that the full resistance range is covered with the minimum number of distinct values. E12 has 12 values per decade (10 %, 5 mm through-hole packs), suitable for most hobby work. E24 doubles that to 24 values per decade (5 % tolerance), used in precision or surface-mount designs where finer steps matter. Both series repeat by multiplying the base values by powers of ten: 100 Ω, 1 kΩ, 10 kΩ and so on are all the same “10” base value at different decades.

Every figure is calculated locally in your browser — nothing is uploaded or stored.

Ad placeholder (rectangle)