Latest videos

  1. 20ft Rocket Candy Fuse. 4 Seconds. Can It Be Done?
  2. PCB Death Match 001: 1oz vs 2oz Copper
  3. Combine Laser and Lowrider CNC Table

LED Resistor Calculator

An LED needs a resistor in series to set its current. Pick the supply voltage and the LED color, and this works out the resistor, the nearest standard value, and how hot it gets. You can also click or drag on the graphs.

How it works

An LED drops a nearly fixed voltage (its forward voltage) once it’s on. Whatever voltage is left over lands on the resistor, and Ohm’s law sets the current:

R = (Vsupply − LED forward voltage) ÷ LED current

The calculator picks the next standard resistor value up, so the LED gets slightly less current than you asked for, never more.

Why not skip the resistor?

Look at the second graph: below the LED’s forward voltage almost no current flows, and above it the current climbs fast. Without a resistor, nothing limits it, and the LED burns out. The resistor turns that cliff into a gentle slope.

Several LEDs

LEDs in series share one resistor and one current, which wastes less power. Their forward voltages add up, so the supply has to be higher than the total. For LEDs in parallel, give each one its own resistor, because LEDs don’t share current evenly.

The colors use typical forward voltages. Your LED’s datasheet beats the guess, so type its number in if you have it. The graphs use a simple model: a real LED starts glowing a little before its forward voltage, and its voltage rises a bit with current.