Vout = Vin × R2 / (R1 + R2). R1 is the top resistor from the supply; R2 is the bottom resistor to ground. Unloaded — a low-impedance load pulls the output down.