CalcWorldHub
Physics · CalcWorldHub

Density: Relate Mass to Volume Without Mixing Units

Density is mass divided by volume for the same sample. This calculator takes mass in kilograms and positive volume in cubic metres, then reports the result in kilograms per cubic metre and grams per cubic centimetre.

Open calculator
A balance holding a solid sample beside a graduated volume vessel

Share this article

Mass in kilograms is divided by volume in cubic metres, producing density in kilograms per cubic metre, then converted to grams per cubic centimetre.
Convert mass and volume before dividing.

Match mass and volume

Use ρ = m ÷ V, where m is mass and V is the volume occupied by the same sample. The output is an average density over that volume.

Enter kilograms and cubic metres. Convert grams to kilograms and litres or cubic centimetres to cubic metres first; mixing units can change the result by orders of magnitude. A second check: 2.4 kg ÷ 0.0015 m³ = 1,600 kg/m³ = 1.6 g/cm³.

Worked examples

Example 1 · convert to grams per cubic centimetre

Inputs: Mass 3 kg; volume 0.002 m³.

Calculation: Density = 3 ÷ 0.002 = 1500 kg/m³. In g/cm³, 1500 ÷ 1000 = 1.5 g/cm³.

Both values describe the same average density in different units.

Example 2 · smaller measured sample

Inputs: Mass 2.4 kg; volume 0.0015 m³.

Calculation: Density = 2.4 ÷ 0.0015 = 1600 kg/m³ = 1.6 g/cm³.

The conversion is 1000 kg/m³ for each 1 g/cm³.

Three kilograms divided by zero point zero zero two cubic metres equals one thousand five hundred kilograms per cubic metre or one point five grams per cubic centimetre.
Equivalent density units differ by a factor of one thousand.

Understand the equivalent units

One g/cm³ equals 1,000 kg/m³. The calculator divides its kg/m³ result by 1,000 to show the equivalent g/cm³ value; for example, 1,500 kg/m³ is 1.5 g/cm³.

This is a unit conversion, not a material lookup. Density can vary with temperature, pressure, moisture, composition, and packing, so compare values under matching conditions.

Treat volume and measurement uncertainty carefully

The tool takes the final mass and volume, not dimensions or a measurement method. A rectangular sample may use length × width × height; an irregular solid may require displacement if it does not absorb or react with the fluid.

Because volume is the denominator, measurement error can strongly affect the result when volume is small. Report precision supported by the measurements and account for uncertainty separately when it matters.

Use density as a property, not an identity test

Density can compare materials or relate mass to a container volume, but it cannot identify a substance on its own. Different materials may have similar values, and sample conditions matter.

The tool permits zero mass but requires volume above zero. For gases, state temperature and pressure; for porous bulk materials, specify whether the measured volume includes voids. Those choices define the average being reported.

Build a measurement that can be repeated

Density describes the mass associated with a specified volume. Make sure the numerator and denominator refer to the same sample and boundary. If mass includes a container but volume does not, or if volume includes unfilled space, the ratio answers a different question than the material’s intrinsic density.

Choose a method that matches the object. A regular solid may use measured dimensions to estimate volume; an irregular object can require displacement or another validated method. For porous, granular, or packed materials, say whether the volume includes voids because bulk density and particle density use different boundaries.

Convert units before dividing. One kilogram per cubic metre is not numerically interchangeable with one gram per cubic centimetre; the latter corresponds to one thousand kilograms per cubic metre. The calculator shows both units from the same quotient, so a disagreement between the displays usually points to a conversion or transcription error.

Because volume is the denominator, an underestimated volume increases the calculated density, while an overestimated volume lowers it. Record instrument resolution and conditions when the result is used for comparison. Rounding to several decimals cannot compensate for uncertain dimensions, absorbed fluid, trapped air, or a changing sample.

Density can support a comparison with a reference measured under similar temperature, pressure, composition, and moisture conditions, but it is not a unique substance identifier. Different materials can share a similar average value. Use an authoritative material specification or additional measurements for identification or compliance decisions.

For a repeated comparison, measure samples with the same procedure and state the condition at which mass and volume were recorded. A reference value measured at another temperature or pressure may not be directly comparable, particularly when the material or state changes. The calculator reports the quotient only; it does not normalize those conditions.

Sources and further reading

Share this article

Browse all articles · Calculator: Density calculator