LED Circuit Calculator
Resistor value from LED specs and supply voltage.
Inputs
Results
Exact Resistor (Ω)
150
Nearest E24 Resistor (Ω)
150
Actual Current (mA)20
Resistor Power (mW)60
Min Resistor Rating (W)0.13
LED Power (mW)40
Total Circuit Power (mW)100
Resistor Voltage Drop (V)3
How to Use This Calculator
- Enter your supply voltage (V) and the LED forward voltage (V) from the datasheet.
- Set the desired LED forward current (mA) and the number of LEDs wired in series.
- Review the calculated resistor value (Ω), nearest E24 standard resistor, and actual resulting current.
- Check resistor power dissipation (mW) and minimum wattage rating to ensure safe operation.
How the result changes with Supply Voltage (V)
| Supply Voltage (V) | Exact Resistor (Ω) | Nearest E24 Resistor (Ω) |
|---|---|---|
| 5.25 | 162.5 | 180 |
| 17 | 750 | 750 |
| 31 | 1,450 | 1,500 |
| 43 | 2,050 | 2,200 |
What each input means
- Supply Voltage (V)
- DC supply voltage powering the circuit.
- LED Forward Voltage (V)
- Forward voltage drop across the LED (check datasheet; typical red ~2V, blue/white ~3.2V).
- LED Forward Current (mA)
- Desired operating current through the LED in milliamps (typical 5mm LED: 20mA).
- LEDs in Series
- Number of LEDs connected in series.
What each result means
- Exact Resistor (Ω)
- Calculated resistor value using R = (Vs - Vf) / If.
- Nearest E24 Resistor (Ω)
- Nearest standard E24 series resistor value (rounded up to protect LED).
- Actual Current (mA)
- Actual current with the nearest standard resistor.
- Resistor Power (mW)
- Power dissipated in the resistor.
- Min Resistor Rating (W)
- Minimum wattage rating for the resistor (use at least 2x for safety margin).
- LED Power (mW)
- Power consumed by the LED(s).
- Total Circuit Power (mW)
- Total power drawn from the supply.
- Resistor Voltage Drop (V)
- Voltage dropped across the current-limiting resistor.
How this is calculated
Worked example, using the default values
- Identify Input Parameters4 parametersSupply Voltage (V) = 5, LED Forward Voltage (V) = 2, LED Forward Current (mA) = 20, LEDs in Series = 1 = 4 input(s) provided
- Calculate Exact Resistor150 = 150
- Calculate Nearest E24 ResistorNearest E24 Resistor150 = 150
- Calculate Actual CurrentActual Current = nearestResistor > 020 = 20
- Calculate Resistor PowerResistor Power = resistorOhms > 060 = 60
Engine last updated .
Related Calculators
The questions that sit next to this one — chosen by subject, including calculators filed under a different category.
Science & Engineering
Ohm's Law Calculator
Calculate voltage, current, resistance, or power using Ohm's Law (V = I × R). Enter any two values to find the others.
Hobby ElectronicsWire Gauge Calculator
Wire AWG from current capacity and voltage drop.
Hobby ElectronicsBattery Life Calculator
Runtime from battery capacity and circuit current draw.
Hobby ElectronicsRaspberry Pi Power Calculator
Power supply sizing from Pi model and peripherals.
Grain MarketingForward Contract Calculator
Forward pricing from futures, basis, and delivery period.
More in Technology & Computing.