LED Resistor Calculator

Find the series resistor for an LED.

Resistor value (Ω) 150
Resistor power (W) 0.06

Formula: R = (Vsupply − Vled) ÷ I

Step-by-step with your numbers:
1. Values used:
2. Supply voltage = 5 V
3. LED forward voltage = 2 V
4. LED current = 20 mA
5.
6. Resistor value = 150Ω
7. Resistor power = 0.06W
Did we solve your problem today?

Pick a current-limiting resistor so an LED runs safely.

The math behind it

R = (supply voltage − LED forward voltage) ÷ LED current (in amps).

Worked example

5 V, 2 V LED, 20 mA → 150 Ω.

FAQ

Resistor wattage?

Choose a resistor rated above the power shown.