LED Resistor Quick Calculator
Choose a current-limiting resistor for one LED connected to a DC supply. Enter the supply voltage, the LED's forward voltage, and the desired current to see the exact minimum resistance, the next-higher common E12 resistor, the resulting LED current, and a practical resistor power rating.
LED Resistor Quick Calculator Interactive Tool
R = (Vₛ - Vꜰ) ÷ I
P = (Vₛ - Vꜰ) × I
I with standard resistor = (Vₛ - Vꜰ) ÷ RₛₜdConvert LED current from milliamps to amps before using the formula (20 mA = 0.020 A).
Results
Results
How to use this calculator
- Enter the DC supply voltage that will power the LED.
- Enter the LED forward voltage from its datasheet; typical values are about 2.0 V for red LEDs and 3.0–3.3 V for blue or white LEDs.
- Enter the desired LED current in milliamps. Use the datasheet rating and choose a lower current when in doubt.
- Use the next-higher standard resistor and the suggested minimum power rating shown in the results.
The Formula
The mathematical logic powering this calculation is:
R = (Vₛ - Vꜰ) ÷ I
P = (Vₛ - Vꜰ) × I
I with standard resistor = (Vₛ - Vꜰ) ÷ RₛₜdWorked Example
If you input:
- Supply Voltage: 12 V
- LED Forward Voltage: 2 V
- LED Current: 20 mA
Result:
Exact resistance: 500 Ω; recommended standard resistor: 560 Ω; actual current: 17.86 mA; use at least a 0.5 W resistor.
Frequently Asked Questions
Why does the calculator recommend a resistor above the exact value?
Resistors are sold in standard values. Choosing the next-higher common value keeps the LED current at or below the requested current, which is the safer direction.
Where do I find an LED's forward voltage and maximum current?
Use the LED datasheet. Forward voltage varies by color, part, temperature, and current, so the datasheet is more reliable than a generic color estimate.
Can I use one resistor for several LEDs?
This calculator is for one LED. LEDs in series can share a resistor when the supply voltage is high enough, but parallel LEDs should normally have one resistor per branch.
Similar Calculators
Ohm's Law Calculator
Calculate voltage, current, or resistance using Ohm's Law — enter any two values to find the third.
Power Calculator
Calculate electrical power in watts from voltage and current, or find current from power and voltage.
DC Voltage Drop & Cable Loss Calculator
Compare DC cable voltage drop, power losses and load limits with separate conductor lengths, connection resistance, constant-power loads and visual sweeps.
