The amount of gravity affecting an object depends on two things: the masses of the objects being attracted and the distance between the objects. Mass is the measure of the amount of matter in an object. We see the gravitational force between objects increase as the masses of the object increase.