What's going on
With no load, the output is Vout = Vin × R2 ÷ (R1 + R2). A load connects in parallel with R2, which lowers the bottom resistance, so the output falls. How much it falls depends on how the load compares with the divider's own source resistance, R1 and R2 in parallel. If the load is at least 10 times bigger, the drop is under about 10%. At 100 times bigger, it's under about 1%.
That's why dividers are great for feeding a microcontroller's analogue input, which draws almost nothing, and poor at powering anything. To power something, use a voltage regulator instead. Our battery voltage divider guide shows a real example.
How this simulation works
This is exact circuit maths with ideal resistors and an ideal voltage source. Real resistors have a tolerance, commonly 1% or 5%, so the real output can differ by a similar amount. For choosing real values, the voltage divider calculator finds the best standard pair.