ECAD Workbench

Part of Circuit and resistor calculators

LED Series Resistor Calculator

Calculate the resistor value, dissipation, and a practical minimum wattage for a single LED.

Inputs

Enter the supply, LED forward voltage, and desired LED current.

Typical current entries can use engineering notation, such as 5m, 10m, or 20m.

Results

Series resistance150Ω
Resistor dissipation60mW
Suggested standard rating125mW
Voltage across resistor3V
LED current20mA

Design guidance

Forward voltage is not fixed

Real LED forward voltage changes with current, temperature, colour, and production tolerance.

  • Use datasheet minimum/typical/maximum values for worst-case current.
When to use it

Use a series resistor for simple indicator LED current limiting

A series resistor is a practical way to limit current through a low-power indicator LED when the supply voltage is known and current accuracy does not need a dedicated current regulator. The useful design check includes resistor value, resistor power, supply tolerance, and LED forward-voltage spread.

Panel or status LEDs

Size current-limiting resistors for simple low-current indicators.

GPIO-driven LEDs

Check current against both LED ratings and the source or sink capability of the driving pin.

Power margin

Confirm the resistor wattage after choosing the nominal current and resistor value.

Inputs and units

Enter supply voltage, LED forward voltage, and desired LED current. Current supports engineering notation such as 5m, 10m, or 20m for milliamps.

Supply voltage

Use the voltage actually applied to the LED-resistor string, including regulator tolerance where relevant.

Forward voltage

Use the LED forward voltage at the target current, not just a generic colour estimate.

LED current

Choose a current that fits the LED rating, brightness need, battery budget, and driver capability.

Equations and variable definitions

The calculator uses the nominal DC resistor model. It assumes one LED and one series resistor in the same current path.

R = (Vsupply - Vf) / If

Series resistance

Subtract the LED forward voltage from the supply voltage, then divide by target LED current.

Vresistor = Vsupply - Vf

Resistor voltage drop

The resistor only controls current using the voltage left over after the LED forward drop.

P = Vresistor × If

Resistor power

The resistor dissipates the voltage across it multiplied by LED current.

Vsupply - Supply voltage

Unit: volts (V)

The voltage feeding the LED and series resistor path.

Vf - LED forward voltage

Unit: volts (V)

The LED voltage at the chosen current, usually read from the datasheet or measured.

If - LED current

Unit: amps (A)

The desired LED current through the LED and resistor string.

R - Series resistance

Unit: ohms (Ω)

The resistor value needed to set the target current at the nominal operating point.

Worked example

The example below is checked against the same LED series resistor helper used by the calculator.

Design question: A 5 V rail drives a 2.0 V indicator LED at 10 mA. What series resistor and resistor rating are needed?

Inputs: Vsupply = 5 V, Vf = 2.0 V, If = 10 mA, margin = 2× for resistor power.

Resistor drop: Vresistor = 5 V - 2 V = 3 V.

Series resistance: R = 3 V / 10 mA = 300 Ω.

Resistor power: P = 3 V × 10 mA = 30 mW. With 2× margin, required power is 60 mW.

Suggested rating: the next listed standard rating above 60 mW is 0.063 W.

Nominal versus worst-case LED current

The nominal resistor value only matches the nominal LED forward voltage and supply voltage. Real LED current moves when those values move.

Current rises when

  • Supply voltage is high.
  • LED forward voltage is low.
  • The chosen resistor is at the low end of its tolerance band.

Current falls when

  • Supply voltage is low.
  • LED forward voltage is high.
  • The chosen resistor is at the high end of its tolerance band.

Assumptions and limitations

Single LED model

The calculator assumes one LED and one resistor in series. Multiple LEDs need the combined forward-voltage drop.

Low-power use

This is intended for simple current-limited LEDs, not high-power lighting or precision current regulation.

Thermal context still matters

Check both LED and resistor temperature rise when current, ambient temperature, or enclosure heating is significant.

Related calculators and next checks

Follow the next check based on whether the concern is current, power, tolerance, or units.

FAQ

Should I use typical or maximum LED forward voltage?

Use typical values for a first-pass estimate, but check minimum and maximum forward-voltage values when current limits, brightness range, or production tolerance matter. Low forward voltage usually gives higher current for the same resistor.

Why does low resistor voltage headroom matter?

If the resistor only drops a small part of the supply voltage, changes in LED forward voltage or supply voltage create a larger percentage change in current. More resistor headroom usually makes the current less sensitive to LED variation.

Is this suitable for high-power LEDs?

This simple resistor model is best for low-current indicators and similar circuits. High-power LEDs normally need current regulation, thermal design, and datasheet operating limits checked directly.

Engineering reference

Equations, assumptions, and design guidance

Exact equation

Uses the DC resistor drop between supply voltage and LED forward voltage to size a series resistor and power rating.

Equations and variables
Series resistanceR = (Vs - Vf) / If
Resistor powerP = (Vs - Vf) * If
Vs
Supply voltage (V)
Vf
LED forward voltage (V)
If
LED current (A)
Assumptions and limitations

Assumptions

  • LED forward voltage is entered for the intended current.
  • The supply is DC and the resistor carries the LED current continuously.

Limitations

  • LED forward-voltage spread, temperature drift, PWM pulse limits, and supply tolerance are not fully enumerated in this nominal calculator.
Worked example and design use

5 V indicator LED

Inputs: Vs = 5 V, Vf = 2 V, If = 20 mA

Outputs: R = 150 ohm, P = 60 mW before rating margin

Design guidance

  • Use datasheet minimum and maximum forward voltage for worst-case current checks.
  • Check both LED current rating and resistor thermal derating.