Voltage Drop Calculator

HomeVoltage drop

LED resistor calculator

A resistor in series with an LED sets its current. Enter the supply voltage, the LED forward voltage and the current you want.

V
Red about 2.0 V, green and blue about 3.0 to 3.3 V. Check the datasheet.
V
mA

Resistor

Fill in the circuit, then press the button.

Formula

R = (Vsupply − n × Vf) ÷ I

The resistor drops whatever the LEDs don't. Pick the next higher standard value so the current stays at or below the target.

Typical forward voltages

ColorForward voltageResistor at 12 V, 20 mA, one LED
Red2.0 V500 Ω
Amber2.1 V495 Ω
Green3.0 V450 Ω
Blue3.2 V440 Ω
White3.2 V440 Ω

Common questions

Can I run LEDs in parallel off one resistor?

Avoid it. LEDs differ slightly in forward voltage, so one hogs the current. Give each parallel branch its own resistor.