Quick answer
A white LED (about 3.2 V) on 12 V at 20 mA needs a 470 Ω resistor. The exact value is (12 − 3.2) ÷ 0.02 A = 440 Ω, rounded up to the next standard value. It dissipates 160 mW, so a ½ W resistor is fine.
Open the LED Resistor Calculator
Working it out
R = (Vsupply − Vf) ÷ I = (12 − 3.2) ÷ 0.02 = 440 Ω
- Next standard value up (E12): 470 Ω
- Actual current with 470 Ω:
(12 − 3.2) ÷ 470 = 18.7 mA - Resistor power:
0.0187² × 470 ≈ 160 mW, so use a ½ W (0.5 W) resistor or larger
Rounding up keeps the current at or below 20 mA, which is the safe direction. The brightness difference is too small to see.
Other LED colors on 12 V at 20 mA
| LED | Forward voltage | Exact resistor | Standard (E12) |
|---|---|---|---|
| Red | 2 V | 500 Ω | 560 Ω |
| Yellow | 2.1 V | 495 Ω | 560 Ω |
| Green | 2.2 V | 490 Ω | 560 Ω |
| Blue | 3.2 V | 440 Ω | 470 Ω |
| White | 3.2 V | 440 Ω | 470 Ω |
Forward voltages are typical values. Check your LED's datasheet, especially for high-brightness or SMD LEDs, and enter the exact figure in the calculator.
Terms on this page: Forward voltage (LED), E-series (standard resistor values)
Frequently asked questions
Can I use a 680 Ω resistor for a white LED on 12 V instead?
Yes. A higher value only makes the LED dimmer and safer: about 13 mA instead of 19 mA. Never go much lower than 470 Ω.
How many white LEDs can I put in series on 12 V?
Up to 3 if each LED needs about 3.2 V and you leave some voltage for the resistor. Enter the number of LEDs in the calculator to get the resistor for the string.
Do I need a resistor for every LED?
For LEDs in parallel, yes: each one needs its own resistor. LEDs in series can share a single resistor.