LED Series Resistor Calculator
Use our free LED series resistor calculator to determine the resistance and power rating needed to safely limit current through one or more LEDs in series in a low-voltage DC circuit.
Calculate your LED resistor
The recommended resistance is rounded up to an E24 standard value. The recommended power rating is at least twice the nominal dissipation, with a minimum rating of 0.25 W.
How to calculate the resistor value
Subtract the total LED forward voltage from the supply voltage, then divide the remaining voltage by the desired current in amperes:
R = (Vs − N × Vf) / I
Where Vs is the DC supply voltage, Vf is the forward voltage of each identical LED, N is the number of LEDs in series, and I is the desired current in amperes. The resistor power dissipation is calculated using P = VR² / R, where VR is the voltage across the resistor.
Worked example: powering an LED with a 5 V DC supply
For a red LED with a forward voltage of 2 V and a desired current of 20 mA, the resistance is (5 − 2) / 0.020 = 150 Ω. The nominal resistor dissipation is 60 mW, so a 150 Ω, 0.25 W resistor is a suitable starting point.
Important design considerations
- Always refer to the LED datasheet for forward voltage and recommended operating current. Our calculator uses nominal values, so allow for supply variation, resistor tolerance, temperature and LED forward-voltage variation.
- Check worst-case current and resistor power, and follow the resistor manufacturer's thermal derating guidance.
- Use a separate current-limiting resistor for each parallel LED string.
- High-power LEDs generally benefit from a regulated constant-current driver. This calculator is intended for low-voltage DC circuits, not mains voltage.
Email support@tronixlabs.com if you have any questions or feedback. Check out our Electronics Calculators and Tutorials for other calculators and articles of interest.