This calculator can be used to calculate what resistor value you should use with an LED to limit the current level. It can be used for a single LED.