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
- Enter your values in the boxes. Where a box has a unit beside it, check the unit before you read the answer.
- The answer updates as you type, so there is no button to press.
- Use Copy results to keep the answer. Check the formula and its limits below if the result will go into a report or an experiment.
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
Resistor Color Code Calculator
Choose the color bands of a 4 or 5 band resistor and get its resistance in ohms, with the tolerance and the range it may fall in.
Diode Calculator
Find the current, resistor power and diode power in a simple diode circuit from the supply, series resistor and forward voltage.
Transistor Bias Calculator
Find the base current, collector current and collector emitter voltage of a voltage divider biased NPN transistor stage.