LED Resistor Calculator – Series Resistor Value and Wattage for Any LED

Use the free LED Series Resistor Calculator below: your data never leaves your browser — all work happens on your device, and nothing is uploaded to any server.

Why Every LED Needs a Series Resistor

An LED is not like a light bulb. A bulb limits its own current, but an LED will happily draw more and more current as voltage rises, until it burns out in seconds. That is why nearly every LED circuit includes a series resistor: the resistor takes up the extra voltage and holds the current at a safe level. This calculator finds that resistor for you, plus the power rating it needs.

The math is simple. Subtract the LED forward voltage from the supply voltage, then divide by the target current. With a 9 volt battery, a 2 volt red LED, and a target of 20 milliamps, the resistor is 7 volts divided by 0.02 amps, which is 350 ohms. The calculator also suggests the nearest standard E12 value at or above the exact result, because shops sell standard values, not every possible number.

How to Use the Calculator

Enter your supply voltage first. This is the voltage of your battery or power supply, such as 5 volts from USB, 9 volts from a battery, or 12 volts from a car or bench supply. Then enter the LED forward voltage. Typical values are about 2 volts for red, yellow, and green LEDs, about 3 to 3.4 volts for blue and white LEDs, and about 1.8 volts for infrared LEDs. If your LED datasheet lists a forward voltage, use that number instead of a guess.

Then enter the target current in milliamps. Twenty milliamps is the classic value for standard 5 mm LEDs, and it gives full brightness. Ten milliamps is dimmer but still clearly visible, and it extends battery life. High-power LEDs are a different world: they can need hundreds of milliamps or several amps, and they need proper drivers and heat sinks, not a simple resistor from this calculator.

Power Rating: The Part People Forget

A resistor does not just set the current; it also turns the extra voltage into heat. Power equals current squared times resistance. In the 9 volt example above, the resistor dissipates 0.14 watts. The calculator recommends a rating with at least twice that margin, so it suggests a 1/4 watt resistor. That margin keeps the resistor cool and reliable over time.

If you ignore power rating, a small resistor can overheat, change value, or fail. This is especially easy to do with higher supply voltages. A 12 volt supply driving a 2 volt LED at 20 milliamps dissipates 0.2 watts, which is already close to the limit of a 1/4 watt part. The calculator flags this by recommending a 1/2 watt part, and you should listen to it.

A Worked Example

Suppose you want to run a white LED with a forward voltage of 3.2 volts from a 5 volt USB supply at 20 milliamps. The exact resistor is 1.8 volts divided by 0.02 amps, which is 90 ohms. The nearest E12 value at or above 90 is 100 ohms. With 100 ohms, the actual current is 18 milliamps, slightly below target, which is safe and barely dimmer. The power dissipated is about 0.032 watts, so a 1/8 watt resistor is plenty.

Suppose instead you use a 12 volt supply with the same LED at 20 milliamps. The exact resistor is 440 ohms, the nearest E12 value is 470 ohms, and the power is about 0.18 watts. A 1/4 watt resistor is marginal here, so the calculator recommends 1/2 watt. That one change costs pennies and removes a real failure risk.

Common Mistakes to Avoid

The most common mistake is wiring an LED straight across a battery with no resistor at all. It may light brilliantly for a moment, then die. Another mistake is using the same resistor for several LEDs in parallel. LEDs never share current evenly, so one LED hogs the current and burns out, then the next one follows. Give each LED its own resistor, or wire LEDs in series with a single resistor sized for the whole string.

Another mistake is guessing the forward voltage. A white LED at 3.4 volts and a red LED at 2 volts need very different resistors from the same supply. If you use the red value for a white LED, the current will be lower than planned and the LED will look dim. If you do it the other way around, the current will be higher than planned and the LED may overheat.

This calculator is an educational estimator. It does not replace a datasheet, and it does not approve mains-voltage or safety-critical work. Check your local electrical codes and consult a licensed electrician before doing any electrical work beyond simple low-voltage hobby circuits.

Frequently Asked Questions

Can I use a larger resistor than calculated? Yes. A larger resistor gives less current and a dimmer LED, which is always safe. A smaller resistor gives more current and risks damage.

What if my supply voltage is below the LED voltage? The LED will not light properly, and no resistor can fix that. You need a higher supply voltage or a boost circuit.

Do I need a resistor with a constant-current driver? No. A proper LED driver already controls current, and adding a resistor only wastes power. This calculator is for simple resistor-limited circuits.

Usa esta herramienta en español

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top