LED Current-Limiting Resistor Calculator
Enter the supply voltage, the LED forward voltage, the current per string, the LEDs in series and the strings in parallel. The calculator returns the exact resistor for each string, the next standard E24 value, the real current with that value, the power in each resistor and the totals for the array.
Formulas used
Equations
- R (each string) = (Vs − n · Vf) / I
- Itotal = m · I, for m strings in parallel
- P(resistor) = I² · R
- P(LED) = Vf · I
Assumptions and limits
Read before you rely on the result
- The next standard value rounds up, so the real current is a little below the target.
- Forward voltage depends on colour and current. Read it from the LED data sheet at your current.
- The suggested rating is twice the dissipated power, so the part stays cool.
- Parallel strings each get their own resistor. A shared resistor value is shown for comparison only, because LEDs differ in forward voltage and would share the current unequally.
E12 and E24 preferred resistor values
E12
- Values per tenfold range: 12
- Typical tolerance: 10 %
- Values (multiply by 1, 10, 100 and so on): 1.0, 1.2, 1.5, 1.8, 2.2, 2.7, 3.3, 3.9, 4.7, 5.6, 6.8, 8.2
E24
- Values per tenfold range: 24
- Typical tolerance: 5 %
- Values (multiply by 1, 10, 100 and so on): 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, 9.1
E96
- Values per tenfold range: 96
- Typical tolerance: 1 %
- Values (multiply by 1, 10, 100 and so on): Not used here. Take the list from your resistor datasheet.
Frequently asked questions
What is the forward voltage of an LED?
It varies with colour. Red and yellow are near 2 V, green near 2 to 3 V, and blue and white near 3 V. Check the data sheet for your part.
Can I run LEDs in series?
Yes. Put them in series, enter the count, and the calculator subtracts every forward voltage. The supply must exceed the total.
How do I wire LEDs in parallel?
Give each string of LEDs its own resistor, and enter the number of strings. The supply current is the sum of the string currents. One shared resistor is not recommended, because small differences in forward voltage make the strings share the current unequally.
What are E12 and E24 resistor values?
They are preferred value series. The number is how many values each tenfold range has: E12 has 12 values at about 10 % tolerance and E24 has 24 values at about 5 %. E96 has 96 values at 1 %. These calculators return the exact value and, where shown, the nearest E24 value. They do not use E96 or finer series, so take those from your resistor datasheet.
Related calculators
Build the circuit and watch it light
NevilLabs lets you build and simulate a circuit in the browser, so you test a design before you wire a single part.