LED Resistor Calculator

Calculate the correct resistor value for any LED circuit. Supports series and parallel configurations, multiple LEDs, and nearest E24 standard values.

V
See the color reference table below
V
Typical: 20 mA for standard LEDs, 350 mA for power LEDs
mA
Exact Resistance
160.0 Ω
Calculated: V_drop / I
Nearest Standard (E24)
1,000 Ω
Actual current: 3.2 mA
Voltage Drop Across Resistor
3.20 V
V_supply (5V) − V_LED (1.8V)
Resistor Power
10.2 mW
Use ⅛ W rated (2× safety margin)
Circuit Efficiency
36.0%
LED power: 36.0 mW total
Max Series LEDs
2
At 1.8V each from 5V supply
LED Power (36%)Resistor Loss (64%)

LED Color Reference

ColorForward VoltageResistor at 5V / 20mA
Red1.8 V1000 Ω3.2 mA
Orange2 V1000 Ω3.0 mA
Yellow2.1 V1000 Ω2.9 mA
Green2.2 V1000 Ω2.8 mA
Blue3.3 V100 Ω17.0 mA
White3.2 V100 Ω18.0 mA
UV3.4 V100 Ω16.0 mA
Infrared1.3 V1000 Ω3.7 mA

Common Supply Voltages — Resistor Values (20 mA, 1.8V LED)

Supply (V)V DropExact (Ω)Nearest E24Actual mA
3.3 V1.5 V75 Ω100 Ω15.0
5 V3.2 V160 Ω1000 Ω3.2
9 V7.2 V360 Ω1000 Ω7.2
12 V10.2 V510 Ω1000 Ω10.2
24 V22.2 V1,110 Ω10000 Ω2.2
48 V46.2 V2,310 Ω10000 Ω4.6
Planning notes, formulas, and examples

About the LED Resistor Calculator

Every LED requires a current-limiting resistor to prevent it from drawing excessive current and burning out. Unlike incandescent bulbs that naturally limit their current through filament resistance, LEDs have a nearly vertical current-voltage curve above their forward voltage — even a small increase in voltage can cause the current to skyrocket and destroy the LED within milliseconds.

This calculator determines the correct resistor value for any LED circuit configuration. Enter your supply voltage, LED forward voltage, desired current, and the number of LEDs, and get the exact resistance needed along with the nearest E24 standard resistor value. The calculator handles both series chains (multiple LEDs sharing one resistor) and parallel configurations, and includes practical guidance on resistor power rating and circuit efficiency.

Whether you are wiring a single indicator LED to an Arduino, building an LED strip for lighting, or designing a display panel with dozens of LEDs, getting the resistor value right is the difference between a reliable circuit and a pile of dead LEDs. The color reference table and supply voltage comparison make it easy to design for any combination of LED color and power source.

When This Page Helps

Hand-calculating LED resistor values involves looking up forward voltage, computing the voltage drop, selecting the nearest standard value, and verifying the power rating — easy to get wrong when you are in the middle of a project. This calculator handles all of that, including the E24 nearest-value lookup.

The color reference table is especially useful when you are comparing different LED options or do not have the datasheet handy. The supply voltage comparison table lets you quickly see how resistor values change across common voltage rails.

How to Use the Inputs

  1. Select a preset configuration or enter your own values.
  2. Enter the supply voltage from your power source (e.g., 5V for USB, 12V for automotive).
  3. Enter the LED forward voltage — use the color reference table if unsure.
  4. Set the desired LED operating current (20 mA is standard for most 5mm LEDs).
  5. Enter the number of LEDs and select series or parallel configuration.
  6. Use the nearest E24 standard resistor value for your circuit.
  7. Check the power rating — use a resistor rated at least 2× the calculated power.
Formula used
LED Resistor Formula: • R = (V_supply − V_LED × n) / I_LED (series) • R = (V_supply − V_LED) / (I_LED × n) (parallel, one resistor per LED recommended) • Power: P = (V_supply − V_LED_total) × I • Efficiency: η = (V_LED × I × n) / (V_supply × I_total) × 100% Where V_supply = source voltage, V_LED = forward voltage, I_LED = desired current, n = number of LEDs

Example Calculation

Result: 270 Ω resistor (nearest E24), 20.0 mA actual current

Three green LEDs (2.2V each) in series from 12V: total forward voltage = 6.6V, voltage drop across resistor = 5.4V, R = 5.4V / 0.020A = 270Ω exactly. Power dissipated = 108 mW, so a ¼W resistor is sufficient.

Tips & Best Practices

  • Series configuration is always preferred over parallel for uniform current distribution.
  • Always derate your resistor — if the calculated power is 200 mW, use a ½W resistor minimum.
  • For battery-powered circuits, higher series LED count improves efficiency by reducing resistor losses.
  • If the calculated resistor is very small (< 10Ω), your supply voltage is barely above the LED voltage — consider a lower-Vf LED or higher supply.
  • PWM dimming is more efficient than increasing the resistor value to reduce brightness.
  • For 3.3V systems with blue/white LEDs (3.2-3.3V Vf), the margin is extremely tight — consider a constant-current driver instead.

Understanding LED Forward Voltage

Every LED has a characteristic forward voltage (Vf) that depends on the semiconductor material and the color of light emitted. Red and infrared LEDs use gallium arsenide (GaAs) with Vf around 1.3-2.0V. Green and yellow LEDs use gallium phosphide (GaP) with Vf around 2.0-2.2V. Blue and white LEDs use indium gallium nitride (InGaN) with Vf around 3.0-3.5V.

Forward voltage increases slightly with current and decreases with temperature. The datasheet value is typically specified at the rated current (usually 20 mA for standard LEDs). Operating at lower currents reduces Vf slightly, while higher temperatures also reduce Vf — this is why parallel LEDs without individual resistors can experience thermal runaway.

Series vs Parallel Wiring

Series wiring connects LEDs end-to-end so the same current flows through all of them. This is the preferred method because current is inherently balanced. The total forward voltage is the sum of all individual Vf values, so the supply voltage must exceed this total.

Parallel wiring connects all LED anodes together and all cathodes together. While this allows more LEDs than the supply voltage would support in series, it creates a critical problem: LEDs with slightly lower Vf will conduct more current, run hotter, further decreasing their Vf, and drawing even more current. This positive feedback loop (thermal runaway) can destroy LEDs. Always use individual resistors when wiring LEDs in parallel.

Constant Current Drivers

For high-power LEDs (1W and above) and critical applications, a constant-current LED driver is superior to a simple resistor. These IC-based drivers maintain a fixed current regardless of supply voltage variations, temperature changes, and LED aging. They also waste far less power than a resistor, with efficiencies above 90% compared to 50-80% for resistor-limited circuits.

Sources & Methodology

Last updated:

Frequently Asked Questions

  • Without a current-limiting resistor, the LED will draw as much current as the supply can provide, quickly exceeding its maximum rating. Most LEDs will burn out within seconds. Even momentary overvoltage can permanently degrade an LED.