The strength of gravity between two objects depends on the following two factors:
d. Distance between the objects
e. Mass of the objects
These factors are described by the law of universal gravitation, which states that the gravitational force is directly proportional to the product of the masses of the two objects and inversely proportional to the square of the distance between them.