How to calculate an LED current-limiting resistor
Enter the nominal DC supply voltage, forward voltage per LED at your intended current, how many identical LEDs share a series string, and the target current in milliamps. Series LEDs all carry the same branch current. Their forward voltage drops add. The resistor drops the voltage left over.
Resistor voltage = supply voltage − (LED count × forward voltage per LED). Resistance in ohms = resistor voltage ÷ target current in amps.
For two LEDs at 2.1 V each and a 9 V supply, the resistor sees 4.8 V. At 15 mA, the ideal resistance is 4.8 ÷ 0.015 = 320 Ω. The resistor dissipates 4.8 × 0.015 = 0.072 W, or 72 mW, in this model.
Compare a resistor you already have
Enter its nominal resistance to estimate the resulting current and power. A 330 Ω resistor with the same voltage across it gives about 14.55 mA and dissipates about 69.82 mW. The estimated current is lower than 15 mA at the entered nominal voltages.
Modeled current = resistor voltage ÷ chosen resistance. Modeled power = resistor voltage × modeled current.
How supply voltage, forward voltage and tolerance affect current
To explore a higher-current scenario, enter a higher supply voltage, a lower forward voltage per LED and optionally the resistor's tolerance. The worksheet subtracts that tolerance from the chosen resistor before recalculating. For 9.6 V, two LEDs at 1.9 V each and a 330 Ω resistor at 5% below nominal, the model uses 313.5 Ω and gives about 18.50 mA and 107.30 mW.
Use the actual part's datasheet and relevant operating conditions. The Analog Devices LED circuit guide explains that forward voltage changes with current. ROHM's LED circuit guidance shows how series drops add and why forward-voltage variation matters. Treat the result as a fixed-voltage scenario. Check component ratings and resistor derating for the package, temperature and mounting before selecting a part.
Which circuit does this model cover?
The calculator covers one DC series string at up to 30 V, with identical entered forward drops. Enter a separate worksheet calculation for each separately resisted branch. Shared-resistor parallel wiring, mains, switched drivers and thermal design use different circuit models.