LED Resistor Calculator

Find the correct current-limiting resistor for any LED circuit — single LEDs, series strings, and parallel arrays.

Single LED

R = (Vs − Vf) / If
V
V

Series String

R = (Vs − n×Vf) / If
V
#
V

Parallel Array

R = (Vs − Vf) / (n × If)
V
#
V
LED Quick Reference
ColourTypical VfTypical IfWavelengthNotes
Red1.7–2.0 V10–30 mA620–750 nmMost common; indicators
Orange1.9–2.2 V10–30 mA590–620 nmIndicators, displays
Yellow2.0–2.2 V10–30 mA570–590 nmIndicators
Green2.0–3.5 V10–30 mA495–570 nmWide variation by type
Blue2.5–3.5 V10–30 mA450–495 nmHigher Vf than red/green
White3.0–3.5 V10–30 mA—Blue chip + phosphor
IR1.2–1.7 V20–100 mA780–1000 nmRemote controls, sensors
Tip: Never connect an LED directly to a voltage source without a resistor. The calculator rounds up to the next E24 standard value, so the LED never gets more current than you set, and sizes the resistor wattage at twice its dissipation. Max continuous current for most 5mm LEDs is 20–30 mA.