LED Resistor Calculator
Find the series resistor an LED needs. An LED without a resistor will draw too much current and burn out — the resistor drops the extra supply voltage and limits the current to a safe value.
Worked Examples
Example 1 — 12 V supply, 2 V red LED, 20 mA: R = (Vs − Vf) ÷ If = (12 − 2) ÷ 0.02 = 10 ÷ 0.02 = 500 Ω. The nearest E24 standard value is 510 Ω. Power in the resistor = 0.02² × 500 = 0.0004 × 500 = 0.2 W, so use a 1/2 W resistor.
Example 2 — 5 V supply, 3.2 V white LED, 20 mA: R = (5 − 3.2) ÷ 0.02 = 1.8 ÷ 0.02 = 90 Ω. The nearest E24 value is 91 Ω; a common 100 Ω resistor also works fine — it gives 18 mA, just slightly dimmer.
Example 3 — 24 V supply, 3 V white LED, 20 mA: R = (24 − 3) ÷ 0.02 = 21 ÷ 0.02 = 1,050 Ω (1.05 kΩ). The nearest standard value is 1.1 kΩ. Power = 0.02² × 1,050 = 0.42 W, so use a 1 W resistor.
Frequently Asked Questions
1. What is the LED resistor formula?
R = (Vs − Vf) ÷ If. Subtract the LED forward voltage from the supply voltage, then divide by the LED current in amps. Example: (12 − 2) ÷ 0.02 = 500 Ω.
2. What happens if I connect an LED without a resistor?
The LED draws as much current as the supply can give and burns out in seconds — sometimes with a pop and smoke. Always use a series resistor (or a constant-current driver).
3. What is a standard resistor value?
Resistors are sold in the E24 series (10, 11, 12, 13, 15, 16, 18, 20, 22, 24, 27, 30, 33, 36, 39, 43, 47, 51, 56, 62, 68, 75, 82, 91 × 10, 100, 1,000 ...). Pick the nearest value equal to or above your calculated resistance.
4. How do I pick the resistor wattage?
Calculate the power the resistor dissipates (P = I²R) and use a resistor rated at least double that. A 0.2 W dissipation needs a 1/2 W resistor; 0.42 W needs a 1 W resistor.
5. Can I use one resistor for several LEDs in parallel?
Not recommended — small differences between LEDs make one hog the current and burn out. Use one resistor per LED, or wire the LEDs in series with a single resistor (add their forward voltages together).
Also Read
- Breaker Watts Calculator — watts a breaker can handle
- Power Loss Calculator — I²R loss in a wire
- Wire Size Calculator — pick the right AWG
- AC BTU & Tonnage Calculator — room size to AC tonnage
- Electrical MCQs — 5,000 practice questions with answers