LED Resistor Calculator
Series resistor for LEDs from supply voltage, LED forward voltage, and target current. Exact ohms, next E12 value, and resistor wattage hint.
LED series resistor
An LED behaves like a diode with a nearly fixed forward voltage, while current sets brightness and heat. A series resistor limits that current. This tool computes that resistor from your supply voltage, estimated Vf, and the current you want through the loop.
What you're feeding it
Color sets a ballpark Vf. The reference card below adds typical max continuous current, which the shortcuts do not include. Prefer values from the datasheet when you have one; otherwise measure and adjust if the brightness or temperature is off.
- Voltage across resistor
- 3.00 V
- Exact resistor value
- 150.00 ฮฉ
- Next E12 standard (โฅ exact)
E12 is a common set of preferred resistor values available from most suppliers. This value is the next one in that set that is still at or above your exact ohms.
150.00 ฮฉ
That rounding slightly lowers current versus the exact calculation, which is usually fine for indicator LEDs.
- Current with E12 resistor
- 20.00 mA
- Power in the resistor
- 60.00 mW Shelf-friendly rating: 1/8 W or higher
- Power at E12 value
- 60.00 mW
Work shown
V across resistor = 5.00 โ 2.00 = 3.00 V. Then R = 3.00 V รท 0.02 A โ 150.00 ฮฉ.
Typical indicator LED cheat sheet
Same color rows as the shortcuts, with an extra column for typical maximum continuous forward current from common small epoxy through-hole parts. High-power and specialized LEDs need their own datasheets; treat these figures as starting points.
| LED color | Typical Vf (V) | Typ. max IF continuous* |
|---|---|---|
| Red | 1.8โ2.1 | 30 mA |
| Amber | 2โ2.2 | 30 mA |
| Orange | 1.9โ2.2 | 30 mA |
| Yellow | 1.9โ2.2 | 30 mA |
| Green | 2โ3.1 | 25โ30 mA |
| Blue | 3โ3.7 | 20โ30 mA |
| White | 3โ3.4 | 20โ30 mA |
* Approximate absolute-maximum DC forward current for generic 5ย mm epoxy indicators at room temperature; chemistries vary, which is why some rows show a range. Operating well below the maximum (often around 10โ20ย mA for indicators) usually improves lifetime. Confirm on the datasheet for your specific part.
LED series resistor quick reference
Enter supply voltage, estimated LED forward voltage, and target current. Color shortcuts match common distributor charts (red through white), each filling the midpoint of a typical Vf band. Outputs include exact resistance, the next E12 value at or above it, resulting current, and resistor dissipation. For general VโIโRโP relationships without LED framing, use the Ohm's law calculator linked from this page.
Before you wire it
Target LED current
Why we round up on E12
Diode reality check
LED Resistor Calculator: Series Resistor for Forward Voltage and Current
Turn supply voltage, LED forward voltage, and target LED current into a resistor value. Includes E12 rounding, wattage hints, and the algebra spelled out.
What This LED Resistor Calculator Does
- Inputs:Supply voltage, LED forward voltage, target series current (with unit selector).
- Outputs:Voltage across the resistor, exact resistance, suggested E12 value, updated current, resistor power, clipboard-friendly summary.
How the Math Works
- Voltage across the resistor:Subtract forward voltage from supply voltage:
If is zero or negative, fix the supply voltage or LED configuration before choosing R.
- Resistor value:Ohm's law on the resistor only:
Here is the LED current you asked for, because series components share that current.
- Power dissipated in the resistor:
Compare to the resistor power rating and choose a part with adequate margin.
- Worked example:Say , a red indicator with , and . Then , so . The next E12 value at or above 360 ฮฉ is 390 ฮฉ, so actual current ends up slightly below 20 mA.
How to Use This Calculator
Why LED Forward Voltage Varies
From Paper Ohms to Parts You Can Actually Buy
When the Series Resistor Is Only Half the Story
FAQ
What resistor do I need for an LED on 12 V?
What is LED forward voltage?
How much LED current should I pick?
Why does everyone mention Ohm's law for LEDs?
Can I wire LEDs in series?
Is an LED the same as a normal diode for math?
What wattage resistor should I buy?
Sources & citations
References used for the calculation method and definitions. Links open in a new tab when available.
Introduces LED behavior, typical forward voltage bands by construction, and why diode curves matter when picking operating points.
Hobby-oriented overview of LED behavior, forward voltage and current, and why real parts need margin instead of a single magic Vf.
Electronics Reference Note
Educational Use: These tools use standard electrical formulas (e.g., Ohm's Law, NEC voltage drop) for learning, hobby projects, and general reference, not for licensed electrical work or safety-critical installations.
Verification Recommended: Wire sizing, voltage drop, and circuit design depend on local codes, ambient conditions, and load profiles. For real installations, consult a qualified electrician or engineer.
Not Professional Advice: This site does not provide electrical or engineering advice. All calculations run locally in your browser; no data is stored or transmitted.