The gravitational attraction F between two objects of masses m1 and m2 is jointly proportional to the masses and inversely proportional to the square of the distance r between the objects.

F = Gm1m2/r^2