LED Resistor Calculator

Quick answer

The LED resistor calculator finds the series resistor for one or more LEDs in series or parallel from the supply voltage, LED forward voltage (by colour) and current, plus the power in the resistor and LEDs.

Resistor value
300
Next standard E12 value
330 Ω
Power in each resistor
0.12 W
Power in each LED
0.04 W
Total power
0.24 W
Check
OK

LEDs need a resistor (or driver) to limit their current, and connected straight to a battery they burn out. The resistor drops the voltage the LEDs don’t need.

How to use the LED Resistor Calculator

  1. Connection
  2. Number of LEDs
  3. Supply voltage
  4. LED colour
  5. LED forward voltage
  6. LED current

Results update as you type, every field has its own unit menu, and everything is calculated in your browser.

How it works

Choose series or parallel, the number of LEDs, the supply voltage, LED colour (or forward voltage) and the desired current.

Inputs explained

Field What to enter
Connection Choose one: Series string, Parallel (resistor per LED)
Number of LEDs A number
Supply voltage Units: V, mV, kV, µV, MV
LED colour Choose one: Red, Orange, Yellow, Green …
LED forward voltage Units: V, mV, kV, µV, MV
LED current Units: mA, A

What each result means

  • Power in each resistor = [LED current]^2×[Resistor value]
  • Power in each LED = [Vf]×[LED current]

Example values

How the main result changes when Number of LEDs changes and everything else stays at the example values above:

Number of LEDs Resistor value (Ω)
1.5 450
2.25 375
3 300
3.75 225
4.5 150
6 0

Formula

Series string: R = (V_s − N·V_f)/I · Parallel (one resistor each): R = (V_s − V_f)/I, P_R = I²R

Worked example

Inputs: Connection: Series string; Number of LEDs: 3; Supply voltage: 12 V; LED colour: Red; LED current: 20 mA.
Results: Resistor value = 300 Ω; Next standard E12 value = 330 Ω; Power in each resistor = 0.12 W; Power in each LED = 0.04 W; Total power = 0.24 W; Check = OK.

Key terms

Forward voltage
Voltage across an LED when it conducts.

Frequently asked questions

Why do LEDs need a resistor?

Their current rises steeply with voltage; a resistor limits it.

Why not one resistor for parallel LEDs?

Small forward-voltage differences would make them share current unevenly.

What current should I use?

Usually 5–20 mA for indicator LEDs; check the datasheet.

Should I round the resistor up or down?

Up, to keep the current at or below target.

Sources

  1. OpenStax: University Physics Volume 2
  2. The Engineering ToolBox

Guides on this topic

Cite this calculator

Speedy Calculator. (2026). LED Resistor Calculator. Speedy Calculator. https://speedycalculator.com/calculators/physics/led-resistor/