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
- Connection
- Number of LEDs
- Supply voltage
- LED colour
- LED forward voltage
- 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
Guides on this topic
- Ohm’s Law Explained: V = IR, Power and Real Circuit Examples: V = I × R and P = V × I, worked through series, parallel and LED circuits with real numbers, plus how to pick a resistor that will not overheat.