LED Series Resistor Calculator

LED Current · E24 Values · Resistor Power

Size the resistor for your LED string

Enter the supply voltage, LED forward voltage, and target current. See a preferred E24 value and the resistor’s heat load.

LED and supply values

For a conservative check, enter the highest expected supply voltage and the lowest forward voltage at the intended operating conditions.

Suggested E24 resistor

160 Ω
Exact resistance at target
—
Voltage across resistor
—
Current at nominal R
—
Current at lowest R
—
Resistor heat at lowest R
—
Common rating at 2× heat
—
Calculation and assumptions

R = (Vsupply − N × VF) ÷ I. The suggested E24 nominal value is rounded upward after allowing for the resistor’s negative tolerance. The low resistance end gives the highest modeled current and dissipation.

LED forward voltage is treated as a fixed input. The 2× power margin is a starting point for part selection. Check the resistor’s temperature derating and mounting conditions for your design.

How to use this calculator

Choose a resistor that limits LED current and can handle the heat. Enter the supply voltage, forward voltage per LED, how many LEDs share the string, and your target maximum current. The result includes the exact resistance and a practical E24 value.

A series resistor sets LED current A 5 volt supply drives a red LED and a 160 ohm resistor in one loop. At the entered 2 volt forward drop, 3 volts are across the resistor and the nominal current is 18.75 milliamps. A series resistor sets LED current A 5 V supply, one red indicator LED, and a 160 Ω resistor 5 V 160 Ω LED 18.75 mA nominal Where the 5 V goes Across the LED 2 V Across the resistor 3 V Nominal loop current 3 V ÷ 160 Ω
A 5 V source leaves 3 V across the resistor after a 2 V drop at the LED. A nominal 160 Ω resistor gives 18.75 mA in this example.

How to calculate a resistor for an LED

Subtract the total LED forward voltage from the supply voltage, then divide the remaining voltage by the target current in amperes.

R = (VS − N × VF) ÷ I

For 20 mA, enter 20 in the calculator. In the equation that is 0.020 A. The same current flows through every part of a series string, so add the LED forward voltages and count the current once. With mixed LEDs, enter the sum of their forward voltages as one equivalent LED.

Why the suggested resistor can be higher

For a 5 V supply and a 2 V LED, the ideal 20 mA value is 150 Ω. A 150 Ω part with ±5% tolerance might measure only 142.5 Ω. The calculator instead rounds up to 160 Ω, giving 18.75 mA at nominal resistance and about 19.74 mA at the low end of tolerance for these voltage inputs.

At that low resistance the resistor dissipates about 59 mW. The tool compares twice this dissipation with common wattage ratings as a first selection step. Apply the resistor’s temperature derating and check the mounting conditions before choosing the part.

Check the voltage and current corners

Look up LED forward voltage at the intended current and temperature. For a current limit check, use the highest supply voltage and lowest expected LED forward voltage. For a minimum brightness check, use low supply voltage, high LED forward voltage, and high resistance. If the supply is at or below the sum of the forward voltages, the calculator has no positive voltage margin to use.

Use a separate resistor per parallel string so component differences have less effect on how branches share current. For a high power emitter or tight current regulation, consider a constant current driver.

Frequently asked questions

What resistor do I need for a 5 V red LED?

With a 2 V forward voltage and a 20 mA target, the exact result is 150 Ω. For a ±5% E24 resistor and the same voltage inputs, 160 Ω keeps the modeled current below 20 mA even at the lowest resistance.

How do I calculate LED resistor wattage?

Multiply current squared by resistance, or divide the resistor voltage squared by resistance. Use the worst case electrical dissipation and check the part’s wattage derating at its operating temperature.

Can several LEDs share one resistor?

A single resistor can serve one series string because each LED carries the same current. For separate parallel strings, place a resistor in each branch.

What if the LED forward voltage changes?

The resistor current changes with the voltage left across it. Use datasheet limits at your intended current and temperature to estimate the range.

Technical references · Vishay E-series preferred values · DigiKey LED series resistor reference

Consult with an Expert

Get a formal quote

Get a formal quote