LED Series Resistor Calculator

LED Series Resistor Calculator calculates the series resistor value needed to safely drive an LED from the supply voltage, the LED's forward voltage (Vf) and desired current, using R=(Vsupply-Vf)/I. It's the most basic calculation needed to limit current in any LED circuit.

This tool is for educational and preliminary-estimate purposes only; electrical wiring and circuit work involves life-safety risk, don't act on the result without having it verified by an electrical engineer/electrician against the applicable electrical code (IEC 60364, NEC, etc.).
Required series resistor150.0 Ω

How it works

  1. 1Enter the supply voltage (e.g. 5V USB, 12V power supply).
  2. 2Enter the LED's forward voltage (Vf), it varies by color (red ~1.8-2.2V, blue/white ~3-3.4V).
  3. 3Enter the desired LED current in milliamps (typically 20mA for standard 5mm LEDs).
  4. 4Read the required series resistor value.

Frequently asked questions

Where do I find the LED's forward voltage (Vf)?+

It's specified in the LED's datasheet; if you don't have one, use approximate values by color: red/orange/yellow ~1.8-2.2V, green ~2-3.2V, blue/white/violet ~2.8-3.4V.

What if my calculated resistance isn't a standard value?+

Round up to the nearest standard resistor value (E12/E24 series, e.g. 220Ω, 330Ω, 470Ω), a slightly higher resistance runs the LED at slightly lower current, which is safe; rounding down can overdrive the LED.

Why should I always round up, not down?+

A resistance lower than calculated increases current through the LED and can shorten its life or burn it out immediately; a higher resistance just makes the LED slightly dimmer.

Can I drive multiple LEDs with one resistor?+

For LEDs in series, their Vf values add up and a single resistor can be calculated (if supply voltage is sufficient); for LEDs in parallel, separate resistors are recommended since each LED needs its own current limiting.

Is the data I enter stored anywhere?+

No, the entire computation runs in your browser.

Embed on your site

Size
480 × 360px
<iframe
  src="https://toolsqube.com/en/electrical-engineering/led-series-resistor-calculator/embed"
  width="480" height="360"
  style="border:0;border-radius:14px"
  title="LED Series Resistor Calculator · ToolsQube"
  loading="lazy">
</iframe>

Want to go deeper on this topic: Electrical Circuit Tools Guide →

Command Palette

Search for a command to run…