LED Resistor Calculator

Find the series resistor needed to run an LED safely from a supply.

🔒 Runs in your browser⚡ Instant results🆓 Free, no sign-up

How to use the LED Resistor Calculator

  1. Fill in Supply voltage, LED forward voltage and LED current. Sensible sample values are already there, so you will see a result immediately.
  2. The answer updates as you type. Nothing to submit.
  3. Compare a couple of scenarios by changing one number at a time. It is the quickest way to see what really matters.

What is it good for?

Find the series resistor needed to run an LED safely from a supply. The formula is the standard one, so you can double-check the answer against a bank, a textbook or a spreadsheet.

A calculator is only as good as its inputs, so it helps to try a few different values and see how much each one changes the result. People most often reach for it when designing a small circuit on a breadboard, choosing a resistor for an LED and checking a datasheet calculation.

See it in action

With the sample values already filled in, this is what the calculator shows. Change any number and the answer updates straight away.

InputsSupply voltage (V): 5 LED forward voltage (V): 2 LED current (mA): 20
ResultsResistor (Ω): 150.0 Resistor power (mW): 60.0
Good to know. Pick the next higher standard resistor value, and check its power rating.

What happens when you change the inputs?

The best way to understand a calculator is to move one number at a time. Starting from the sample values, where Resistor (Ω) comes to 150.0, here is how that first result responds:

ChangeResistor (Ω)
LED forward voltage = 1200.0
LED forward voltage = 450.0
Supply voltage = 2.525.0
Supply voltage = 10400.0

Notice which input moves the answer the most. That is the one worth getting exactly right when you use real figures.

Mistakes to avoid

Check the units before you start. Mixing centimetres with metres, or degrees with radians, is behind most wrong answers.

Rounding too early spoils the final digits. Keep the full number until the last step and round only the answer.

Watch for impossible inputs such as a negative length or a probability above 1. They produce results that look fine and mean nothing.

Privacy

The numbers you type are used only to do the calculation, in your browser. Nothing is sent to us.

Read the guide

Want the background? Ohm’s Law and LED Resistors Explained for Beginners explains it in plain language.

Frequently asked questions

Is LED Resistor Calculator free to use?

Yes, completely free. There is no sign-up, no watermark and no limit on how many times you use it.

Is my data safe when I use LED Resistor Calculator?

The numbers you type are used only for the calculation in your browser. Nothing is sent or stored.

How accurate is LED Resistor Calculator?

It uses the standard formula, so the arithmetic is exact. The real-world answer depends on whether your inputs match your real situation, so check anything important with a professional.

Any tips for using LED Resistor Calculator?

Pick the next higher standard resistor value, and check its power rating.