LED Resistor Calculator
Calculate the correct resistor value for your LED circuit. Enter your supply voltage, LED forward voltage, and current to get the resistance, power rating, and nearest standard value.
Quick Answer
R = (Vsupply − VLED) / ILED. For a 12V supply with a standard red LED (2V, 20mA): R = (12 − 2) / 0.020 = 500Ω. Use the nearest standard value: 510Ω at 1/4W.
Enter LED Circuit Values
Results
500.0 Ω
Calculated Resistance
510.0 Ω
Nearest Standard (E24)
200.0 mW
Power Dissipated
1/4W
Min. Power Rating
19.6 mA
Actual Current (w/ Std R)
About This Tool
The LED Resistor Calculator helps you find the correct current-limiting resistor for any LED circuit. Without a resistor, LEDs draw excessive current and burn out almost instantly. This calculator uses Ohm's law to determine the exact resistance needed, then finds the nearest standard E24 series value so you can buy an off-the-shelf component.
How the Formula Works
The basic formula is R = (Vsupply − Vforward) / Iforward. The resistor must drop the difference between the supply voltage and the LED forward voltage. The current through the resistor equals the LED forward current. For multiple LEDs in series, multiply the forward voltage by the number of LEDs. The supply voltage must be greater than the total forward voltage drop, or the LEDs simply won't light up.
Understanding Forward Voltage
Every LED has a characteristic forward voltage that depends on its color and semiconductor material. Red LEDs typically drop about 1.8 to 2.2 volts. Green LEDs run 2.0 to 2.4 volts. Blue and white LEDs need 3.0 to 3.4 volts because they use gallium nitride, which has a wider bandgap. You can find the exact forward voltage in the LED datasheet, usually listed as Vf at a specified test current.
Power Rating Matters
The resistor dissipates power as heat. If you use a resistor rated below the dissipated power, it will overheat and fail. Standard through-hole resistors come in 1/8W, 1/4W, 1/2W, and 1W ratings. As a rule of thumb, choose a resistor rated at least twice the calculated power dissipation. This gives you a safety margin and keeps the resistor running cool. A 1/4W resistor works for most single-LED circuits powered by 5V or 12V supplies.
Series vs Parallel LED Configurations
When wiring LEDs in series, all LEDs share the same current and you add the forward voltages together. One resistor handles the entire string. When wiring LEDs in parallel, each LED should have its own resistor. Never run parallel LEDs through a single shared resistor because manufacturing variations mean one LED will hog more current and burn out first, causing a cascade failure.
Standard Resistor Values
Resistors are manufactured in standard value series. The E24 series (5% tolerance) is the most common and includes 24 values per decade: 1.0, 1.1, 1.2, 1.3, 1.5, 1.6, 1.8, 2.0, 2.2, 2.4, 2.7, 3.0, 3.3, 3.6, 3.9, 4.3, 4.7, 5.1, 5.6, 6.2, 6.8, 7.5, 8.2, and 9.1, then multiplied by powers of 10. This calculator automatically finds the nearest E24 value to your calculated resistance and shows the actual current with that standard value.
Frequently Asked Questions
What happens if I don't use a resistor with my LED?
Can I use a higher value resistor than calculated?
How do I wire multiple LEDs?
What is the E24 resistor series?
Why does the power rating matter for resistors?
Was this tool helpful?
You might also like
Amps/Watts/Volts Calculator
Convert between amps, watts, and volts for AC and DC circuits.
⏱ instantElectronicsPower Consumption Calculator
Calculate device power usage and electricity cost over time.
⏱ instantElectronicsVoltage Divider Calculator
Calculate voltage divider output or solve for any unknown.
⏱ instant