LED Resistor Calculator

Enter the supply voltage, the LED forward voltage and the LED current to get the required resistor, the nearest standard value and the resistor power rating.

How is it calculated?

The resistor value is found with the formula (supply voltage – sum of LED forward voltages) / LED current. For a 2 V, 20 mA LED on a 12 V supply, (12 – 2) / 0.02 = 500 Ω is required. The next higher standard value, 560 Ω, is selected. LED forward voltage and current vary by manufacturer; check the product’s datasheet for the correct values.