LED Resistor Calculator

Find the resistor to put in front of an LED so it does not burn out, from your supply voltage, the LED color and the current you want.

1 Fill in the boxes

2 Your answer

Your answer shows here as you type.

How to use the LED Resistor Calculator

  1. Type the supply voltage, such as a 9 volt battery.
  2. Pick the LED color, then type the current you want in milliamps.
  3. The resistor size shows straight away.

Frequently asked questions

Why does an LED need a resistor?

An LED needs a steady current. Without a resistor, too much current can flow and burn out the LED.

Why round up to the next size?

A slightly bigger resistor lets a little less current flow, so the LED is a bit dimmer but safer.

What power rating should the resistor have?

Pick a resistor rated above the power shown. Small kit resistors are usually 1/4 watt (0.25 W), which is fine when the power is under 0.25 W.

Wrote something with AI? Slop Monkey rewrites it so it sounds like you, and keeps your facts.