Calculate the correct current-limiting series resistor for your LED circuit. Get instant results with power dissipation and nearest standard resistor values.
This formula comes from Ohm's Law. The resistor must drop the difference between your power supply voltage and the LED's forward voltage. The current through the resistor equals the current through the LED (they're in series).
Let's calculate the resistor needed for a red LED powered by an Arduino (5V):
Result: Use a 150ฮฉ resistor (or next standard value: 180ฮฉ for safety margin).
Different LED colors have different forward voltage drops. Use this table as a quick reference:
| LED Color | Forward Voltage (Vf) | Typical Current |
|---|---|---|
| Red | 1.8V - 2.2V | 20mA |
| Orange | 2.0V - 2.2V | 20mA |
| Yellow | 2.0V - 2.4V | 20mA |
| Green | 2.0V - 3.0V | 20mA |
| Blue | 3.0V - 3.5V | 20mA |
| White | 3.0V - 3.5V | 20mA |
| RGB (each channel) | 2.0V - 3.3V | 20mA per channel |
| UV/Purple | 3.2V - 4.0V | 20mA |
| Infrared (IR) | 1.2V - 1.6V | 50-100mA |
Note: Always check your LED's datasheet for exact specifications. Values can vary between manufacturers.
LEDs are current-controlled devices, not voltage-controlled. Without a current-limiting resistor, an LED will try to draw as much current as possible, leading to:
When you power an LED:
Yes! A higher resistance will result in lower current and a dimmer LED, but it won't damage anything. This is a common way to dim LEDs without PWM.
Lower resistance means higher current. If you exceed the LED's rated current, it will run hot and may burn out. Your GPIO pin could also be damaged if it exceeds its current limit.
Calculate power dissipation: P = Iยฒ ร R. For most LED circuits (20mA with 150ฮฉ = 0.06W), a standard 1/4W (0.25W) resistor is more than sufficient. Our calculator shows the recommended wattage.
Yes, but the calculation changes. LEDs in series: Add up all the forward voltages, then calculate R = (Vs - (Vf1 + Vf2 + ...)) / I. LEDs in parallel: Each LED needs its own resistor for even current distribution.
Resistors come in standard series (E12, E24, E96). Our calculator shows the nearest standard value. Always choose the next higher standard value for safety.