LED Series Resistor Calculator

Advanced LED calculator with array designer, efficiency analysis, thermal calculations, and lifetime estimation.
Standard Resistors
Basic Calculator
Advanced Analysis
Array Designer

Basic LED Resistor Calculator

LED Series Resistor Formula:
R = (Vs - Vf × N) / If Presistor = (Vs - Vf × N) × If
5V Supply
9V Supply
12V Supply
20mA Current
V
Red
2.0V
Green
2.1V
Blue
3.6V
White
3.6V
Yellow
2.1V
Orange
2.2V
Amber
2.1V
IR
1.7V
V
Enter supply voltage, LED specifications, and current to calculate resistor value.

Efficiency Analysis

Enter values to see power efficiency calculations.

Circuit Diagram

Enter values to see the circuit diagram.

Auto-calculate as you type

LED Array Designer

Array Configuration:
Series: Total Vf = Vf × N, Same current Parallel: Same Vf, Total current = If × N

Array Configuration

Array Preview

Configure your LED array above to see the design.

Configure your LED array and click Design Array.

Advanced LED Analysis

LED Specifications

V
V
mA
°C
°C/W
hours

Thermal Analysis

Enter LED specifications to see thermal calculations.

Lifetime Estimation

Thermal analysis will provide lifetime estimates.

PWM Dimming Analysis

50%

Standard Resistor Finder

V
V
mA
Enter LED specifications to find suitable standard resistors.

LED Applications & Examples

Status Indicator LEDs

Application: Power and status indicators in electronic devices

  • Supply: 5V, LED: Red (2.0V), Current: 10mA
  • Resistor: 300Ω, Power: 30mW
  • Efficiency: 40% (LED power / Total power)

LED Strip Lighting

Application: Under-cabinet and accent lighting

  • Supply: 12V, LEDs: 3× White (3.6V), Current: 20mA
  • Resistor: 60Ω, Power: 120mW
  • Series configuration for even brightness

Automotive Applications

Application: Turn signals and brake lights

  • Supply: 12V, LED: Amber (2.1V), Current: 25mA
  • Resistor: 396Ω (use 390Ω), Power: 247mW
  • Use 0.5W resistor for safety margin

How to size an LED series resistor

An LED is a current-driven device, not a voltage-driven one: past its turn-on voltage its current rises almost vertically, so connecting it straight across a supply will let the current run away and destroy it. A series resistor is the simplest way to set a safe, steady current. Its value comes straight from Ohm's law: R = (Vsupply − Vf) / ILED, where Vf is the LED's forward voltage and ILED is the desired current.

Worked reasoning

The resistor's job is to "absorb" whatever supply voltage the LED doesn't. For a red LED (Vf ≈ 2 V) at 20 mA on a 5 V supply, the resistor drops 5 − 2 = 3 V, so R = 3 V / 0.02 A = 150 Ω. Always round up to the next standard value (e.g. 150 Ω → 150 or 160 Ω) so the current stays at or below target.

Don't forget the power rating

The resistor also dissipates power: P = (Vsupply − Vf) × ILED. In the example that is 3 V × 0.02 A = 60 mW, comfortably within a ¼ W part. At higher currents or bigger voltage drops the dissipation grows quickly, so always check it and choose a resistor rated at least twice the calculated power.

Typical forward voltages & tips

Forward voltage depends on LED colour: red/amber ≈ 1.8–2.2 V, green ≈ 2.0–3.0 V, blue/white ≈ 3.0–3.4 V. For several LEDs, wiring them in series and using one resistor is more efficient than one resistor each, as long as the supply exceeds the sum of the forward voltages. For many LEDs or for maximum efficiency, a constant-current driver beats a resistor.

Common questions

Why not connect an LED directly to a battery? With no current limit the LED's current spikes and it burns out (or the battery does). Always limit the current.

Can one resistor drive LEDs in parallel? It's discouraged — small Vf differences make one LED hog the current. Give each parallel LED its own resistor, or wire them in series with a single resistor.