The GPS receiver calculates its own four-dimensional position in space...
wikipedia - 17 Aug 2022The GPS receiver calculates its own four-dimensional position in spacetime based on data received from multiple GPS satellites. Each satellite carries an accurate record of its position and time, and transmits that data to the receiver.