Skip to content
Press Equals

What resistor do I need for a 2 V LED on 12 V at 20 mA?

500 Ω exactly: (12 − 2) V ÷ 0.02 A. Use a 560 Ω resistor, rated at least 1/2 W.

Resistor = (supply voltage − LED voltage) ÷ current, by Ohm's law. Use the LED's forward voltage and current from its datasheet, then round up to the next standard resistor.

Try your own numbers

Result

Exact resistance

500Ω

Use this standard resistor
560Ω
Power in the resistor
0.2W
Resistor rating (2× margin)
1/2 W
Current with the standard resistor
17.9mA