LED Series Resistor Calculator

Use this calculator to determine the value of the resistor to add in series with the LEDs to limit the current.

V
V
mA
series led circuit
Resistor Value:

Power consumed by each LED:

Power consumed by all LEDs:

Power consumed by the resistor:

How to Use It?

To use the calculator, simply enter the supply voltage, forward voltage, forward current, and number of LEDs, and it will calculate the resistance required to drive those LEDs at a specified current level.

You can specify the forward voltage of the LED by typing a value directly into the forward voltage input field or by picking an LED color.

As a bonus, it also calculates the power consumed by each LED, all LEDs and the resistor.

LED Voltage and Current

LED stands for Light Emitting Diode. It is a special type of diode that produces light when a current flows through it in the forward direction. LEDs are available in a wide range of colors with the most common being red, green, yellow, blue, orange, white and infrared (invisible) light.

Every LED has a characteristic forward voltage drop (Vf). For most low-power LEDs, the typical voltage drop is from 1.2V to 3.6V for currents between 10mA to 30mA. The exact voltage drop will, of course, depend upon the semiconductor material used, color, tolerance, forward current flowing through it, and other factors.

Here’s a table that shows the typical forward voltages of LEDs of various colors.

ColorForward Voltage (V)
Red1.8 to 2.1
Amber2 to 2.2
Orange1.9 to 2.2
Yellow1.9 to 2.2
Green2 to 3.1
Blue3 to 3.7
White3 to 3.4

As the LED is basically a diode, its IV characteristics curves can be plotted for each color as shown below.

led color versus forward voltage graph

Unless otherwise specified, you should consider a nominal drop of 2V and forward current 20mA.

The Current Limiting resistor

If you connect an LED directly to a battery or power supply it will try to dissipate as much power as possible, and, it will destroy itself almost instantly.

Therefore it is important to limit the amount of current flowing through the LED. For this, we use resistors. The resistor limits the flow of electrons in the circuit and prevents the LED from trying to draw too much current.

The current-limiting resistor is placed in this way:

simple led circuit

In the above circuit, the resistor has a node voltage of Vs on the left and a node voltage of Vf on the right, the voltage across the resistor is the difference between the two voltages.

By applying Ohm’s law, the current-limiting resistor is calculated as:

led_series_res_calc_1

If you have multiple LEDs connected in series, you should consider the total voltage drop across all of them, which is the forward voltage drop of each LED multiplied by the number of LEDs.

series led circuit

Modifying the above equation, we get:

led_series_res_calc_2

Power Consumption

To calculate the power consumption, you can use the formulas listed below:

Power consumed by each LED:

led_series_res_calc_3

Power consumed by all LEDs (total):

led_series_res_calc_4

Power consumed by the resistor:

led_series_res_calc_5

The last equation helps you determine the power rating of the resistor, which is the maximum amount of power that it can dissipate without overheating.

Example 1

Consider a red LED with a forward voltage drop of 1.8V connected to a 5V DC power supply. Calculate the value of the current-limiting resistor required to limit the forward current to approximately 10mA.

led circuit example 1

Using the formula above, the current-limiting resistor is:

led_series_res_calc_6

This suggests that we will need a 320Ω resistor to limit the current to 10mA.

Example 2

Consider you want to power three red LEDs with a forward voltage drop of 1.8V and a forward current of 20mA using a 9V supply.

led circuit example 2

You can find the value of the current-limiting resistor as follows:

led_series_res_calc_7

This suggests that we will need a 180Ω resistor to limit the current to 20mA.

Shreepad Prabhu

Shreepad Prabhu

Shreepad is a passionate Electronics & Telecommunication Engineer with a deep love for embedded systems. He has over 15 years of experience, including his time as a Senior Embedded Engineer at Micromax contributing to solutions for Thermo Fisher Scientific, Tata Motors, Liebherr, and John Deere. Since co-founding Last Minute Engineers in 2018, he has written hundreds of articles and guides for Last Minute Engineers to help makers build with confidence. You can find him on LinkedIn