Weight depends on acceleration due to gravity and similarly acceleration due gravity depends on force of gravity. The force of gravity of the moon is 6 times less than on earth. As there is a difference in acceleration due to gravity between the earth and the moon, the magnitude of weight also vary. The mass is also independent of gravity, so it does not change anywhere.
You use the formula:
V = LWH