You do not set the voltage for LEDs. You set their current.
Most individual LEDs have a max current of 20mA and a forward voltage drop between 1.5V to 3V.
If you want a quick and dirty calculation, just ignore the LED voltage drop and calculate a resistor based on the supply voltage and a 15mA to 20mA current. Realizing that the current will be slightly smaller due to the voltage drop across the LED.
Otherwise, the resistor value = Rmin = (Vsupply - Vled) / Iled