Skip to main content
CircuitSim® logo
CircuitSim® logo

LED series resistor calculator

Choose a current-limiting resistor from the supply voltage, LED forward voltage and target current.

Configure

V

Supply voltage

V

LED forward voltage

A

Target LED current
Advanced

Ω

Series resistance

Enter an existing resistor to check its LED current.

Sizes up to the next E24 resistor value.

Loading CircuitSim schematic…

Results

Series resistor150 ΩSelected value for R1
LED results
LED current20 mA
Resistor power60 mW
Resistor voltage3 V
Suggested power rating125 mW
Advanced results
LED sizing details
Ideal resistance150 Ω
Target current20 mA
LED power40 mW

Uses a fixed LED forward drop. Power rating includes 2× headroom; check the part’s temperature derating and maximum current.

How an LED current-limiting resistor works

The resistor drops the supply voltage left over after the LED’s forward voltage. Dividing that voltage by your target current gives the ideal resistance. This calculator rounds upward to an E24 preferred value, then calculates the current and power with the selected resistor.

R=VS−VFIR = \frac{V_S - V_F}{I}

Use the LED datasheet’s forward voltage at the intended current. D1 uses a fixed forward-drop diode approximation, with 1 mΩ on resistance in the simulator. It does not model an LED’s full nonlinear curve, temperature dependence or brightness. Account for supply variation, forward-voltage variation and resistor tolerance when choosing real parts.

Edit the component values on the canvas, or choose Try in CircuitSim to simulate your circuit.