# LED Series Resistor Calculator

Compute the current-limiting resistor for LEDs in series with power, nearest standard value and wattage rating

> Canonical page: https://elysiatools.com/en/tools/led-resistor-calculator

- **Category:** Math & Numbers

- **Keywords:** led resistor, led current limiting, series resistor, led, forward voltage, forward current, electronics, circuit, e12, e24

## Overview

An LED needs a series resistor to limit forward current.

Equations:
- Resistance: R = (Vs − n·Vf) / If
- Resistor power: P_R = If² · R  (pick a wattage rating ≥ 2×P_R)
- LED power: P_LED = n · Vf · If

The tool snaps the ideal resistor to the nearest E12/E24 standard value and recomputes the actual current.

## Inputs

- **Supply Voltage (Vs)** (number): e.g. 5
- **LED Forward Voltage (Vf)** (number): e.g. 2.1 (red ~1.8, green ~2.1, blue/white ~3.2)
- **LED Forward Current (If)** (number): e.g. 0.02 (20 mA)
- **Number of LEDs in Series** (number): e.g. 1
- **Standard Resistor Series** (select)

## When to use

- Designing custom LED indicator circuits on breadboards or printed circuit boards.
- Selecting the correct standard resistor value from E12 or E24 series kits for prototyping.
- Determining the minimum power rating (wattage) for a resistor to avoid thermal failure.

## How it works

- Enter the supply voltage, the forward voltage of your specific LED, and the target forward current.
- Specify the number of LEDs connected in series and choose either the E12 or E24 standard resistor series.
- The calculator computes the ideal resistance using Ohm's law, snaps it to the nearest standard resistor value, and calculates the power dissipation.

## Use cases

- Calculating the resistor for a single red status LED running on a 5V microcontroller pin.
- Configuring a series array of three white LEDs powered by a 12V automotive battery.
- Verifying power dissipation to choose between 1/4 watt and 1/2 watt resistors for a custom PCB.

## Frequently asked questions

### Why does an LED need a series resistor?

LEDs cannot limit their own current. Without a series resistor, they will draw excessive current and burn out.

### How do I choose between E12 and E24 resistor series?

Choose E12 for standard 10% tolerance resistors, or E24 for more precise 5% tolerance resistors commonly found in modern kits.

### What happens if my supply voltage is lower than the total LED forward voltage?

The LEDs will not turn on because the supply voltage must exceed the combined forward voltage drop of all series LEDs.

### How do I determine the wattage rating for my resistor?

Select a resistor with a power rating at least double the calculated power dissipation to ensure safe operation.

### Can I use this calculator for LEDs connected in parallel?

No, this calculator is designed specifically for single LEDs or multiple LEDs connected in a series configuration.

## Related tools

- [Capacitor Series / Parallel / Reactance Calculator](https://elysiatools.com/en/tools/capacitor-calculator): Combine capacitors in series/parallel, compute reactance Xc and RC time constant, with schematics and a reactance curve
- [Resistor Series / Parallel Calculator](https://elysiatools.com/en/tools/resistor-series-parallel-calculator): Combine resistors in series, parallel, or an arbitrary +/| expression, with per-resistor voltage and power
- [Voltage Divider Calculator](https://elysiatools.com/en/tools/voltage-divider-calculator): Calculate divider output voltage, solve for R1 or R2, and evaluate load effects with a circuit diagram
- [Active Earth Pressure (Rankine)](https://elysiatools.com/en/tools/active-earth-pressure): Calculate the Rankine active earth pressure on a smooth vertical wall backfilled with cohesionless soil. K_a = tan²(45°−φ/2). Optional uniform surcharge q. Returns the base pressure p₀, the total force P, and the resultant height.
- [RLC Admittance Calculator (Y = G + jB)](https://elysiatools.com/en/tools/admittance-calculator): Compute complex admittance Y = 1/Z = G + jB for series or parallel RLC circuits: G = R/|Z|², B = −X/|Z|². Returns conductance, susceptance, magnitude and phase angle. Supports any subset of R/L/C.
- [Antilog Calculator](https://elysiatools.com/en/tools/antilog-calculator): Calculate antilogarithms for any valid base and optionally verify the result by applying the logarithm again
- [Bearing Capacity Calculator (Terzaghi)](https://elysiatools.com/en/tools/bearing-capacity-calculator): Calculate the Terzaghi ultimate bearing capacity of a shallow foundation: q_ult = c·Nc·sc + q·Nq·sq + 0.5·γ·B·Nγ·sγ. Computes Nc/Nq/Nγ and shape factors automatically; supports strip, square, and circular footings. Result in kPa.
- [Belt Pulley Speed Ratio Calculator](https://elysiatools.com/en/tools/belt-pulley-speed-ratio): Calculate the ratio, driven speed and belt linear speed of a belt drive. i = d₂/d₁ = n₁/n₂, belt speed v = π·d·n/60. Supports mm/cm/m/inch diameter units.

## Samples

- [Android Image Processing Java Samples](https://elysiatools.com/en/samples/android-image-processing-java): Android Java image processing examples including reading/saving images, scaling, and format conversion
- [Android Image Processing Kotlin Samples](https://elysiatools.com/en/samples/android-image-processing-kotlin): Android Kotlin image processing examples including reading/saving images, scaling, and format conversion
- [Web Image Processing Python Samples](https://elysiatools.com/en/samples/web-image-processing-python): Web Python image processing examples using PIL/Pillow including reading, saving, resizing, and format conversion
- [Web Image Processing Rust Samples](https://elysiatools.com/en/samples/web-image-processing-rust): Web Rust image processing examples including image read/save, scaling, and format conversion
