You can't, unless you know what the material is. 1000 gallons of
gasoline will weigh less than 1000 gallons of water, which will
weigh less than 1000 gallons of Mercury. Unless you know the
density of the stuff, you can't figure out how much a given volume
of it will weigh.