Worked example
Example: Three 2 V LEDs at 20 mA on 12 V. The inputs, in the units selected above:
| Input | Value |
|---|---|
| Supply voltage | 12.000 V |
| Forward voltage of one LED | 2.0000 V |
| LED current | 20.000 mA |
| LEDs in series | 3.0000 - |
Applying the formula below gives:
| Result | Value |
|---|---|
| Series resistor | 300.00 Ω |
| Power in the resistor | 0.12000 W |
| Power in the LEDs | 0.12000 W |
| Share of the power reaching the LEDs | 50.000 % |
Open this example in the calculator and change any input.
Formula
\(R = \frac{V_s - n V_f}{I}, \quad P_R = (V_s - n V_f)\, I\)
Variables
| Symbol | Meaning | SI unit |
|---|---|---|
| \(V_s\) | Supply voltage | V |
| \(V_f\) | Forward voltage of one LED | V |
| \(I\) | LED current | A |
| \(n\) | LEDs in series | - |
| \(R\) | Series resistor | Ω |
| \(P_R\) | Power in the resistor | W |
| \(P_{LED}\) | Power in the LEDs | W |
| \(\eta\) | Share of the power reaching the LEDs | - |
Method and standards
The resistor drops the voltage the LEDs do not.
Where it is used
- Indicator lamps on panels.
- Hobby and repair work.
Common mistakes
- Forgetting the LED drop.
- Under-rated resistor power.
Assumptions and limits
- Constant forward voltage.
References
- Ohm's law across the series resistor
Questions and answers
What resistor for three 2 V LEDs at 20 mA on 12 V?
(12 − 6) / 0.02 = 300 Ω, dissipating 0.12 W.
Which standard value?
The next higher, 330 Ω, for slightly less current.
Why not put LEDs in parallel on one resistor?
Their forward voltages differ, so they share current unevenly.
Method and article reviewed by FireCAD engineering on 12 November 2026. Every result is checked against an independent calculation on each release: how we verify our calculators.