The weight $W$ of an object on earth depends on the mass $m$ of
the object and the force of gravity. The weight is
usually given by the expression
$$
W = 9.8 m.
$$
However, the actual weight decreases the further you get from the
centre of the earth. Newton worked out that weight can be measured
more accurately as
$$ W =\frac{6.67428 \times 10^{-11}Mm}{R^2} N, \quad M = 5.972
\times 10^{24} \mbox{kg}. $$ NOTES AND BACKGROUND
$G$ is called Newton's gravitational constant, which you can read
about on
Wikipedia.The
universal law of gravitation expressed here gives extremely
accurate predictions for the orbits of suns and planets. It is
eventually superseded by the difficult theory of general
relativity.