Science & engineering

Mass density and volume calculator

Solve any one of mass volume and density with explicit mass and volume units.

Your numbers

Calculated on your device. Your inputs aren’t sent to us.

Your result

Ready when you are

Enter your inputs and select Calculate.

Report an issue

Try it, understand it

Explore the result

Compare these worked scenarios while keeping the units and assumptions visible.

Worked example comparison
ExampleOutputWhat to notice
Known mass and volumeAverage density5,000 kg/m³10 kg divided by 0.002 m³ gives 5,000 kg/m³.
Equivalent small unitsAverage density5,000 kg/m³10,000 g and 2,000 cm³ give the same density.
Solve mass insteadCalculated mass10 kg5,000 kg/m³ times 0.002 m³ gives 10 kg.

Check your understanding

Can the same page solve mass or volume?

Yes. Select the unknown, then enter the two appropriate known quantities.

Does 1 g/cm³ equal 1 kg/m³?

No. It equals 1,000 kg/m³.

Behind the numbers

How this calculation works

Density compares an object or sample’s mass with its occupied volume. The result is an average density; a nonuniform sample may have different densities in different regions.

THE FORMULAρ=m/V; m=ρV; V=m/ρ

A worked example

A 10 kg sample occupying 0.002 m³ has an average density of 5,000 kg/m³.

Good to know

Solve one unknown using two known quantities. Density is an average at the supplied conditions, not substance identification. Bulk and solid-material density can differ. No temperature/pressure correction.

A little curiosity

Size alone does not determine density

Cut a uniform sample into two equal pieces and each piece has half the mass and half the volume. Their ratio stays the same, so density is unchanged. Density describes mass relative to occupied volume rather than total size.

A hollow object’s average density can differ greatly from the density of its wall material. Decide whether the volume means the entire outer envelope or only the material itself before interpreting the answer. The buoyancy calculator separately compares displaced fluid mass and object weight.

The mass converter can align the mass input. The pipe Reynolds number calculator then uses density with average velocity, internal diameter and dynamic viscosity.

Keep litres and cubic metres distinct

One litre is 0.001 m³. A 1 kg sample occupying one litre therefore has density 1,000 kg/m³, not 1 kg/m³. Entering the correct volume unit is essential.

The formula returns average mass density. It does not determine chemical identity, purity or how density changes with temperature and pressure. Those questions need additional measurements and reference information.

Choose the unknown before interpreting the numbers

Density is mass divided by occupied volume. Rearranging that relationship gives mass as density times volume, or volume as mass divided by density. Selecting a different unknown changes which measurements are required; it does not create a third independent observation. Two known quantities determine the third under the stated average-density model.

An entry of one litre is one thousandth of a cubic metre. One gram is one thousandth of a kilogram. Converting both correctly explains why 1 g/cm³ equals 1,000 kg/m³ rather than one. The universal unit converter keeps mass and volume as separate categories, while this tool connects them through an explicitly entered or calculated density.

A bulk material contains space between particles

Gravel’s supplier bulk density includes voids and depends on moisture and packing. The density of a solid rock sample is not automatically the right input for ordering a truckload. The gravel quantity calculator uses a supplied bulk density to connect a bed volume with mass, making that modelling choice visible.

Average density also does not identify an unknown substance. Different mixtures can have similar average values, and temperature or pressure can matter. The result reports the arithmetic at entered conditions rather than assigning a material name. When solving volume, a positive mass and positive density are needed for the positive-volume case implemented here.

A few questions, answered

Can I compare two samples of different sizes?

Yes, if their masses and volumes are measured consistently and you compare the resulting densities.

Does this give relative density or specific gravity?

No. Those are ratios to a stated reference density; this result is mass per volume.

Can the same page solve mass or volume?

Yes. Select the unknown, then enter the two appropriate known quantities.

Does 1 g/cm³ equal 1 kg/m³?

No. It equals 1,000 kg/m³.

Can density identify a substance uniquely?

No. An average density alone does not establish composition.

Find your calculator

Start typing to explore the library.