The formula for the gravitational force between two objects is given by: F = G * (m1 * m2) / r^2