LED resistor
Enter the LED specs. Results update live.
Resistor needed
-
Enter the LED specs to size the resistor.
Calculate the series resistor any LED needs from supply voltage, forward voltage and current, with the nearest standard value.
Enter the LED specs. Results update live.
Enter the LED specs to size the resistor.
The resistor drops the voltage the LED does not need: supply voltage minus LED forward voltage, divided by the LED current. A 9 volt supply with a 2.1 volt LED at 20 milliamps needs (9 - 2.1) / 0.02 = 345 ohms. You then pick the nearest standard E12 value at or above that, which is 390 ohms.
The resistor turns the dropped voltage into heat, and an undersized resistor overheats and fails. The safe practice is a power rating at least double the dissipated power, so a resistor burning 0.14 watts should be rated 0.5 watts.