Size the current-limiting resistor for an LED on a DC supply.
Single LED in series with one resistor on a DC supply.
5 V, Vf = 2.0 V, 20 mA -> R = 150 Ω, P = 0.06 W. Choose the next standard resistor >= 150 Ω and rate power with margin.
Vf varies with color, current, and temperature. For supplies near Vf the current becomes very sensitive; consider a constant-current driver.
All calculators →