Time dilation on Satellites due to GR I am trying to determine the time dilation onboard a satellite (say GPS @ 20,000km) w.r.t an observer on the earth. I have already determined the special relativity component using:
$$
t' = \frac{t}{\sqrt{1 - \frac{v^2}{c^2}}}
$$ 
And I got the correct answer for the time dilation simply due to relative motion (7 microseconds after 24 hrs). Im not sure if determining the component due to GR is this simple, but my first attempt was to evaluate it using the equation to determiine gravitational time dilation outside a non rotating sphere in a circular orbit using the Schwarzschild metric.
$$
t' = t\sqrt{1-\frac{3GM}{rc^2}}
$$ 
I dont seem to be getting the correct answer (45 microseconds after 24 hrs). Any ideas?
 A: The equation you quote:
$$ t' = t\sqrt{1-\frac{3GM}{rc^2}} \tag{1} $$
gives the time relative to an observer at infinity. You want the time relative to an observer on the Earth's surface. You need to calculate:
$$ t_\text{satellite} = t\sqrt{1-\frac{3GM}{r_\text{satellite}c^2}} $$
and:
$$ t_\text{Earth} = t\sqrt{1-\frac{2GM}{r_\text{Earth}c^2}} $$
where $r_\text{Earth}$ is the radius of the Earth and $r_\text{satellite}$ is the radius of the satellite's orbit (measured from the centre of the Earth). The relative time dilation is then the ratio of these two times.
Note that equation (1) combines the special and general relativity contributions to the time dilation i.e. it includes both the gravitational time dilation and the effect of the orbital velocity. The observer on the Earth's surface isn't in a circular orbit so the equation is slightly different (a factor of 2 in the square root rather than 3).
Incidentally, when the gravitational field is weak (like the Earth's) we can use the weak field approximation for time dilation:
$$ \frac{dt_B}{dt_A} = \sqrt{1 - \frac{2(\Phi_A - \Phi_B)}{c^2}} \tag{1} $$
The quantity $\Phi_A - \Phi_B$ is the difference in the Newtonian gravitational potential energy between $A$ and $B$, and $dt_B/dt_A$ is the time dilation of $B$'s clock relative to $A$'s clock.
