QuickToolbox

LED Resistor Calculator

Find the series resistor an LED needs from the supply voltage, LED forward voltage and current, and pick the nearest standard value.

These tools are for study and quick checking. A result is only as good as the numbers you enter and the simplifying assumptions in the formula. For published, regulated or safety-critical work, check it against a trusted source or an instrument.

How it works

The formula

R = (supply voltage - LED voltage) / LED current

Frequently asked questions

Why does an LED need a resistor?

An LED has almost no resistance once it conducts. Without a resistor the current can rise until it burns out.

Should I round up or down?

Round up to the next standard value for a safer, slightly dimmer LED.

Is what I enter sent anywhere?

No. The calculation is done in your browser, so your numbers are not sent to a server or saved.

Related tools