LED Series Resistor Calculator
An LED needs a series resistor to limit its current; without one it draws whatever the supply allows and burns out. The resistor value is R = (Vsupply − Vforward) / I, where Vforward is the LED's forward voltage drop and I is the target current. This calculator handles a single LED or several in series (their forward voltages add up), then gives you the exact resistor, the nearest standard E24 value at or above it, the actual current that standard value produces, the power the resistor dissipates, and the minimum safe power rating (with 2× headroom). If the LED string needs more voltage than the supply provides, it tells you instead of returning a nonsensical value.
Resistor
150 Ω
Nearest E24: 150 Ω
Actual current
20 mA
Resistor power
60 mW
Min. rating
1/8 W
Total LED drop
2 V
R = (Vsupply − total Vf) / I. The nearest E24 value rounds up so current stays at or below target. Use 2× the dissipated power as the minimum resistor rating.
How to use
- Enter the supply voltage, the LED forward voltage (from its datasheet), and the desired current in mA.
- Set how many LEDs are wired in series (their forward voltages add).
- Read the exact resistor, the nearest E24 value, the resulting current and the minimum resistor wattage.
Frequently asked questions
- What resistor do I need for an LED?
- R = (Vsupply − Vforward) / I. For a typical red LED (Vf ≈ 2 V, I = 20 mA) on 5 V, that is (5 − 2) / 0.02 = 150 Ω.
- What is the LED forward voltage?
- The voltage an LED drops when conducting — roughly 1.8–2.2 V for red, 2–2.4 V for yellow/green, and 3–3.4 V for blue/white. Use the exact figure from the LED's datasheet for best accuracy.
- Why is the suggested resistor larger than the calculated one?
- Standard resistors come in fixed E24 steps. The tool rounds up to the nearest standard value so the current stays at or just below your target rather than exceeding it.
- What power rating should the resistor have?
- The resistor dissipates P = (Vsupply − Vforward) × I. Pick a rating at least double that for margin; the tool shows the minimum standard wattage (1/8 W, 1/4 W, etc.).
Related tools
Voltage Divider Calculator
Compute the output voltage of a two-resistor divider, or find the R2 you need for a target output, plus current and power dissipation.
Resistor Color Code Calculator
Decode 4/5/6-band axial resistors into ohm value with tolerance — interactive color picker, gold/silver multipliers and tolerances supported.
Ohm's Law Calculator
Solve V, I, R, P from any two known values. V=IR, P=VI, P=V²/R, P=I²R — pick which pair you have, get the other two instantly.
Two's Complement Converter (8–64 bit)
Enter a decimal, hex, binary, or octal value and see its 8/16/32/64-bit two's complement bit pattern, plus its signed and unsigned readings, hex, octal, and one's complement — in your browser.
Aspect Ratio Calculator
Convert between width × height and aspect ratio (16:9, 4:3, 21:9, …) — fit any ratio inside a container.
Capacitor Code Calculator
Decode 3-digit ceramic capacitor codes (104, 473K, 4R7) into picofarads, nanofarads and microfarads, with the tolerance-letter lookup.