What determines the weight on planets?

Usually, its mass determines its weight.