LED Resistor Calculator

Calculate the current-limiting resistor, voltage drop, and power rating for one LED or a series LED string.

LED current-limiting resistor
Enter the supply voltage, one LED's forward voltage, desired current, and number of series LEDs.

About LED current-limiting resistors

An LED needs current control because its current rises sharply after the junction reaches its forward voltage. Connecting an LED directly to a stiff voltage source can therefore cause excessive current, overheating, color shift, shortened life, or immediate failure. A series resistor is the simplest current-limiting method for indicator LEDs and other low-power circuits where supply variation and efficiency are manageable. The resistor must absorb the voltage left after the LEDs. For a string of identical LEDs, subtract the forward voltage of each LED from the source voltage, then divide the remaining voltage by desired current in amperes. The calculator performs R = (Vs − nVf) / I. It also calculates resistor dissipation as the resistor voltage drop multiplied by current. The displayed design rating is twice that calculated dissipation, providing a practical 50 percent loading target for temperature and tolerance margin. Forward voltage is not perfectly fixed. It varies by LED color, semiconductor chemistry, current, junction temperature, manufacturing tolerance, and device age. Use a datasheet value at the intended current, and check both typical and worst-case values. Lower forward voltage creates more resistor current, so the minimum plausible Vf is often the important case for maximum current and resistor heating. Likewise, calculate with the maximum expected supply voltage rather than only its nominal value. LEDs in one series string share current, so their forward voltages add and only one resistor is required. Parallel branches should not normally share one resistor because small forward-voltage differences can cause uneven current distribution. Give each parallel string its own resistor. The source must exceed the sum of forward voltages with enough headroom for current regulation. If headroom is tiny, normal voltage variation can produce large brightness changes. Choose the next standard resistor value above the calculated minimum when protecting the LED is the priority. The slightly larger resistance reduces current. Select a resistor power rating at least as large as the displayed design recommendation, then consider enclosure temperature, ventilation, board heating, and resistor derating. For high-power LEDs, battery-powered lighting, wide supply ranges, or tightly controlled brightness, use a constant-current driver instead of a resistor. This calculator is best suited to quick, transparent design of simple low-current LED circuits.

LED resistor examples

Each result uses the total forward drop of all LEDs in the series string.

CircuitRequired resistorInterpretation
12 V source, one 2 V LED, 20 mA500 Ω, 0.2 WA resistor rated at least 0.4 W provides a two-times design margin.
9 V source, two 3 V LEDs, 15 mA200 Ω, 0.045 WThe two LEDs use 6 V and the resistor drops the remaining 3 V.
5 V source, one 3.2 V LED, 10 mA180 Ω, 0.018 WA common quarter-watt resistor has ample power margin.

How to choose an LED resistor

  1. Enter the highest source voltage the circuit is expected to encounter.
  2. Enter one LED's forward voltage at the desired operating current.
  3. Enter desired current in milliamps and the number of identical LEDs wired in series.
  4. Select Calculate resistor, then choose the next suitable standard resistance and a power rating at least as large as the recommendation.

LED resistor FAQ

Why does an LED need a resistor?

An LED's current changes steeply with voltage once it conducts. A series resistor converts excess supply voltage into a predictable current and protects the junction.

Which forward voltage should I use?

Use the datasheet value at your target current and operating temperature. Check the minimum forward voltage with maximum supply voltage for the highest-current case.

Can several LEDs share one resistor?

LEDs in the same series path can share one resistor because they carry the same current. Separate parallel branches should each have their own current-limiting resistor.

Why recommend twice the calculated resistor power?

Operating below the nameplate rating reduces resistor temperature and allows room for supply and component tolerance. Additional derating may be needed in a hot or enclosed assembly.

Should I round the resistance up or down?

Rounding up to the next standard value lowers current and is generally safer for the LED. Rounding down raises current and should only be done after checking worst-case limits.