Resistor for a 9V green LED at 20 mA

Worked answer for a 9V battery driving a green LED (typical Vf ≈ 2.2V) at 20 mA.

Use a 360Ω E24 standard value · 1/2 W or higher
Supply voltage (Vs)9V
LED forward voltage (Vf)≈ 2.2 V (green)
Target current (I)20 mA
Exact resistor R = (Vs−Vf)/I340.0 Ω
Nearest E24 (rounded up)360Ω
Actual current with 360Ω18.9 mA (≤ target — safe)
Resistor dissipation128 mW
Recommended power rating1/2 W (≥ 2× dissipation)

The resistor is rounded up to the nearest E24 standard value, so the real current (18.9 mA) stays at or below your 20 mA target — the safe direction for the LED.

Different values? Change the supply, LED color or current in the interactive tool:

Open the LED Resistor Calculator →

Read the guides: LED current-limiting resistor: theory & sizing · LED forward voltage chart by color

More 9V LED presets

Disclaimer: This is a reference estimate using a typical forward voltage for the color. Confirm Vf and the maximum current against your LED's datasheet before building.

⚡ Powered by Circflow