The series resistor value RS is calculated by simply using Ohm´s Law, by knowing the required forward current IF of the LED, the supply voltage VS across the combination and the expected forward voltage drop of the LED, VF at the required current level, the current limiting resistor is calculated as: