Calculate the correct resistor value for any LED circuit. Supports series and parallel configurations, multiple LEDs, and nearest E24 standard values.
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.
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 instantly, 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.
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
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.
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 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.
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.
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.
This is NOT recommended. LEDs have manufacturing variations in forward voltage, so one LED will conduct more than the others, causing uneven brightness and premature failure. Use one resistor per LED in parallel, or wire LEDs in series with a single resistor.
Standard 5mm LEDs: 20 mA. High-brightness 5mm: 20-30 mA. Power LEDs (1W): 350 mA. Power LEDs (3W): 700 mA. SMD LEDs (0805/1206): 20 mA. Check your LED datasheet for the rated continuous current.
The E24 series provides 24 resistor values per decade with ~5% spacing. Your exact calculated value rarely falls on a standard value, so the calculator picks the nearest one. The resulting current will be slightly different but within an acceptable range for most LEDs.
Calculate P = V_drop × I where V_drop is the voltage across the resistor. Then use a resistor rated at 2× this power for reliability. Common ratings are ⅛W (125 mW), ¼W (250 mW), ½W (500 mW), and 1W.
The total forward voltage of all LEDs must be less than the supply voltage, leaving at least 0.5-1V for the resistor. Maximum LEDs ≈ (V_supply − 1V) / V_forward. For 12V with red LEDs (1.8V): max 6 LEDs in series.