LED Tool · 007

Wrong resistor.
Dead LED.

Enter your supply voltage, the LED's forward voltage, and desired current to get the exact series resistor value and wattage rating you need.

LED Series Resistor Calculator
Resistor Value — Ω
Nearest Standard Value —
Resistor Power Rating —
Formula: R = (Supply V − LED V) ÷ LED current. Always round up to the nearest standard resistor value to keep current at or below your target.

LED Resistor Calculator: Formula, Examples, and Wiring Guidance

LEDs require a current-limiting resistor in series to operate safely — without one, an LED will draw excessive current and fail almost immediately when connected to a typical power supply. This calculator finds the correct resistor value for your specific supply voltage, LED, and target current.

Why a Resistor Is Required

Unlike a regular resistive load, an LED's current does not increase gradually with voltage — once the supply voltage exceeds the LED's forward voltage, current rises very steeply for small increases in voltage. Without a resistor to limit current, this steep relationship means even a small excess voltage can drive current far beyond the LED's rated maximum, causing overheating and permanent damage within seconds. The series resistor "absorbs" the difference between the supply voltage and the LED's forward voltage while limiting current to a safe level.

Resistor Formula

R = (Vs − Vf) / I

where Vs is the supply voltage, Vf is the LED's forward voltage (typically 1.8–3.3V depending on color and type), and I is the desired LED current in amps (commonly 0.01–0.02A / 10–20mA for standard indicator LEDs).

5V Example

Supply: 5V, LED forward voltage: 2.0V (red LED), target current: 10mA (0.01A).

R = (5 − 2) / 0.01 = 300 Ω — the nearest standard value would be 330Ω, giving a slightly lower, safer current.

9V Example

Supply: 9V, LED forward voltage: 2.1V (red LED), target current: 20mA (0.02A).

R = (9 − 2.1) / 0.02 = 345 Ω — nearest standard value: 330Ω or 390Ω, depending on desired current margin.

12V Example

Supply: 12V, LED forward voltage: 3.2V (white/blue LED), target current: 20mA (0.02A).

R = (12 − 3.2) / 0.02 = 440 Ω — nearest standard value: 470Ω, which slightly reduces current for a safety margin.

Resistor Power Calculation

The resistor itself dissipates power as heat, calculated as P = I² × R. For the 9V example above: P = (0.02)² × 345 ≈ 0.138W. Since standard resistors are commonly rated at 1/8W (0.125W), 1/4W (0.25W), or 1/2W (0.5W), this example would need at least a 1/4W resistor — a 1/8W resistor would be underrated and could overheat.

Series LEDs

Multiple LEDs can be wired in series (one after another) sharing a single current-limiting resistor, as long as the supply voltage is comfortably higher than the sum of all the LEDs' forward voltages. For example, three red LEDs at ~2V each need at least 6V, plus enough headroom for the resistor to do meaningful current limiting — a 9V or 12V supply works well. Calculate the resistor using the combined forward voltage: R = (Vs − ΣVf) / I.

⚠ Parallel LED Warning

Connecting multiple LEDs in parallel across a single shared resistor is generally not recommended. LEDs have slightly different forward voltages even within the same batch, so when several are wired in parallel, the LED with the slightly lower forward voltage will conduct more current than the others — potentially far more — leading to uneven brightness and premature failure of that LED, sometimes triggering a cascading failure as remaining LEDs take on the extra load. If you need multiple LEDs in parallel, give each LED its own individual current-limiting resistor instead of sharing one.

FAQs

Why is a resistor needed? LEDs don't limit their own current — without a series resistor, current rises uncontrollably once forward voltage is exceeded, destroying the LED almost immediately.

Should I use the exact calculated value? Not necessary — round up to the nearest standard resistor value for a safety margin, or round down slightly if you want marginally more brightness (verify the resulting current stays within the LED's rated maximum).

Can I wire LEDs in parallel with one resistor? It's not recommended due to forward voltage variation between LEDs causing uneven current sharing — use individual resistors per LED instead.

What forward voltage should I use if I don't know my LED's exact spec? Common approximations: red/yellow/orange ≈ 1.8–2.2V, green ≈ 2.0–3.2V, blue/white/UV ≈ 2.8–3.6V — check the datasheet for accurate values when possible.

What happens if my resistor value is too low? Too low a resistance allows excess current through the LED, risking overheating and permanent damage or significantly shortened lifespan.

Related Calculators

All ElectroCalc Tools

Discussion