2 answers
(click or scroll down)
40mm * 25mm * 2mm = 2000mm^3
2000mm^3 * .0005 oz/mm^3 = 1 oz
now, why you tell us about a bar of soap and then about the weight of gold, I have no clue...