Choosing the correct resistor for your LED


Choosing the correct resistor value is imperative to insure your LED receives proper voltage and current. To ensure you have the correct resistor you will need to know three values from your circuit.

Vs - Supply Voltage - This is the power supply that you are using to power your circuit.
Vf - Forward voltage for your LED. This is the voltage required to turn on your LED.
If - Forward Current for your LED. This is the current required by your LED for operation.

With these numbers you can calculate the resistance ® required with the following equation.
R = (Vs - Vf) / If

For my example I am going to use LED part 67-2250-ND. This LED has a forward voltage of 3.2V and a forward current of 20mA. I will be powering my circuit with a 9V battery.

R= 290ohms

Next you will want to make sure you calculate the wattage required for your resistor to ensure that your resistor can handle the load.Using Ohm’s law you can verify the voltage that is being dropped across your resistor.
Resistance x Current = Voltage in my example would be 290ohm x .020A = 5.8V
To calculate power you would then take Volts x Amps = Watts. In our example this would be 5.8V x .020A = .116W
So the required resistor for my example circuit would be 290ohms and 1/8th watt.

To help simplify the process Digi-Key has an LED Series Resistor Calculator that will calculate you required resistance and power ratings for your LED circuit.

Digi-Key also has a separate Ohm’s Law Calculator for the customer convenience.

Simple Blinking LED Circuit
Determining LED Polarity

Yes these Digikey calculators are very useful.
But this LED resistor calculator could have more options like selecting No. of LEDs if more than 1 LED is connected and could have prefilled voltages for commonly used LEDs like this LED resistor calculator has.
Even some LED resistor calculators are very cool and they will show you nearest available resistor value for your circuit and also show you color coding of calculated resistor like