Mass is the measurement of the amount of matter that an object contains, while weight represents the gravitational pull on a mass. Physicists calculate the weight of an object by multiplying its mass by the gravitational force acting on it, using the formula W=mg, where W is the weight, M is the mass, and G is the gravitational force acting on it.
The mass of an object remains the same regardless of its location. However, the weight of an object varies with different locations depending on the gravitational force. For instance, an astronaut will still have the same mass on Earth, on the moon or in space. However, an astronaut will weigh less on the moon because its gravitational force is 0.165 that of Earth, and then become weightless in space because there is no gravity.