ConstructionCalculators

LED Resistor Calculator

Enter the supply voltage, LED color, number of LEDs in series and current to get the standard resistor value and its wattage.

12 V470 Ω3.3 V each18.5 mA
V
mA

Resistor

470Ω

E24 value next above 435 Ω

Currenttarget 20 mA
18.5 mA
Resistor powerI² × R
161 mW
Resistor ratingtwice the power or more
1/2 W
Across the resistor12 V − 1 × 3.3 V
8.7 V
LED power1 × 3.3 V × current
61 mW

What Resistor Do I Need for an LED?

A white LED on a 12 V supply at 20 mA needs a 470 Ω resistor. The exact value is 435 Ω; 470 Ω is the next standard value up, which lets 18.5 mA flow and warms the resistor with 161 mW, so a 1/2 W resistor runs cool.

Resistors for common supplies at 20 mA, rounded up to the E24 series:

SupplyLEDsResistormA
3.3 V1 red75 Ω18.7
5 V1 red160 Ω19.4
5 V1 white91 Ω18.7
9 V1 red360 Ω19.7
9 V2 white120 Ω20.0
12 V1 red510 Ω19.8
12 V1 white470 Ω18.5
12 V3 white110 Ω19.1
24 V1 white1,100 Ω18.8
24 V6 white220 Ω19.1

Resistor for one LED at 20 mA, red against white:

Red, 1.9 VWhite, 3.3 V
5 V
160 Ω
91 Ω
9 V
360 Ω
300 Ω
12 V
510 Ω
470 Ω
24 V
1,200 Ω
1,100 Ω
Red, 1.9 V, White, 3.3 V, in ohms

A white LED needs a smaller resistor than a red one on the same supply, because it takes 3.3 V of the supply for itself where a red LED takes 1.9 V.

How to Calculate an LED Resistor

  1. 1Find the forward voltage and current on the LED datasheet. Most 5 mm LEDs are rated 20 mA.
  2. 2Subtract the forward voltage of each LED in series from the supply voltage. What is left is the voltage across the resistor.
  3. 3Divide that voltage by the current in amps: 20 mA is 0.020 A.
  4. 4Round up to the next standard resistor value, so the current stays at or under the target.
  5. 5Multiply the current squared by the resistance for the power, and choose a resistor rated for about twice that.
R = (supply voltage − LEDs × forward voltage) ÷ current(12 − 3.3) ÷ 0.020 = 435 Ω → 470 Ω8.7 V ÷ 470 Ω = 18.5 mA; 0.0185² × 470 = 0.161 W

Forward voltage varies from one LED to the next. The white LED in the table is 3.3 V typical but up to 4.0 V on its datasheet; at 4.0 V the same 470 Ω lets 17 mA through, a little dimmer and still safe. Its absolute maximum is 30 mA, so never round the resistor down to get more light.

LEDs in Series and Parallel

In series, the same current runs through every LED and one resistor sets it. Three white LEDs on 12 V use 9.9 V, leaving 2.1 V for a 110 Ω resistor:

12 V110 Ω3.3 V each19.1 mA
12 V, three white LEDs in series, 110 Ω, 19.1 mA

Series strings waste less power in the resistor: this one burns 40 mW, against 161 mW for a single LED on the same 12 V. Leave at least a volt or two across the resistor, though. The closer the LEDs come to the supply voltage, the more a small change in either swings the current.

In parallel, give each LED its own resistor:

12 V12 V12
  1. 1A 470 Ω resistor for each LED: each gets about 18.5 mA
  2. 2One resistor shared: the LED with the lower forward voltage takes most of the current

Resistor Wattage

The resistor turns the extra voltage into heat: current squared times resistance. Small through-hole resistors come in 1/8, 1/4 and 1/2 W, and common practice is to use one rated for about twice the power it carries. The calculator picks that rating.

Higher supply voltages need bigger resistors. One white LED on 24 V takes a 1,100 Ω resistor that burns 390 mW, more than a 1/4 W part can take, so the calculator calls for 1 W. Run several LEDs in series instead, and the resistor shrinks: six white LEDs on 24 V need only 220 Ω and 80 mW.

Common Supplies

  • 3.3 V: enough for red, yellow and orange LEDs; white and blue LEDs need about the full 3.3 V themselves.
  • 5 V, USB and Arduino: 160 Ω for red and 91 Ω for white at 20 mA. A 330 Ω resistor runs a red LED at about 9 mA, bright enough for an indicator and gentle on a microcontroller pin.
  • 9 V battery: 360 Ω for red, 300 Ω for white, 120 Ω for two white LEDs in series.
  • 12 V: a car or RV system rises to about 14.4 V while the engine charges the battery, so size the resistor at 14.4 V there, or use a driver. Long 12 V runs lose voltage in the wire: check how much the run drops, and pick a wire gauge to match.
  • 120 V AC: not with a simple resistor. A typical LED is rated for only 5 V in reverse, and the resistor would have to burn about 2 W. Use a bulb or fixture made for line voltage.

For lighting a room with LED bulbs rather than building a circuit, the lighting calculator works out the lumens and bulbs.

Resistor or Driver?

Every bare LED needs something to limit its current. Past its forward voltage, a small rise in voltage makes a large rise in current, and the LED overheats. A resistor is the simple answer for indicator LEDs of about 20 mA.

Power LEDs are a different case. One white LED at 350 mA on 12 V would need a 27 Ω resistor burning 2.8 W, more than twice the power the LED itself uses. Power LEDs, and anything over about 1 W, run on a constant-current driver, which holds the current steady as the LED warms up.

Standard Resistor Values

Resistors come in fixed series of values. E12 has twelve values in each decade, used for 10% resistors; E24 has twenty-four, for 5% and 2% parts:

SeriesValues, times 1, 10, 100, 1,000 …
E1210, 12, 15, 18, 22, 27, 33, 39, 47, 56, 68, 82
E2410, 11, 12, 13, 15, 16, 18, 20, 22, 24, 27, 30, 33, 36, 39, 43, 47, 51, 56, 62, 68, 75, 82, 91

The calculator rounds the exact value up to the next one in the series you pick, so 435 Ω becomes 470 Ω in either series. With E24 a 505 Ω result becomes 510 Ω; E12 has no 510, so it jumps to 560 Ω and the LED runs a little dimmer.

Frequently Asked Questions

What resistor do I need for an LED on 12 volts?

For one white or blue LED at 20 mA: (12 − 3.3) ÷ 0.02 = 435 Ω, so the next standard value up, 470 Ω, which lets 18.5 mA through. For a red LED: (12 − 1.9) ÷ 0.02 = 505 Ω, so 510 Ω.

What resistor do I need for an LED on 5 volts?

About 160 Ω for a red LED at 20 mA, (5 − 1.9) ÷ 0.02 = 155 Ω rounded up, and 91 Ω for a white one, (5 − 3.3) ÷ 0.02 = 85 Ω rounded up.

What resistor do I need for an LED on 3.3 volts?

75 Ω for a red LED at 20 mA. A white or blue LED needs about 3.3 V itself, which leaves nothing for a resistor: run it from 5 V, or use a constant-current driver.

What resistor do I need for a 9 volt battery?

360 Ω for one red LED at 20 mA, 300 Ω for one white LED, or 120 Ω for two white LEDs in series. A battery’s voltage sags as it drains, so the LEDs dim with it.

How do I calculate the resistor for LEDs in series?

Subtract the forward voltage of every LED from the supply and divide by the current. Three white LEDs on 12 V: (12 − 9.9) ÷ 0.02 = 105 Ω, so 110 Ω. If the LEDs need more than the supply, they will not light.

Can I use one resistor for LEDs in parallel?

Not reliably. LEDs share current unevenly because their forward voltages differ, so give each LED or each series string its own resistor.

What wattage resistor do I need for an LED?

Multiply the current squared by the resistance: 0.0185² × 470 = 0.161 W for the 12 V white LED. Choose a rating with room to spare: a 1/4 W resistor carries it, a 1/2 W runs cooler.

Do I need a resistor for an LED strip?

Not for a 12 V or 24 V strip run at its rated voltage: those strips carry their own resistors, one for each short group of LEDs. A bare LED always needs something to limit its current, a resistor or a driver.

What is the forward voltage of an LED?

Typical values for 5 mm LEDs: red 1.9 V, yellow 1.95 V, orange 2.0 V, yellow-green 2.2 V, true green 3.2 V, blue and white 3.3 V. The datasheet of your LED gives the exact figure.

What is an LED load resistor for turn signals?

A different part with a different job. LED turn signals draw so little current that the flasher blinks fast, so a load resistor wired in parallel draws the current the old bulb did: a 6 Ω resistor at 12 V draws 2 A, 24 W, and gets hot.

Sources

  • Kingbright. (n.d.). WP7113 series T-1¾ (5 mm) LED lamp datasheets.
  • Meier, K. (2019, November 7). How to select a resistor for an LED. DigiKey.
  • Vishay Dale. (2006). Standard electronic decade value tables (Doc. 31001).

Updated .

Cite this page as:

Daniel, P. LED Resistor Calculator. Available at: https://constructioncalculators.com/led-resistor-calculator/. Accessed: October 28, 2026.