Skip to main content
Science & Engineering

LED Resistor Calculator

Find the series resistor an LED needs from the supply voltage, forward voltage and current, with the nearest standard value and power rating.

Also searched as: LED series resistor · current limiting resistor · resistor for LED · what resistor do I need for an LED

Your inputs

Results

Exact resistor value

150 Ω

Nearest standard (E12) value above
150 Ω
LED current with the standard resistor
20 mA
Power in the resistor
0.06 W
Suggested resistor power rating
0.125 W

✓Exact calculation — rounded only for display

Notes for this result

  • Use the forward voltage and current from the LED datasheet; typical values are about 2 V for red, 2.1 V for yellow and 3–3.3 V for white, blue and green LEDs.
  • The standard value is chosen above the exact value so the LED current stays at or below the target; the power rating includes a 2× safety margin.

What if?

Pick an input and drag the slider to see how the result changes.