📐 Math & Science

LED Resistor Calculator

Find the right resistor so your LEDs light up without burning out.

  • Freeno limits, no watermark
  • 0sign-ups or accounts
  • Privateruns on your device
  • Any devicephone, tablet or PC

—

Nearest E12 (≥)—
Nearest E24 (≥)—
Resistor power—
Use a resistor rated—

Why LEDs need a resistor

An LED drops a nearly fixed forward voltage (Vf) and will draw as much current as the supply allows, quickly overheating. A series resistor limits the current: R = (Vs − n × Vf) ÷ I. For a red LED (2.0 V) at 20 mA from 5 V: R = 3 ÷ 0.02 = 150 Ω. Resistors come in standard values, so the calculator rounds up to the next E12 or E24 value — a slightly larger resistor means slightly less current, which is safe.

Good practice

Standard 5 mm indicator LEDs are rated around 20 mA, but 5–10 mA is usually plenty bright and extends LED life. Check your LED’s datasheet for its exact Vf and maximum current. For several LEDs, put them in series with one resistor (the supply must exceed the total Vf) or give each parallel branch its own resistor — never share one resistor between parallel LEDs. High-power LEDs (1 W and up) need constant-current drivers rather than resistors.

All calculations run instantly in your browser — handy for homework, lab reports, revision and quick checks on the workbench. Values update as you type, and results switch to scientific notation for very large or small numbers.

Frequently asked questions

What resistor for an LED on 5V?

About 150 Ω for red and 100 Ω for blue/white at 20 mA.

What resistor for an LED on 12V?

About 470–510 Ω for a red LED at 20 mA.

Can I connect an LED without a resistor?

Only with a constant-current driver; otherwise it will burn out.

Found it useful? Share the LED Resistor Calculator:

Last updated 2026-11-21 · Built by Vinayak Agarwal · Part of Math & Science (42 tools)