The formula to compute density is D = Mass / Volume. Here mass is nothing but the weight of the subjects. Therefore Weight = Volume / Density.