LED Resistor Calculator (Arduino, 5 V, 12 V)
Calculate the resistor a LED needs from its color, supply and current, with the nearest standard value, actual current and resistor power.
How it works
A LED does not limit its own current and fails without a series resistor. The resistor is R = (Supply − LED voltage) / Current. The calculator uses the typical forward voltage for the color, rounds up to the next standard value and also shows the current at the LED’s maximum forward voltage.
