Skip to content
Press Equals

What resistor do I need for a 3.2 V LED on 5 V at 20 mA?

90 Ω exactly: (5 − 3.2) V ÷ 0.02 A. Use a 100 Ω resistor, rated at least 1/8 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

90Ω

Use this standard resistor
100Ω
Power in the resistor
0.036W
Resistor rating (2× margin)
1/8 W
Current with the standard resistor
18mA