AbraCalc

LED Resistor for 5V Supply and Red LED (20mA)

For a 5V supply powering a red LED with a 2.0V forward voltage at 20mA, the required series resistor is 150 ohms.

Embed this tool on your site

How to use this tool

  1. Enter supply voltage (vs), led forward voltage (vf) and led current in the fields above.
  2. Results update instantly as you type — or click Calculate.
  3. Read your series resistance and the full breakdown beneath it.

Calculate the correct series resistor for a red LED running from a 5-volt supply at 20mA operating current.

Frequently asked questions

What forward voltage should I use?
Red and yellow LEDs are typically 1.8–2.2 V. Green, blue, and white LEDs are usually 3.0–3.5 V. Check your LED's datasheet for the exact value.
What current should I use?
Standard 5 mm through-hole LEDs are rated for 20 mA maximum. A common value for a bright but conservative drive is 10–15 mA.
Should I round up or down to the nearest standard resistor value?
Round up to the next E12/E24 standard value to keep current at or below the rated maximum. Rounding down would exceed the LED's current rating.