LED Resistor Calculator
Enter the supply voltage, the LED color and the desired current. The calculator shows the series resistor, the nearest standard value and the power it dissipates.
Free, no sign-up
LED color
Standard value (E12)
Calculated resistor:
- Actual current with that resistor
- Power in the resistor
How it works
An LED needs a series resistor to limit the current. The formula is R = (Vsupply − n × Vled) ÷ I, where n is the number of LEDs in series and I is the desired current, in amperes.
The calculated value is rarely a standard part. The calculator suggests the next E12 value up, so the current stays slightly below the target and never above the LED limit.
The power in the resistor is P = I² × R. Common 1/4 W (0.25 W) resistors are enough for most LED circuits; above that, use a higher power rating.
Results are approximate and meant as a starting point. Always check the datasheet of your components.
Frequently asked questions
What is the forward voltage of an LED?
It depends on the color: about 2 V for red, 2.1 V for yellow, 2.2 V for green and 3 V to 3.3 V for blue and white. The exact value is in the datasheet.
Can I connect an LED without a resistor?
No. Without a resistor the current is limited only by the supply, and the LED burns out in moments or its life is greatly reduced.
What current should I use for an LED?
For 5 mm LEDs, 10 mA to 20 mA is common. At 10 mA the brightness is already good and the LED runs cooler.
Read also: One-Way Diode: How a Diode Works, Types and Uses