Electrical calculator
LED Resistor Calculator
Give the LED enough current to glow, not enough current to audition as a tiny smoke machine.
Sage’s guided lesson
An LED is a diode, not a self-regulating light bulb
The resistor uses the voltage left over after the LED drop and turns it into controlled current. That one sentence explains most of the calculator, but Sage has brought diagrams, history, and several opportunities to prevent an avoidable pop.

Start with the part everyone underestimates
Forward voltage is not a current setting
An LED begins conducting strongly after its forward voltage is reached. A small voltage change can create a large current change, so connecting a bare indicator LED directly across a stiff voltage source can destroy it.
The series resistor drops the remaining voltage and limits current. The useful voltage for the resistor is supply voltage minus the combined forward voltage of every LED in the series string.
Use the highest realistic supply voltage and a realistic low LED forward voltage when checking worst case current. Nominal numbers are not protective equipment.
The resistor gets whatever voltage the LEDs leave behind
How to calculate resistance and wattage
Resistance equals resistor voltage divided by current in amperes. Resistor power can be calculated as current squared times resistance. The calculator then rounds resistance upward to a standard value so current does not exceed the target under the entered conditions.
Worked example
12 V supply; three 2.1 V LEDs; target current 20 mALED drop = 3 × 2.1 = 6.3 VResistor voltage = 12 − 6.3 = 5.7 VExact R = 5.7 ÷ 0.020 = 285 ΩNext E12 value = 330 Ω; current ≈ 5.7 ÷ 330 = 17.3 mAE24 also offers 300 Ω; current = 5.7 ÷ 300 = 19 mAAt 330 Ω, power ≈ 0.0173² × 330 = 0.098 W; a 1/4 W part provides margin
I know this is off topic, but this reminds me of a joke I heard when teaching this to one of my interns, Why did the potato say no to the party? It was already mashed. Yeah, I don’t see the connection either, but I think it is cute!

One string, one current path
Series LEDs share current; parallel branches do not share politely
LEDs in one series string all carry the same current, and their forward voltages add. This can reduce resistor loss because more supply voltage is used by the LEDs.
Parallel LED branches can draw unequal current because no two LEDs have exactly the same forward voltage. The branch with the slightly lower forward voltage may take more current, warm up, drop further, and take still more.
Matching part numbers help, but separate resistors are the simple way to stop one branch from bullying the others.
Resistors come in preferred numbers for a reason
E12 and E24 are logarithmic value families
Resistor manufacturers use preferred number series so useful values repeat through each power of ten. E12 supplies 12 basic values per decade; E24 supplies 24 and gives finer choices.
A 300 ohm resistor is the same pattern as 30 ohms, 3 kilohms, and 300 kilohms. The multiplier changes; the preferred digits repeat.
Actual resistance also has tolerance. A 5% 300 ohm resistor can be lower than 300 ohms, which raises current. For sensitive designs, check the low resistance limit along with supply and LED tolerances.


From a faint laboratory glow to nearly every display in sight
LED history moved one color at a time
Electroluminescence in a semiconductor was observed in the early twentieth century, but practical visible LEDs arrived decades later. Early commercial devices were dim red indicators, useful mainly because they were small, rugged, and long lived.
Brighter red, yellow, and green devices followed. Efficient blue LEDs made practical white LED lighting possible by exciting phosphors or combining colors.
An LED can switch much faster than a heated filament. That is why the same basic device appears in optical data links, remote controls, displays, and high speed lighting systems.
The resistor is simple; the real world is warmer
Temperature changes the electrical behavior
LED forward voltage usually falls as junction temperature rises. With a fixed resistor, that can increase current. Resistors also heat, and their power rating depends on ambient temperature and ventilation.
- Use constant current drivers for high power LEDs and applications with wide supply variation.
- Follow polarity and maximum reverse voltage limits.
- Check thermal paths, not just electrical watts.
- Do not assume perceived brightness doubles when current doubles; vision and LED efficiency are nonlinear.
This calculator is for simple DC resistor-limited strings, not mains circuits, high power emitters, multiplexed arrays, or driver design.

And that is the lesson properly accounted for
The LED is bright, the resistor is calm, and the smoke has remained theoretical
You now know how voltage headroom becomes resistance, why parallel branches need their own resistors, and why “typical forward voltage” is not a promise. Sage approves this outcome and has dimmed the cheese fries to a tasteful 19 milliamps.

Quick answers
LED Resistor Calculator questions
Why does the calculator round resistance up?
A higher standard resistance reduces current. Rounding down can push the LED above the intended current.
Can parallel LEDs share one resistor?
They may not share current evenly. Separate branch resistors are the safer basic arrangement.
What forward voltage should I enter?
Use the data sheet value at the intended current, and consider the minimum value when checking worst case current.
Why is the resistor getting hot?
The resistor converts its voltage drop and current into heat. Check calculated power, tolerance, ambient temperature, and physical ventilation.
Is 20 mA always the correct LED current?
No. It is common for older indicator LEDs, but many modern LEDs are specified for lower or much higher current. Use the actual data sheet.
Can I run a white LED from 3.3 volts with a resistor?
Sometimes, but the voltage headroom may be very small and current can vary greatly with supply and forward voltage.
When should I use a constant current driver?
Use one when power, efficiency, temperature stability, supply variation, or LED current exceeds what a simple resistor can handle comfortably.
Before you use the result
Disconnect power before wiring. This calculator does not replace the LED, resistor, power supply, or driver manufacturer’s ratings.