How to Convert Volume to Mass
Volume and mass are linked by density, the amount of matter packed into a given space. The relationship is m = ρ × V, where m is mass, ρ (rho) is density, and V is volume. This calculator converts your volume to cubic meters and your density to kilograms per cubic meter behind the scenes, multiplies them to get mass in kilograms, then reports that mass in grams, pounds, and ounces as well.
The volume-to-mass formula
Density is defined as mass per unit volume: ρ = m / V. Rearranging for mass gives the formula this calculator uses: m = ρ × V. Because volume can be measured in liters, cubic feet, gallons, or cubic meters, and density can be tabulated in kg/m³, g/cm³, g/L, or lb/ft³, the two values must be converted to compatible units before multiplying — this calculator handles that conversion automatically so you can mix units freely (for example, a volume in gallons with a density in g/cm³).
Choosing an accurate density value
- Use the density of the actual material, not a guess. Density varies enormously between substances — water is about 1000 kg/m³, aluminum is about 2700 kg/m³, and gold is about 19,300 kg/m³ — so a small error in density produces a proportional error in mass.
- Account for temperature and pressure. Liquids and especially gases change density noticeably with temperature and pressure. Water's density peaks at about 1000 kg/m³ near 4°C and decreases slightly as it warms; air at sea level is roughly 1.225 kg/m³ but thins out at altitude or when heated.
- Watch for hollow or mixed objects. This calculator assumes a uniform, solid material. A hollow sphere or a composite object (like a filled container) has a lower effective density than the solid material it's made from, so measure the object's actual mass-to-volume ratio when possible rather than looking up a single material's density.