LED Resistor Calculator

Find the right current-limiting resistor for any LED: supply voltage, LED forward voltage and desired current in — exact ohms, nearest E24 value and wattage rating out.

—

Formula

R = (V_supply − V_f) ÷ I. A red LED (V_f ≈ 2.0 V) on 12 V at 20 mA needs (12−2)÷0.02 = 500 Ω. Power dissipated = (V_supply − V_f) × I — choose a resistor rated at least 2× that

Examples

InputResult
12 V, red 2.0 V, 20 mA500 Ω → use 510 Ω, 0.200 W → 1/2 W
5 V, white 3.2 V, 20 mA90 Ω → use 91 Ω, 0.036 W → 1/8 W
9 V, 2.1 V, 15 mA460 Ω → use 470 Ω, 0.103 W → 1/4 W

Typical forward voltage by LED color

The forward voltage Vf is set by the semiconductor material, which also sets the color. Use these typical ranges when the datasheet is not at hand — measure or look up the exact part for precision work:

LED colorTypical Vf
Infrared1.2 – 1.6 V
Red1.8 – 2.2 V
Yellow / Green (standard)2.0 – 2.2 V
Blue / White / True green3.0 – 3.4 V

Standard indicator LEDs run at 20 mA; high-brightness parts may want 10 mA or 30 mA — check the datasheet. Several LEDs in series add their forward voltages: three red LEDs on 12 V use Vf = 3 × 2.0 = 6.0 V, leaving (12 − 6) ÷ 0.02 = 300 Ω.

Frequently Asked Questions

Why does an LED need a resistor at all?

An LED is a diode: past its forward voltage, current rises almost vertically with voltage. Connected straight to a supply it draws far more than its rating and burns out in seconds. The resistor absorbs the leftover voltage (V_supply − V_f) and pins the current to I = (V_supply − V_f) ÷ R.

How do I choose the LED current?

Standard 5 mm indicator LEDs are rated 20 mA and are already bright at 10–15 mA. Running slightly under rating extends life and barely changes brightness. High-power LEDs (1 W+) are driven by constant-current drivers, not plain resistors.

Which resistor wattage do I need?

Dissipation is P = (V_supply − V_f) × I. Pick a part rated at least twice that so it runs cool: 0.2 W of heat means a 1/2 W resistor. Common through-hole ratings are 1/8 W, 1/4 W, 1/2 W and 1 W.

Can I run several LEDs on one resistor?

In series, yes: add the forward voltages and use the same formula — three 2.0 V reds on 12 V leave 6 V for the resistor, giving 300 Ω at 20 mA. In parallel, no: each LED needs its own resistor, because small V_f differences make one LED hog the current.

What if my supply is below the LED forward voltage?

The LED simply will not light — a white 3.2 V LED on a 3 V coin cell stays dark. You need a higher supply, a lower-V_f LED color, or a boost driver circuit.

Related Calculators

Watts to Amps Calculator1500 Watts to Amps1000 Watts to Amps1800 Watts to Amps1200 Watts to Amps700 Watts to Amps250 Watts to Amps120 Watts to Amps100 Watts to AmpsVoltage Drop CalculatorDC Voltage Drop CalculatormAh to Wh CalculatorWh to mAh Calculator100 Wh to mAhAmp Hours to Watt Hours CalculatorWatt Hours to Amp Hours CalculatorParallel Resistor CalculatorWire Size CalculatorAmps to Watts CalculatorVA to Watts Calculator