Newton’s law of universal gravitation tells us that any two point masses attract each other with a force:
\$F = G\frac{m1m2}{r^2}\$
where \$G\$ is the gravitational constant, \$m1\$ and \$m2\$ are the masses, and \$r\$ is the distance between their centres.
Near the Earth’s surface the force on a mass \$m\$ is usually written as \$F = mg\$, where \$g\$ is the acceleration due to gravity.
For a point mass at the Earth’s centre, the gravitational acceleration is:
\$g = \frac{GM{\text{Earth}}}{R{\text{Earth}}^2}\$
When we move a small height \$h\$ above the surface, the distance to the centre becomes \$R_{\text{Earth}} + h\$. The new acceleration is:
\$g(h) = \frac{GM{\text{Earth}}}{(R{\text{Earth}} + h)^2}\$
Because \$h \ll R_{\text{Earth}}\$ (even a 10 m climb is tiny compared to 6 300 km), we can expand using a binomial approximation:
\$g(h) \approx g \left(1 - \frac{2h}{R_{\text{Earth}}}\right)\$
So the change in \$g\$ is tiny: for \$h = 10\$ m, \$\Delta g \approx 0.0003\,\text{m/s}^2\$, far below the precision of most experiments.
When tackling questions about \$g\$ near the surface:
| Height Above Surface (m) | g (m/s²) | Δg (m/s²) |
|---|---|---|
| 0 | 9.81 | 0.00 |
| 10 | 9.8097 | -0.0003 |
| 100 | 9.8088 | -0.0012 |