Newtonian Gravitation Force
Every pair of masses attracts with a force set by Newton’s law of gravitation — the force that holds orbits and weighs objects on Earth.
The force is F = G·m_1·m_2/r². where G is the gravitational constant, m_1 and m_2 the masses and r their separation.
Apply Newton’s law of gravitation.
Results
For a mass at Earth’s surface this returns its weight (≈ 9.8 kN per tonne). The inverse-square law makes the force fall off rapidly with distance.