Formula Newton's law of gravity Gravitational force Distance 1st mass 2nd mass Gravitational constant
$$F_{\text g} ~=~ G \, \frac{\class{brown}{m_1} \, \class{brown}{m_2}}{r^2}$$ $$F_{\text g} ~=~ G \, \frac{\class{brown}{m_1} \, \class{brown}{m_2}}{r^2}$$ $$r ~=~ \sqrt{ G \, \frac{ \class{brown}{m_1} \, \class{brown}{m_2} }{ F_{\text g} } }$$ $$\class{brown}{m_1} ~=~ \frac{1}{G} \, \frac{ F_{\text g} }{\class{brown}{m_2}} \, r^2$$ $$\class{brown}{m_2} ~=~ \frac{1}{G} \, \frac{ F_{\text g} }{\class{brown}{m_1}} \, r^2$$ $$G ~=~ \frac{ F_{\text g} }{\class{brown}{m_1} \, \class{brown}{m_2}} \, r^2$$
Gravitational force
$$ F_{\text g} $$ Unit $$ \mathrm{N} $$ It is the force that the mass \( \class{brown}{m_1} \) exerts on the mass \( \class{brown}{m_2} \) and vice versa.
Distance
$$ r $$ Unit $$ \mathrm{m} $$ Distance between the masses \( \class{brown}{m_1} \) and \( \class{brown}{m_2} \). The larger the distance, the smaller the gravitational force \( F_{\text g} \).
1st mass
$$ \class{brown}{m_1} $$ Unit $$ \mathrm{kg} $$ The mass of the first body.
2nd mass
$$ \class{brown}{m_2} $$ Unit $$ \mathrm{kg} $$ The mass of the second body.
Gravitational constant
$$ G $$ It is a physical constant and has the value:$$ G ~=~ 6.674 ~\cdot~ 10^{-11} \frac{\mathrm N \, \mathrm{m}^2}{\mathrm{kg}^2} $$