I'm using this online calculator - you will also get the power requirements for the resistor - it calculates the Wattage of the resistor - depending of the voltage of the circuit
...