Free to use, no account

LED Resistor Calculator

Calculate a current-limiting resistor for one or more LEDs in series. Compare E12 and E24 values and check the estimated current and resistor power.

Ideal DC series-circuit estimate. The selected standard value rounds resistance upward, so calculated current will not exceed the target under the entered ideal values. Check LED and resistor datasheets, tolerances, temperature and supply variation. Power suggestion uses a simple 2× margin; it is not a safety certification.

How do I calculate a resistor for an LED?

Subtract the combined LED forward voltage from the supply voltage, then divide by the target current in amperes. The calculator also rounds up to a preferred E12 or E24 value and estimates the resulting current and resistor dissipation.

Frequently asked questions

How do I calculate a resistor for an LED?

Subtract the combined LED forward voltage from the supply voltage, then divide by the target current in amperes. The calculator also rounds up to a preferred E12 or E24 value and estimates the resulting current and resistor dissipation.

Are my circuit values uploaded?

No. The calculation runs in this browser; the values you enter are not uploaded or saved by this tool.

What resistor do I need for a 12 V supply and a 2 V LED at 20 mA?

The ideal required resistance is (12 − 2) ÷ 0.02 = 500 Ω. This calculator selects 560 Ω from E12, which gives about 17.9 mA and 0.179 W dissipation in the ideal model.

Can I put several LEDs in series?

Yes. Enter the number of LEDs and the forward voltage of each one. The calculator adds their forward voltages, then uses the remaining supply voltage to calculate the resistor.

How do I choose resistor wattage?

The tool estimates resistor dissipation from its selected resistance and shows the next common rating at or above twice that estimate. This simple margin does not account for enclosure, ambient temperature, ventilation, pulse loads or manufacturer derating; check the datasheet and circuit conditions.

Does this prove my LED circuit is safe?

No. LED forward voltage and supply voltage vary, and this ideal calculator does not check transient behavior, wiring, temperature or component limits. Verify actual datasheets and consult a qualified person when needed.