LED resistor — common cases, pre-computed
The resistor value for the most common supply / LED-color / current combinations, each rounded up to the nearest E24 standard value. Need a different value? Open the interactive calculator.
3.3V supply
5V supply
9V supply
12V supply
Values are reference estimates using a typical forward voltage per color — confirm against your LED's datasheet.