GPS works by converting time into distance: satellites broadcast signals, and the delay between transmission and reception tells your device how far away each satellite is. Achieving meter-level accuracy requires correcting for imprecise clocks, satellite geometry, and relativistic effects from Einstein's theories of relativity. The system is remarkable in that it pinpoints location to within a few meters using only light-travel-time measurements from satellites tens of thousands of kilometers away.
Sort: