LED Resistor Calculator
Calculate the series resistor value, power dissipation, and the nearest standard resistor (E12 / E24 / E96). Inputs start blank — use Load example for a quick demo set.
Inputs
Assumes a resistor per series string (recommended). For LEDs in parallel, build identical strings and give each string its own resistor.
Example: 5V USB, 12V rail, 3.0V coin cell.
Typical indicator LEDs: 2–20mA (check datasheet). Total current = per-string × P
⚠ Outside typical range (2–20mA)—check datasheet
Required (strict mode). Number of LEDs in each series string.
Required (strict mode). Number of parallel strings.
Vf depends on colour, current, temperature, and LED type.
Choosing a preset updates the Vf field and LED colour.
Nearest standard value is computed only when a series is selected.
For high‑power LEDs, wide input variation, or efficiency‑sensitive designs, use a constant‑current LED driver rather than a resistor.
Results
Calculated once all required inputs are present. Always validate thermals and tolerances for production.
Diagram (SVG output)
Live schematic with P parallel strings of S series LEDs. Labels update with calculated values.
Tip: choose resistor wattage with margin (often 2× or more) to keep temperatures reasonable.
How the calculation works
LEDs are current-driven devices. A small voltage change can cause a large current change, so a current limiter is needed. The simplest limiter is a series resistor.
Core formulas
Why it's required
- Protects the LED: limits current to a safe value, preventing damage.
- Improves consistency: Vf varies part-to-part and with temperature — current limiting stabilises brightness.
- Avoids thermal runaway: as LEDs warm, Vf tends to drop, which can increase current without a limiter.
Practical tip: choose a resistor power rating with margin (often 2× or more) to keep temperatures reasonable.