LED Resistor Calculator
LED resistor calculator tells you what resistor you should use when connecting LEDs in series or parallel.
The formula
R = (V_supply − V_f) ÷ I_f
An LED has no useful resistance
A diode's current rises exponentially with voltage, so a fraction of a volt over the forward drop produces a destructive current. LEDs are therefore driven by controlling the current, not the voltage, and the simplest way is a series resistor sized to drop whatever the supply leaves over.
That resistor wastes the difference as heat. Running a 2.1 V LED from 12 V puts 82% of the power in the resistor, which is fine for an indicator and hopeless for lighting. Putting more LEDs in series recovers most of it, which is why LED lamps run long strings at high voltage — and why anything beyond indicators uses a switching constant-current driver.
Never put LEDs in parallel across one resistor. Forward voltages vary by tens of millivolts between nominally identical parts, and because current depends exponentially on that voltage, the LED with the lowest drop takes a disproportionate share, runs hottest, drops further as it warms, and takes more still. Each parallel branch needs its own resistor.