According to the law of Gravitation :
By this formula u can calculate the force between the two objects.
where G is a gravitational constant its value is =6.67×(10)⁹⁺²=6.67*10(raised to the power of 11)
r is the distance between them
and m1 is the first mass and the second mass of the two objects respectively.