LED Series Resistor Calculator
Series resistor for an LED string — value, nearest E-series part and power.
—
Series resistor value
Sizing the resistor
The resistor takes whatever supply voltage the LEDs don't, at the design current:
with LEDs in series. Pick the next standard E-series value above the result so you never exceed the rated current, and choose a resistor wattage at least 2× the calculated for margin. If there isn't enough headroom to light the string — drop an LED or raise the supply.