LED Series Resistor Calculator — Current Limiting Resistor, Vf, Series & Parallel LEDs | CalcEngines
Electronics Calculators

LED Series Resistor Calculator

Calculate the correct current-limiting resistor for single LEDs, series strings, and parallel arrays. Get exact and nearest E12/E24 standard values, power ratings, a live schematic, and battery runtime estimation.

LED Resistor Calculator
Single LED  ·  Series String  ·  Parallel Array  ·  Battery Life  ·  Colour Reference
LIVE
LED Colour Preset
Parameters
V
V
mA
mA
PWM Brightness Control
Formula
Resistor Value
R = (Vs – Vf) / If
Vs = supply voltage, Vf = LED forward voltage, If = forward current in amperes.
Resistor Power
P = (Vs – Vf) x If
P = If^2 x R
Choose resistor rated at minimum 2x calculated power.
Live Schematic
+ Vs R ? V led I led P = ?
Results
Required Resistor
Voltage across R
Resistor Power
Min Rated Power
LED Power
Exact Value
Ω
Nearest E12
Ω
Nearest E24
Ω
I with E12 R
mA
PWM Avg Current
mA
Series String Parameters
V
pcs
V
mA
Series rule: All LEDs carry the same current. Total Vf = N × Vf each.
Supply must exceed total Vf. Resistor formula: R = (Vs − N×Vf) / If
Common Supply Presets
Results
Required Resistor
Total LED Vf
Voltage across R
Resistor Power
Total LED Power
Exact R
Ω
E12 Value
Ω
E24 Value
Ω
Min Rated Power
W
Total System Power
W
Series String Breakdown
ComponentVoltage DropCurrentPower
Supply
V
Parallel Strings
LEDs / string Vf per LED (V) If (mA)
Important: Each parallel string has its own resistor calculated independently. Never share one resistor across multiple parallel LED strings — current distribution will be unequal.
Results
Total Current Draw
Total Power
Strings Count
Total LEDs
LED Power
Per-String Breakdown
StringLEDsExact RE12 RI (mA)R Power
Battery Parameters
mAh
V
LED Load
mA
strings
Efficiency
%
%
Common Battery Presets
Battery TypeVoltageTypical Capacity
AA Alkaline1.5 V2,400 – 3,000 mAh
AAA Alkaline1.5 V850 – 1,200 mAh
9V Alkaline block9 V400 – 600 mAh
18650 Li-ion cell3.7 V1,800 – 3,600 mAh
LiPo 1S pack3.7 V100 – 10,000 mAh
LiPo 2S pack7.4 V1,000 – 8,000 mAh
CR2032 coin3.0 V210 – 240 mAh
USB power bank5 V5,000 – 30,000 mAh
Results
Estimated Battery Life
Total Current
Total Power
Energy Used
Derating Factor
Runtime (hours)
hours
Runtime (days)
days
Runtime (mins)
minutes
At 50% Brightness
hours
At 10% Brightness
hours
Derating note: Real battery capacity is reduced by temperature, discharge rate, and cell age. This calculator applies your circuit efficiency but add an additional 20–30% safety margin in practice.
LED Colour & Electrical Reference
ColourWavelengthVf RangeTypical VfTypical IfMax If
🔴 Red620–645 nm1.8–2.2 V2.0 V20 mA30 mA
🟠 Orange590–620 nm2.0–2.2 V2.1 V20 mA30 mA
🟡 Yellow570–590 nm2.0–2.4 V2.1 V20 mA30 mA
🟢 Green (std)515–530 nm1.9–2.5 V2.1 V20 mA30 mA
🟢 Green (HB)520–530 nm3.0–3.5 V3.3 V20 mA30 mA
🔵 Blue460–475 nm3.0–3.6 V3.2 V20 mA30 mA
⚪ White (warm)2700–3000 K3.0–3.6 V3.2 V20 mA30 mA
⚪ White (cool)5000–6500 K3.0–3.6 V3.3 V20 mA30 mA
🔳 IR850–940 nm1.2–1.6 V1.4 V50 mA100 mA
🔸 UV365–400 nm3.5–4.0 V3.7 V10 mA20 mA
🔷 PinkBroad3.0–3.4 V3.2 V20 mA30 mA
High-Power 1WVarious3.0–3.8 V3.4 V300 mA350 mA
High-Power 3WVarious3.2–4.0 V3.6 V700 mA1000 mA
Resistor Value Quick Table — 5V Supply, 20 mA
LED ColourVfExact RE12 RR PowerRecommended Rating
🔴 Red2.0 V150 Ω150 Ω60 mW¼W
🟠 Orange2.1 V145 Ω150 Ω58 mW¼W
🟡 Yellow2.1 V145 Ω150 Ω58 mW¼W
🟢 Green (std)2.1 V145 Ω150 Ω58 mW¼W
🟢 Green (HB)3.3 V85 Ω82 Ω34 mW¼W
🔵 Blue3.2 V90 Ω100 Ω36 mW¼W
⚪ White3.2 V90 Ω100 Ω36 mW¼W
🔳 IR1.4 V180 Ω180 Ω72 mW¼W
🔸 UV3.7 V65 Ω68 Ω26 mW¼W
Standard E12 & E24 Resistor Values
E12 Values (Ω)E24 Additional Values (Ω)Notes
1.0, 1.2, 1.5, 1.81.1, 1.3, 1.6Below 2 Ω
2.2, 2.7, 3.3, 3.92.0, 2.4, 3.0, 3.62–4 Ω
4.7, 5.6, 6.8, 8.24.3, 5.1, 6.2, 7.54–9 Ω
10, 12, 15, 1811, 13, 16Then ×10, ×100…
22, 27, 33, 3920, 24, 30, 36Common LED range
47, 56, 68, 8243, 51, 62, 75Common LED range
100, 120, 150, 180110, 130, 160Most common for LEDs
220, 270, 330, 390200, 240, 300, 360Low current LEDs

How to Calculate an LED Series Resistor

Every standard LED requires a current-limiting resistor to prevent it from drawing unlimited current and destroying itself. The formula is R = (Vsupply − Vf) / If, where Vsupply is your power rail voltage, Vf is the LED’s forward voltage (from its datasheet), and If is your desired forward current in amperes. The resistor limits current to a safe, predictable level regardless of LED-to-LED variation in Vf.

For example: powering a red LED (Vf = 2.0 V) from 5V USB at 20 mA gives R = (5 − 2.0) / 0.020 = 150 Ω. This is a standard E12 value, so no approximation is needed. The resistor dissipates P = (Vsupply − Vf) × If = 3.0 × 0.020 = 60 mW. A standard ¼W resistor (250 mW) provides more than 4× derating — ideal for reliable long-term operation.

Golden rule: Always choose a resistor with a power rating at least 2× the calculated dissipation. For continuous duty or high-temperature environments, use 4× derating. A resistor running near its maximum rating will overheat, drift in value, and fail prematurely.

Series and Parallel LED Configurations

When wiring LEDs in series, the same current flows through every LED. The total forward voltage is the sum of all individual Vf values. The single resistor formula becomes R = (Vsupply − N × Vf) / If. Series strings are efficient — one resistor handles all LEDs — but the supply must be high enough to exceed the total string voltage. A 12V supply can typically drive 4–5 red LEDs in series with a resistor.

When wiring LEDs in parallel, each string must have its own individual current-limiting resistor. Connecting LEDs directly in parallel without resistors is unreliable: even tiny differences in Vf between LEDs cause unequal current sharing, overdriving one LED while underdriving others. Each parallel string is calculated independently using the standard formula, and the total current is simply Nstrings × If per string.

PWM dimming: LED brightness is most efficiently controlled using Pulse Width Modulation (PWM). The same peak current flows during each pulse, maintaining consistent colour and spectral output. PWM frequencies above 1 kHz prevent visible flicker. Average current = peak If × duty cycle. This also directly scales power consumption and therefore battery life.

Choosing the Right Resistor Standard Value

The exact calculated resistor value will rarely match a standard component. The E12 series provides 12 values per decade (1.0, 1.2, 1.5, 1.8, 2.2, 2.7, 3.3, 3.9, 4.7, 5.6, 6.8, 8.2 and their decades). The E24 series provides 24 values per decade. For LED circuits, always choose the nearest E12 or E24 value equal to or above the calculated value — this keeps current at or below the target, protecting the LED.

Using a value slightly below the exact calculation will increase the LED current. Check that it still remains within the LED’s maximum rated current from the datasheet. A 10–20% increase in current above target is usually acceptable for indicator LEDs, but high-brightness or high-power LEDs must stay strictly within their thermal limits.

Frequently Asked Questions

What happens if I don’t use a resistor with an LED?
Without a current-limiting resistor, the LED will draw as much current as the supply can deliver. Even a brief moment of overcurrent will destroy the LED junction — it may flash brightly and burn out instantly, or degrade rapidly over minutes. Always use a resistor, or an alternative current-limiting method such as a constant current driver IC.
Can I use the same resistor for LEDs of different colours?
Only if the forward voltages are identical. Red and green standard LEDs have Vf around 2.0–2.1V and can often share a resistor value, but blue and white LEDs have Vf around 3.2V and need a different (lower) resistor value for the same current. Always calculate per LED colour.
How many LEDs can I put in series?
The maximum is limited by your supply voltage. You need Vsupply > N × Vf plus at least 0.5–1V headroom for the resistor to function. For a 12V supply with red LEDs (Vf = 2.0V): max series = floor((12 − 1) / 2.0) = 5 LEDs. Leaving 2V across the resistor gives R = 2.0 / 0.020 = 100Ω.
What is the forward voltage (Vf) of an LED?
Forward voltage is the voltage drop across the LED when it is conducting at its rated current. Unlike a resistor, an LED is not ohmic — its voltage drop is relatively fixed regardless of supply voltage, determined by the semiconductor bandgap. Red LEDs typically drop 1.8–2.2V; blue and white LEDs drop 3.0–3.6V due to the wider bandgap of the GaN semiconductor material.
Should I use E12 or E24 resistor values?
E12 values are available from all suppliers and are more than adequate for LED circuits. The 8.3% maximum deviation between E12 values means the current will differ by at most ~10% from target — perfectly acceptable. E24 gives finer control (3.4% max deviation) and is useful for precision brightness matching in multi-LED displays, but is unnecessary for most applications.
Can I use a constant current driver instead of a resistor?
Yes, and for high-power LEDs (1W+) a constant current driver IC is strongly preferred. Resistor-based limiting wastes power in the resistor as heat, and current varies slightly with supply voltage and LED temperature. A constant current driver maintains precise, stable current regardless of supply voltage variation, improving efficiency and LED lifespan significantly.
Calculations assume ideal resistor values and nominal LED forward voltages. Actual Vf varies with temperature (approximately −2 mV/°C for standard LEDs), current level, and manufacturing tolerance. Always consult your specific LED datasheet and apply appropriate safety margins.
CalcEngines.com — Free Engineering Calculators