Skip to content

LED Resistor Calculator

Calculate the series resistor for one or more LEDs from the supply voltage, the LED forward voltage and the desired current. The result gives the exact value, the next standard E24 resistor, the actual current and the power rating to use.

Reset

Frequently asked questions

How is the resistor calculated?

R = (supply voltage - forward voltage × number of LEDs) / current. For a 5 V supply, a 2 V LED and 20 mA, that is 150 Ω.

What forward voltage should I use?

The value from the LED's datasheet. Typical values are about 2 V for red and yellow, 2 to 2.2 V for green and 3 to 3.3 V for blue, white and modern green LEDs.

Why use the next higher standard value?

Resistors come in standard series such as E24. Rounding up keeps the current at or slightly below your target, which protects the LED.

How do I wire several LEDs?

Enter the number of LEDs in series; their forward voltages add up and share one resistor. For parallel LEDs, give each its own resistor.

Which power rating do I need?

The tool suggests a standard rating at least twice the power the resistor dissipates, such as 1/4 W.

What if the supply voltage is too low?

The supply must be higher than the total forward voltage. If it is not, the tool says so; use fewer LEDs in series or a higher voltage.

About OneClick Pro

OneClick Pro is a free collection of more than 150 web tools for everyday work: converting images and units, formatting and validating code, checking domains and SEO, and working with text, dates and numbers. Every tool runs without registration or subscription, and what you enter is only used to calculate your result and is never stored. Use it as a quick toolbox for one-off tasks, or bookmark the tools you rely on every day.