Skip to content
Calc.

LED Series Resistor Calculator

Calculate the series resistor for one or more LEDs in series: R = (supply voltage − LED forward voltage × number of LEDs) ÷ LED current, with resistor power and the next standard value.

Last updated: October 2026

Series Resistance

440 Ω

Formula below · 1 source (learn.sparkfun.com) · Updated Oct 2026

Compare with similar

About this calculator

An LED needs something to limit its current: above its forward voltage, a small increase in voltage causes a large increase in current, and the LED overheats. The simplest limiter is a resistor in series, which takes up the voltage the LEDs do not use:

R = (V supply − V forward × number of LEDs) ÷ I

With the defaults, one white LED (3.2 V) at 20 mA from 12 V: 12 − 3.2 = 8.8 V across the resistor, and 8.8 V ÷ 0.020 A = 440 Ω (next standard value 470 Ω). The resistor dissipates 8.8 × 0.020 = 0.176 W, so use a ½ W part. Three of the same LEDs in series from 12 V leave only 12 − 9.6 = 2.4 V for the resistor: 2.4 V ÷ 0.020 A = 120 Ω and 0.048 W, so a ¼ W part is ample and far less power is wasted as heat.

Typical forward voltages

Red about 1.8–2.2 V, yellow and orange about 2.0–2.2 V, green, blue and white about 2.8–3.4 V. Use the datasheet values for your LED, and its rated current (20 mA is common for 5 mm indicator LEDs; many modern LEDs are bright at 5–10 mA).

Choosing the part

If the result is not a standard value, use the next standard value up (shown in E24), which gives slightly less current. Choose a power rating at least twice the dissipation. Leave a reasonable voltage margin across the resistor: when it drops only a few tenths of a volt, small differences in forward voltage or supply voltage change the current a lot. For LEDs in parallel, give each one (or each series string) its own resistor.

How to use

Enter the supply voltage, the LED forward voltage and current from the datasheet, and how many LEDs are in series. Example 1 (defaults): one white LED (3.2 V) at 20 mA from 12 V: (12 − 3.2) ÷ 0.020 = 440 Ω, 0.176 W (use 470 Ω, ½ W). Example 2: three white LEDs in series from 12 V: (12 − 3 × 3.2) ÷ 0.020 = 120 Ω, 0.048 W. Example 3: one red LED (2.0 V) at 20 mA from 5 V: (5 − 2.0) ÷ 0.020 = 150 Ω, 0.06 W. Example 4: one white LED (3.2 V) at 10 mA from 5 V: 1.8 ÷ 0.010 = 180 Ω.

Frequently asked questions

How do I calculate the resistor for an LED?

Subtract the total LED forward voltage from the supply voltage and divide by the LED current in amps. (5 − 2.0) ÷ 0.020 = 150 Ω.

What wattage resistor do I need?

Multiply the voltage across the resistor by the current: 3.0 V × 0.020 A = 0.06 W. Choose at least double, so a ¼ W (0.25 W) resistor is fine here.

What if the result is not a standard resistor value?

Use the next higher standard value. The LED will run at slightly less current, which is safe and usually barely visible.

Can one resistor drive several LEDs in parallel?

It is not recommended. LEDs' forward voltages differ slightly, so one LED takes more of the current and can fail. Use one resistor per LED or per series string.

Related calculators

Sources & references

How we check our calculators

Think a result is wrong? Report a problem with this calculator.