Guide
Choosing the series resistor for an LED: forward voltage, current and standard values
An LED is not a resistor: once it starts conducting, a small rise in voltage produces a large rise in current, and the current is what destroys it. The usual fix is a series resistor that drops the extra voltage and sets the current. The calculation is Ohm’s law, but with several moving parts: supply, LED colour, target current, the number of LEDs and the wiring. This page does it and then rounds to a real part.
The formula
For one LED, the resistor drops whatever the supply voltage has left after the LED’s forward voltage Vf, and the current through both is the same, so R = (Vs − Vf) / I. For several LEDs in series the forward voltages add: R = (Vs − n × Vf) / I. If the LEDs are in parallel, each branch needs its own resistor, R = (Vs − Vf) / I, and the supply must provide n times the current. The calculator checks that the supply exceeds the total forward voltage and tells you how far short you are if it does not.
Forward voltage and current
Pick a colour to use a typical forward voltage, or choose Custom and type the figure from your data sheet. The presets are red 2.0 V, orange 2.0 V, yellow 2.1 V, green 2.2 V, blue 3.2 V, white 3.2 V, infrared 1.2 V and ultraviolet 3.4 V; real parts differ by several tenths of a volt, especially greens. The current field accepts 20m for 20 mA. Standard indicator LEDs are commonly run at 10 to 20 mA, but the maximum rating on the data sheet is the limit that matters.
Rounding to a standard resistor
You can choose the series E12, E24 or E96. The tool takes the smallest standard value that is not below the exact result, recalculates the real current with that part and reports the resistor’s power. The page also lists the E12, E24 and E96 choices side by side. Rounding up gives a slightly lower current and a slightly dimmer LED, which is almost always acceptable, whereas rounding down overdrives it.
Worked examples
A red LED on a 9 V battery at 20 mA: (9 − 2.0) / 0.02 = 350 Ω. The next E24 value up is 360 Ω, so the current is 7 / 360 = 19.4 mA and the resistor dissipates 136 mW, and the 2× margin in the results suggests a 1/2 W part. Three white LEDs in series on 12 V at 20 mA: (12 − 9.6) / 0.02 = 120 Ω, a standard value, with 48 mW dissipated. A blue LED on 5 V at 10 mA needs exactly 180 Ω.
Power and the supply
The resistor’s power is I² × R, and a margin of two is suggested for the rating. The supply current is the LED current for a series string or n times it for parallel branches, and the supply power is that current times the voltage. Notice how inefficient the series resistor is: in the red LED example most of the power from the battery heats the resistor instead of lighting the LED, which is why constant-current drivers are used for high-power LEDs.
Limits
The forward voltages are typical figures, not guarantees, so measure or read the data sheet for demanding work. The calculation is for a steady DC supply. Pulsed or PWM drive, constant-current drivers, LED strips with built-in resistors and mains-powered lamps need different design methods.
Related tools
- Ohm’s Law Calculator shows the formulas behind the resistor value.
- Resistor Color Code Calculator helps you find the part in your drawer.
- Voltage Divider Calculator is another use of two resistors in a circuit.
- Battery Life Calculator estimates how long a battery lights your LED.
Checked against the current version of the LED Resistor Calculator on .

