The weight of an object when calculated by multiplying with the pull of the gravity is dependent on the mass of the object and the value of g. The value of g is constant however is still dependent on the distance of the object from the center of the Earth. Thus, the answers are mass and distance.