Resistor for an LED on 24 V: worked example
You want to light a red LED (forward voltage 2.1 V) at 10 mA from a 24 V control supply. Which series resistor do you need, and with what power rating?
Given data
| Supply voltage | 24 V |
|---|---|
| LED forward voltage | 2.1 V |
| LED current | 10 mA |
Formulas used
R = (V_s - V_f)/IR_E12 = ⌈ R ⌉_E12P = (V_s - V_f) · IStep-by-step calculation
Resistance
R = (V_s - V_f)/I = (24 - 2.1)/(10 / 1000) = mathbf2190 OmegaSuggested E12 standard value
R_E12 = ⌈ R ⌉_E12 = mathbf2200 OmegaDissipated power
P = (V_s - V_f) · I = (24 - 2.1) · 10 / 1000 = mathbf0.219 W
Result
What it means
The calculation gives 2,190 Ω; the nearest E12 standard value is 2,200 Ω. The resistor dissipates 0.219 W, so a 0.25 W part is borderline: use 0.5 W.
🧮 Open the calculator with these values
Change any value and the calculator redoes every step with your numbers.
The numbers on this page are computed automatically with the calculator's formulas, not typed by hand. The result is indicative: for a real project always check standards and manufacturer data.
✏️ Try it yourself: exercises
Solve them with the formulas above, then open the solution to check.
Exercise 1
Given:
- Supply voltage: 14 V
- LED forward voltage: 2.62 V
- LED current: 6 mA
Find: Suggested E12 standard value
Show the solution
- Resistance: 1,896.7 Ω
- Suggested E12 standard value: 2,200 Ω
- Dissipated power: 0.06828 W
Exercise 2
Given:
- Supply voltage: 48 V
- LED forward voltage: 2.52 V
- LED current: 20 mA
Find: Suggested E12 standard value
Show the solution
- Resistance: 2,274 Ω
- Suggested E12 standard value: 2,700 Ω
- Dissipated power: 0.9096 W