# 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.

## 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.

Your ad here?

[Email us](mailto:hi@dennn.is?subject=Advertising%20on%20OneClick%20Pro)

[Ad 433 tools for your AI agents through one MCP server.](https://multitaskai.com/?ref=oneclickpro)
