Calculators / LED Resistor Calculator

LED Resistor Calculator

Choose an E12 or E24 series resistor for identical LEDs, then check estimated current and resistor power at your supply voltage.

Inputs

Example values are prefilled. Press Calculate to get a result.

Result

Check the example supply, LED voltage, target current, and series before calculating. Results clear when an input changes.

Choosing an LED series resistor

Enter the supply voltage, the LED forward voltage at your target current, and the number of identical LEDs in series. The calculator subtracts their combined forward voltage from the supply, divides by the target current, then rounds up to an E12 or E24 resistor value. It shows the current and resistor power for that chosen value.

Worked estimates using 2 V per LED and E12 resistors
ExampleSupplyTargetChosen resistorEstimated currentResistor power
One red indicator LED5 V10 mA330 Ω9.09 mA27.3 mW
Two LEDs in series12 V15 mA560 Ω14.29 mA114.3 mW
3.3 V logic supply3.3 V10 mA150 Ω8.67 mA11.3 mW

Why the actual current is lower

A preferred resistor value is rounded up. For the 5 V example, the theoretical resistance is 300 Ω; the next E12 value is 330 Ω. That lowers the fixed-voltage estimate from 10 mA to about 9.09 mA. The calculator also suggests a resistor power rating with at least twice the estimated dissipation before manufacturer derating.

Checks before building

Forward voltage varies by part, current, and temperature. Check the exact LED datasheet and supply tolerance, especially when the supply voltage is only slightly above the combined LED forward voltage. Give each parallel LED branch its own current control; this series calculation does not model current sharing between branches. High-power LEDs usually need a suitable constant-current driver and thermal design.

Read LED polarity, forward voltage, and ratings →

How to use

Start with the example values, replace them with your own, and press Calculate. Change any input to clear the previous result. You can copy the result or a link that restores your inputs.

Formula and assumptions

R = (Vs − n × Vf) / Itarget. Actual current = (Vs − n × Vf) / Rselected.

Fixed forward voltage is an estimate. Check the specific LED datasheet and resistor tolerance. A suggested power rating uses at least 2× calculated dissipation before manufacturer derating.

Worked example

At 5 V with one 2 V LED and 10 mA target, the theoretical value is 300 Ω. The next E12 value is 330 Ω, giving about 9.09 mA.

Understand the result

Calculated values are estimates from the stated model. Check equipment ratings and installation conditions before using them in a real circuit.

Related tools