LED Series Resistor Calculator
Calculate the series resistor value needed to limit current through an LED safely. Supports single LEDs and multiple LEDs in series.
As an Amazon Associate and CJ Affiliate publisher we earn from qualifying purchases. Prices and availability may vary.
LED Resistor Calculation Guide
Why LEDs Need Resistors?
LEDs are current-driven devices. Unlike incandescent bulbs which self-regulate to some extent, an LED's resistance drops with rising temperature — without current limiting, current rises until the LED burns out. The series resistor solves this. The formula: R = (V_supply - V_LED) / I. Where: V_supply = your power source voltage. V_LED = LED's forward voltage drop (constant for a given LED). I = desired current. Example: 5V supply, red LED (V_f 2.0V), 20mA target. R = (5 - 2) / 0.020 = 150Ω. The resistor limits current to a safe level, since an LED's resistance alone would otherwise allow current to rise uncontrollably and destroy the LED almost instantly.
What's the key thing to understand about Standard LED Forward Voltages?
Forward voltage depends on LED chemistry: red (AlGaAs): 1.8-2.2V typically. Orange/yellow: 2.0-2.2V. Green (traditional InGaN): 2.1-2.4V. True green (different chemistry): 3.2-3.4V. Blue (InGaN): 3.0-3.4V. White (blue LED + phosphor): 3.0-3.4V. UV: 3.2-4.0V. Infrared: 1.1-1.5V. Variations within colour: brighter LEDs often higher Vf. Check datasheet for actual values. As current increases, Vf rises slightly (logarithmically). For 10-30mA operating range, treat as constant. Higher currents, above about 100mA, cause a more noticeable rise in forward voltage and generate significantly more heat, which is why high-power LEDs need proper heat-sinking.
What should I know about Multiple LEDs Configurations?
Series (same current through all): combined Vf = sum of individual Vfs. R = (V_supply - sum_Vf) / I. Example: 3 red LEDs in series on 12V at 20mA. Sum Vf = 6V. R = (12-6)/0.020 = 300Ω. Each LED has identical current. Good: efficient (one resistor, one current). Limitation: V_supply must exceed sum_Vf + headroom (need 2-3V minimum drop across resistor for stable current). Parallel (same voltage across each, currents add): NEVER directly parallel LEDs of same type. Minor forward-voltage variations between individual LEDs cause one to draw more current than the others when wired in parallel, potentially overloading and destroying it while the rest stay dim.
What should I know about Power Dissipation and Standard Values?
Resistor dissipates power: P = I² × R or P = V_dropped × I. Same example: 150Ω, 20mA. P = 0.020² × 150 = 0.060W = 60mW. Standard 1/4W (250mW) resistor: plenty of headroom. Use 1/8W only if known low power; 1/2W or 1W for higher currents (100mA+) or larger voltage drops. Standard E12 resistor values per decade: 10, 12, 15, 18, 22, 27, 33, 39, 47, 56, 68, 82. Multiply by 10, 100, 1000 for 100Ω, 1kΩ, 10kΩ ranges. Choosing between calculated value and standard: round UP to the nearest standard value — this gives a slightly lower current, which is safer for the LED and only slightly dims it, rather than rounding down and risking overcurrent.
What should I know about Choosing a Safe Resistor Wattage?
Once the resistor's resistance is set by R = (V_supply − V_LED)/I, the power it must dissipate as heat is P = I²R (or equivalently P = V_R × I). Good practice is to choose a resistor rated for at least double that calculated power — so a resistor dissipating a calculated 0.1 W should use a 0.25 W or 0.5 W part — because running a resistor near its rated limit shortens its life and lets it run hot enough to drift in value or discolour the PCB around it.
What's the difference between Resistor-Limited and Constant-Current LED Driving?
A series resistor is the simplest way to limit LED current, but it wastes energy as heat (I²R) and its limiting current shifts if the supply voltage varies, since the resistor shares the voltage drop proportionally rather than holding current fixed. A constant-current driver, by contrast, actively regulates the current to a set value regardless of supply fluctuations or the LED's forward-voltage drift with temperature, wasting far less energy and protecting the LED more reliably — which is why high-power LEDs (flashlights, automotive lighting, grow lights) almost always use dedicated current-regulating drivers instead of a simple resistor.
What should I know about LED Colour and Semiconductor Band Gap?
An LED's forward voltage is not an arbitrary electrical property — it is set directly by the semiconductor material's band gap, the energy difference electrons must cross to emit a photon of visible light. When current flows through the diode's junction, electrons drop from a higher to a lower energy state and release that energy as a photon whose wavelength (and therefore colour) depends on the size of the band gap: a larger band gap produces higher-energy, shorter-wavelength (bluer) photons, while a smaller band gap produces lower-energy, longer-wavelength (redder) photons. This is why different LED colours require different semiconductor materials and have different typical forward voltages: red and infrared LEDs, built from gallium arsenide or aluminium gallium arsenide, have band gaps around 1.8–2.0 eV and forward voltages near 1.8–2.2 V, while blue and white LEDs, built from gallium nitride, have band gaps around 2.7–3.0 eV and forward voltages near 3.0–3.4 V. Because the forward voltage is tied to real photon energy rather than manufacturing choice, it cannot be changed by circuit design — only the current-limiting resistor can be adjusted, which is exactly why a resistor calculator must use the correct forward voltage for each specific LED colour.
Worked Example: Sizing a Resistor for a Red LED
Say you're wiring a single red LED (typical forward voltage 2.1 V, forward current 20 mA) to a 9 V battery. The resistor must drop the remaining voltage: V_R = V_supply - V_LED = 9 - 2.1 = 6.9 V Applying Ohm's law, R = V_R / I = 6.9 / 0.020 = 345 Ω. The nearest standard E12 resistor value above this is 360 Ω (rounding down to 330 Ω would push the current slightly over 20 mA, to about 20.9 mA — usually fine, but rounding up is the safer habit). Power dissipated in the resistor: P = I² × R = (0.020)² × 345 ≈ 0.138 W, so a standard 1/4 W (0.25 W) resistor has plenty of headroom (roughly 55% of its rated power). Now compare wiring three identical red LEDs in series instead of using three separate resistors: total LED voltage = 3 × 2.1 = 6.3 V, leaving only 9 - 6.3 = 2.7 V for the resistor. R = 2.7 / 0.020 = 135 Ω, and because only one resistor is needed for three LEDs, this series approach dissipates far less total power (0.054 W) than three individual 345 Ω resistors would (3 × 0.138 = 0.414 W) — a good illustration of why series LED strings are more power-efficient than parallel strings with individual resistors.
Standard Resistor Values vs. Calculated Values
Resistors are manufactured in standard series (E12, E24, E96) rather than arbitrary values, so a calculated resistance almost never matches a stock part exactly. The table below shows how to round sensibly.
| Calculated R | Nearest E12 value (round up) | Resulting current | Effect |
|---|---|---|---|
| 345 Ω | 360 Ω | 19.2 mA | Slightly dimmer, very safe |
| 135 Ω | 150 Ω | 18 mA | Slightly dimmer, safe |
| 68 Ω | 68 Ω (exact) | 20 mA (nominal) | Matches design |
| 22 Ω | 22 Ω (exact) | 20 mA (nominal) | Matches design |
Always round UP to the next standard value rather than down. Rounding down increases current above the design target, and because LED brightness and failure risk both increase steeply with overcurrent, a slightly dimmer LED is always the safer error to make than a slightly brighter — and shorter-lived — one. If precise brightness matching across many LEDs matters (for example, backlighting or signage), use 1% tolerance resistors from the E96 series rather than the cheaper 5% E12 series, since a 5% tolerance resistor can itself shift current by several percent from the nominal calculated value.
Why Current, Not Voltage, Determines LED Brightness
It's worth understanding why these calculations fix the current rather than the voltage. An LED's current-voltage relationship is extremely steep near its forward voltage — a tiny increase in voltage across the LED causes a huge jump in current, unlike a resistor's straight-line relationship. This means you can't safely set an LED's brightness by just picking a voltage close to its forward voltage rating; a 0.1 V error could double or triple the current and destroy the LED. The resistor's job is specifically to convert that unstable voltage-current relationship into a stable, predictable current, because the resistor's own voltage drop automatically adjusts to whatever is left over once the LED claims its forward voltage — a self-correcting negative feedback that a bare LED wired directly to a battery doesn't have. This is also why dimming an LED by simply reducing the supply voltage is a poor approach below a certain threshold: once the supply voltage drops close to the LED's forward voltage, the current (and therefore brightness) becomes wildly sensitive to small voltage changes. Proper dimming instead uses pulse-width modulation (PWM), rapidly switching the LED fully on and off and varying the fraction of time it's on, which keeps the LED operating at its designed current whenever it is lit.