Skip to content

LED resistor calculator

I connect to and let it glow .

You need per LED

100 Ω¼ watt

€0.05
+−5.0 V100 Ω1.8 V20 mAblue3.2 V
Colour code, left to right:1005%

Why a resistor?

An LED runs on a low voltage, around 2 to 3 volts. A battery or adapter gives more. Without a resistor the LED draws too much current and breaks within seconds. The resistor holds the current back, so the LED lights just right.

How to connect it

  1. 1Find the long leg of the LED. That is the plus.
  2. 2Put the resistor between the plus of your supply and that long leg.
  3. 3Connect the short leg to the minus of your supply.

Good to know

  • Every LED gets its own resistor. Ten LEDs means ten resistors.
  • A slightly higher resistor is always fine: the LED just glows a little softer. A lower one is not.
  • LEDs in different colours? Work it out per colour. Red and yellow need a different resistor than blue and white.
  • The voltage of your LED is on its product page. In doubt, pick the higher resistor.

Check it yourself

Supply minus LED, divided by the current in amps.

(5.0 V − 3.2 V)÷0.020 A=90 Ω

Voltage per colour

2.0 V

red

2.0 V

orange

2.1 V

yellow

3.0 V

green

3.2 V

blue

3.2 V

white

Typical values at 20 mA. Does your LED list another voltage? That one counts.