Density calculator

Choose the unknown quantity, enter two measurements, and get density, mass, or volume in the unit you need.

Mass
Volume

Density

1,000 kg/m³

Read explanation below

How the density calculator works

A cube on a scale beside a graduated vessel

Choose density, mass, or volume as the unknown quantity. Enter the other two measurements with their units, and the calculator converts them to a common base before returning the result.

Three forms of the same relationship

Density tells you how much mass occupies a given volume. The basic equation is:

ρ=mV\displaystyle \rho=\frac{m}{V}

Here ρ\rho is density, mm is mass, and VV is volume. Rearranging gives m=ρVm=\rho V for mass and V=m/ρV=m/\rho for volume.

Checks with liquids and solids

Water-sized reference: 1 kg occupying 1 L gives 1000 kg/m³, which is also 1 g/cm³.

A dense liquid: 2 L at 1.2 g/cm³ has a mass of 2.4 kg. The calculator first reads 1.2 g/cm³ as 1200 kg/m³.

Imperial workshop data: 5 lb at 62.4 lb/ft³ occupies about 0.080128 ft³. No manual conversion to SI units is needed.

Compatible unit pairs

Mass can be entered in kilograms, grams, milligrams, tonnes, pounds, or ounces. Volume accepts cubic metres, litres, millilitres, cubic centimetres, cubic feet, cubic inches, and US gallons. Density can be shown in kg/m³, g/cm³, g/L, kg/L, lb/ft³, or lb/in³.

Unit labels are part of the number. A value of 1 g/cm³ equals 1000 kg/m³, while 1 g/L equals only 1 kg/m³.

Measurement conditions matter

The formula is exact for the numbers entered, but measured density changes with temperature, pressure, composition, and porosity. Gases are especially sensitive to temperature and pressure. A pile of grains also has a bulk density that includes the air between particles.

For an irregular solid, volume may be measured by liquid displacement if the object does not absorb or react with the liquid. Use the volume change, not the final reading alone.

Density calculation questions

These answers separate the formula from the conditions behind the measurements.

Is density the same as weight?

No. Density is mass divided by volume. Weight is a force caused by gravity and changes with gravitational acceleration.

Why does 1 g/cm³ equal 1000 kg/m³?

One cubic metre contains one million cubic centimetres, while one kilogram contains one thousand grams. Both conversion factors combine to produce 1000 kg/m³.

Can I calculate the density of a mixture?

You can calculate its measured average density from total mass and final volume. Adding component volumes may be inaccurate when substances contract, expand, dissolve, or react.

Does temperature change density?

Usually yes, because temperature can change volume. Record the measurement temperature when precision matters.

Can density identify a material?

It can narrow the possibilities, but coatings, voids, alloys, impurities, and measurement error can produce similar values. Use other tests for identification.

Similar calculators

You may find the following calculators on the same topic useful:

Share on social media

If you liked it, please share the calculator on your social media platforms. It`s easy for you and beneficial for the project`s promotion. Thank you!