Pick the right resistor so your LED gets its rated current and doesn't burn out. Enter the supply voltage, the LED's forward voltage and current, and how many LEDs are in series, and the calculator gives a standard resistor value you can buy, the current it actually delivers, the power it dissipates and a safe wattage rating. Color presets fill in typical forward voltages. It runs in your browser.
| LED color | Forward voltage |
|---|---|
| Infrared | 1.2–1.5 V |
| Red | 1.8–2.2 V |
| Yellow / orange | 2.0–2.2 V |
| Green | 2.0–3.2 V |
| Blue | 3.0–3.4 V |
| White | 3.0–3.4 V |
Around 20 mA is the classic figure for a 5 mm indicator LED, and modern LEDs are often bright enough at 5–10 mA. High-power LEDs need far more and usually a constant-current driver rather than a resistor. Check the datasheet.
Resistors come in standard values. Rounding up keeps the current at or just below your target; rounding down would push it over.
The tool suggests the smallest common rating that is at least twice the power the resistor dissipates, so it runs cool.
In series, yes — enter the count. Do not put LEDs in parallel on one shared resistor: small differences in forward voltage make one hog the current. Give each parallel branch its own resistor.
Then no resistor can work, and the tool tells you. Use fewer LEDs per string or a higher supply voltage.
No. It is arithmetic in the page.
An LED drops a roughly fixed forward voltage, so whatever the supply provides above that has to be dropped across a series resistor, and the resistor sets the current. With n LEDs in series the resistor carries Vsupply − n × Vf, and its value is that voltage divided by the target current. The ideal figure is rarely a value you can buy, so the calculator rounds it up to the next E24 preferred value rather than to the nearest one: rounding down would push the current above the LED's rating, while rounding up lands it at or slightly below. Current, resistor dissipation and LED power are then recalculated with the standard resistor actually used. The suggested wattage rating is the smallest common size — 1/8 W, 1/4 W, 1/2 W and upwards — that is at least twice the dissipated power, because a resistor run at its full rating gets hot enough to matter. If the LEDs' combined forward voltage meets or exceeds the supply, no resistor value can work and the tool says so instead of returning a negative resistance. Forward voltage varies by color and by part; the presets are typical values and the datasheet figure is better. Everything is computed in the page.