F = G * (m1 * m2) / r²
Where:
* F is the force of gravity
* G is the gravitational constant (a fixed value)
* m1 and m2 are the masses of the two objects
* r is the distance between the centers of the two objects
As you can see, the force of gravity (F) is inversely proportional to the square of the distance (r²). This means that if you double the distance between the objects, the gravitational force between them will decrease to one-fourth of its original value.
In simpler terms: The farther apart two objects are, the weaker the gravitational pull between them becomes.