According to the Universal Law of Gravitation, every mass exerts an attractive force on every other mass.
If there are two masses m1 and m2 and the distance between them is r as shown in figure.
The gravity formula is given by
Where G is a constant equal to 6.67 $\times$ 10-11 N-m2/kg2,
m1 = mass of the body 1,
m2 = mass of body 2,
r = radius or distance between the two bodies.
The gravitational force formula helps a lot in calculating larger mass, larger radius, gravity values, etc.
More Physics Formulas