I found this answer which gives as the formula
$$T_2 = \frac{T_0}{\sqrt{1-\frac{2GM}{c^2 R}}}$$
that should result in the time $T_2$ passed on a GPS satellite while $T_0$ seconds pass in the center of earth. I assume the following:
- $G\approx 6.674 \cdot 10^{-11} \frac{\text{N} \cdot \text{m}^2}{\text{kg}^2}$ is the gravitational constant
- $M = 5.97237 \cdot 10^{24} \text{kg}$ is the mass of Earth
- $c = 299792458 \text{m/s}$ is the speed of light,
- $R = 20180\text{km} + 6378\text{km}$ is the distance of the GPS satellite from Earths center of mass.
Then I get:
\begin{align} t_\Delta &= T_2 - T_0\\ &= \left (\frac{1}{\sqrt{1-\frac{2GM}{c^2 R}}} - 1 \right ) \cdot T_0\\ &\approx \left (\frac{1}{\sqrt{0.9999999996660677}} - 1 \right ) \cdot 86400s\\ &\approx 14.4\mu s \end{align}
While it is in the same ballpark, it is still quite different from the 45$\mu s$ provided in the linked answer. Where is the mistake?
Python script
T0 = 24 * 60 * 60
G = 6.673e-11
M = 5.97237e+24
c = 299792458
R = 26558.16
print((1/(1 - 2 * G * M / (c**2 * R * 10**3))**0.5 - 1 ) * T0)