My tools

LED RESISTOR / R = (VS − VF) ÷ I

LED Resistor Calculator

Enter the supply voltage, LED colour or forward voltage, current, LEDs per string and number of strings for the standard value, actual current, dissipation and wattage.

Local calculation · inputs stay in your browser
Supply voltage presets:
Vs: 5 VR: 150 ΩVf: 2 VI: 20 mAGND (0 V)

Result

—

SAVE AND SHARE

Keep this calculator handy

Copy the link to share this calculator with your team, or print the page and choose Save as PDF to file the current inputs and results with your drawings.

Contact us

Free to use, no sign-up needed and no card required.

Working with a sales team? Create a company account →

How to use the LED resistor calculator

  1. Enter the supply voltage and choose the LED colour or type the datasheet forward voltage.
  2. Enter the target current, LEDs per string and the number of strings.
  3. Use the standard value and wattage shown, and check the actual current.

LED forward voltage and resistor chart (20 mA)

Series resistor R = (supply − forward voltage × LEDs in series) ÷ current. The table uses 20 mA, one LED and a typical forward voltage, rounded up to the next E24 value so the current stays at or below 20 mA. Use the forward voltage from your LED datasheet.

By colour and supply voltage
LED colourForward voltage3.3 V5 V12 V24 V
Red1.8–2.2 V68 Ω150 Ω510 Ω1.1 kΩ
Orange2.0–2.2 V62 Ω150 Ω510 Ω1.1 kΩ
Yellow2.0–2.2 V62 Ω150 Ω510 Ω1.1 kΩ
Green (InGaN)2.8–3.4 V15 Ω100 Ω470 Ω1.1 kΩ
Blue2.9–3.4 V5.1 Ω91 Ω470 Ω1.1 kΩ
White2.9–3.4 V5.1 Ω91 Ω470 Ω1.1 kΩ
Infrared 940 nm1.2–1.5 V100 Ω200 Ω560 Ω1.2 kΩ
UV 395 nm3.2–3.6 V—82 Ω430 Ω1.1 kΩ

Frequently asked questions

Why does an LED need a resistor?

LED current rises steeply with voltage, so connecting one straight to a supply overloads it. A series resistor drops the extra voltage and limits current; use a constant-current driver for power LEDs.

Can parallel LEDs share one resistor?

Avoid it. Forward voltages vary, so current crowds into the LED with the lowest voltage. Give each string its own resistor, or put the LEDs in series with one resistor.

What if the result is not a standard value?

Use the next standard value above; the current will be slightly lower and safer. The calculator rounds up to the chosen series and shows the resulting current.

Are my inputs uploaded?

No. Everything is calculated locally in your browser and nothing is stored; a share link only carries the values you entered.

How do I calculate an LED current-limiting resistor?

Resistor R = (supply voltage − LED forward voltage) ÷ operating current, and its power P = (supply − forward voltage) × current. For a red LED with a 2 V forward voltage on a 5 V supply at 20 mA: R = (5 − 2) ÷ 0.02 = 150 Ω and P = 0.06 W, so any resistor of 1/8 W or more will do. For several LEDs in series add their forward voltages first; this tool also gives the nearest E-series standard value and the resulting current.

Results are for design estimates and part selection; for production and safety-related circuits follow component datasheets, applicable standards and measurements.

led resistor calculator practical guide and common questions

What does a led resistor calculator do?

R = (supply − forward voltage × LEDs in series) ÷ current, rounded up to the chosen E series; the wattage is at least twice the dissipation.

Who is this for, and when is it useful?

Lighting and electronics engineers, makers and repair staff choosing series resistors for indicators and LED strips.

How do I use this led resistor calculator?

Enter the supply voltage, LED colour or forward voltage, current, LEDs per string and number of strings for the standard value, actual current, dissipation and wattage.

How should I interpret the results?

Forward voltage varies with part, temperature and current, so use the datasheet; use a constant-current driver for power LEDs or unstable supplies.

Where is the work performed, and which services receive data?

LED values and the resistor calculation run in your browser; no input is uploaded.