EN
PortuguêsEnglishEspañol
All tools
Calculators 100% free

LED resistor calculator

Work out the right resistor for one or more LEDs in series: enter the supply voltage and the LED voltage and current, and see the resistance, the standard value and the power rating.

How to use

Thank you so much for helping!

Every donation helps pay for the servers and keeps the tools free for everyone. Pick or type an amount:

Secure payment by Stripe. Opens in a new tab.

Back to Electricity and energy

Which resistor to use with an LED

–

Available in: PortuguêsEspañolEnglish

Advertisement

LED resistor calculator: what it is for

Enter the supply voltage, the LED color or voltage, the current and how many LEDs are in series. The calculator shows the calculated resistor, the next standard E24 value, the minimum power rating of the resistor and the actual current through the LED.

How to use

  1. Type the supply voltage.
  2. Choose the LED and the current.
  3. Use the standard resistor shown.

When to use it

  • Connecting an LED to an Arduino or to 12 V.
  • Building LED strips and panels.
  • Avoiding burnt-out LEDs.

Frequently asked questions

How do I calculate an LED resistor?

Subtract the LED voltage from the supply voltage and divide by the current: R = (Vsupply − n × VLED) ÷ I. With 12 V, a 2 V red LED and 20 mA, the resistor is 500 Ω, and the next standard value up is 510 Ω.

What is the voltage of each LED color?

Typical values: red and yellow 1.8 to 2.2 V, green 2 to 3.2 V, blue and white 3 to 3.4 V. Check your LED's datasheet.

Why use the next standard value up?

A slightly larger resistor reduces the current and brightness a little, but protects the LED. A smaller value can exceed the maximum current and burn it out.

Is it really free?

Yes, 100% free. No sign-up, no subscription and no usage limits. All Tools123 tools are free and run right in your browser.

Similar tools

The tools are provided as is, without warranty. We are not responsible for the results or for how they are used.