If gravity was zero how would that effect the mass of an object? The weight?

Mass (M) stays the same.

Weight (M*g) becomes zero.

When gravity is zero the object is free in the universe

If gravity were to become zero, it would have an effect on the mass of an object, but the weight would become zero as well. Let me explain how these concepts are related and how they would be affected.

Mass is a fundamental property of an object and measures the amount of matter it contains. It is an intrinsic property and does not depend on the presence of gravity. In other words, the mass of an object remains the same regardless of the gravitational field it is in. So, if the gravity were to become zero, the mass of an object would remain unchanged.

Weight, on the other hand, is the force with which an object is attracted towards the center of the gravitational field. Weight depends on both mass and the strength of the gravitational field. The weight of an object can be calculated using the formula W = m * g, where W represents weight, m represents mass, and g represents the acceleration due to gravity.

So, if the gravity were to become zero, the value of g in the weight formula would be zero. This means that the weight of an object would be zero, regardless of its mass. In other words, the object would not experience any force pulling it towards the center, resulting in a weightless state.

However, it's important to note that in the absence of gravity, the concept of weight becomes irrelevant since there is no gravitational field to cause an object to have weight. Mass, on the other hand, would still be a relevant property of an object even in the absence of gravity.

I hope this explanation clarifies the relationship between gravity, mass, and weight, and how they would be affected if gravity were to become zero.