Mass and volume
Density Calculator
Choose what you want to calculate, enter the two known measurements and select your result unit.
Enter your measurements
Density tools
Density is mass per unit volume
Density tells you how much mass occupies a given volume. Two objects can have the same size but different masses. The heavier one has the greater average density.
Density
ρ = m ÷ V
Divide mass by volume.
Mass
m = ρ × V
Multiply density by volume.
Volume
V = m ÷ ρ
Divide mass by density.
Example: 500 grams in 200 milliliters
Density = 500 g ÷ 200 mL = 2.5 g/mL. This equals 2.5 g/cm³ or 2,500 kg/m³.
Finding the volume first
For a regular solid, calculate its volume from its dimensions using our volume calculators. For an irregular solid, the rise in liquid volume after full immersion can give its displaced volume, provided it does not dissolve or trap bubbles.
Use the mass of the substance itself, excluding its container. Use a density measured at the relevant temperature and pressure. Average density does not describe every part of a hollow or mixed object.
The cube illustration is a conceptual comparison: equal volumes with different amounts of mass.
