Above the surface. 400 km is the space station; 35 800 km is geostationary. The orbit's radius is r = R + h.
Explore
A 400 kg satellite in a low orbit. Raise the orbit until it is 3 Earth radii from the centre, and watch the three bars.