Find the correct current-limiting resistor value (and its power rating) for one or more LEDs in series on a given supply voltage.
📂 Electrical & ElectronicsFill in the fields on the left with your circuit's known values, then press the button to see your result instantly. No sign-up required, and no data is sent anywhere — everything is calculated right in your browser.
An LED always needs a resistor of a specific value connected in series with it to limit the current flowing through it, because an LED doesn't have enough internal resistance to regulate its own current and may burn out instantly if connected directly to a voltage source. This resistor's value is calculated from Ohm's Law after subtracting the LED's "forward voltage" from the source voltage: R = (V_supply − V_LED) ÷ I_LED. When connecting several LEDs in series, the forward voltage is multiplied by their number before subtracting. This tool also shows the nearest standard commercial resistor value from the E12 series (the most widely available in the market) instead of the precise theoretical value, which may not be available as an actual product, along with the power the resistor is expected to dissipate as heat, to help you choose a resistor with a sufficient power (wattage) rating and avoid burning it out during normal operation.
Connecting an LED directly to a battery or power supply without a resistor is one of the most common mistakes beginners make in electronics, and it almost always ends the same way: a brief, bright flash followed by a permanently dead LED, sometimes accompanied by a small puff of smoke.
The underlying problem is that an LED's current-voltage relationship isn't linear like a resistor's — once an LED reaches its forward voltage (typically somewhere between about 1.8V and 3.3V depending on color and type), even a tiny additional increase in voltage causes an enormous, uncontrolled increase in current, since the LED itself provides very little resistance to limit that current once it's conducting. Without something else in the circuit to limit current, the LED will draw far more than its rated maximum almost instantly, generating enough heat internally to destroy the semiconductor junction.
A series resistor solves this by providing the current-limiting the LED itself lacks. Once you know the supply voltage, the LED's forward voltage (found on its datasheet or estimated by color — red and yellow LEDs typically have lower forward voltages than blue or white ones), and the LED's rated operating current, Ohm's Law directly gives the resistor value needed: subtract the LED's voltage drop from the supply voltage to find the voltage the resistor needs to absorb, then divide by the desired current.
In practice, the exact calculated resistance value is rarely available as an off-the-shelf component, since resistors are manufactured in standardized value series (like the E12 series, offering roughly 12 values per decade) rather than every possible value. Choosing the nearest available standard value slightly above the theoretical calculation is standard practice, since a resistor slightly larger than the exact calculated value simply results in a marginally dimmer LED, while a resistor smaller than calculated risks exceeding the LED's rated current.
The power the resistor must dissipate as heat — calculated as current squared times resistance — also matters for component selection, since standard small resistors are typically rated for only a fraction of a watt. For most simple LED indicator circuits at low current, this power dissipation is small enough that even a basic quarter-watt resistor handles it comfortably, but higher-current LED applications, such as illumination LEDs, may require resistors with a higher power rating to avoid the resistor itself overheating during continuous operation.
LEDs have a very steep current-voltage curve near their forward voltage — a tiny increase in voltage causes a huge increase in current, so without a resistor to limit current, the LED can draw far more current than it's rated for and burn out almost instantly.
Resistors are manufactured only in specific standard value series (like E12); rounding the exact calculated value up to the nearest standard ensures the actual current stays at or slightly below the LED's rated current rather than exceeding it.
The resistor can overheat, change resistance value as it degrades, or fail completely — always choose a resistor rated for at least the calculated power dissipation, with some safety margin.