How to Calculate Density (and Use It to Identify Materials)

By the Super Simple Digital Tools Team · Updated June 2026 · Calculators

Density is one of the most useful numbers in science because it links two things you can actually measure, mass and volume, into a single property of the material itself. The formula is simply density = mass / volume. A small steel ball and a huge steel beam have wildly different masses and volumes, but divide one by the other and you get roughly the same density, around 7.85 g/cm3, every time. That is what makes density a fingerprint: it does not care how big the sample is, only what it is made of.

To calculate density by hand, measure the mass with a scale and the volume by geometry or water displacement, then divide. A cube of aluminium 2 cm on each side has a volume of 8 cm3; if it weighs 21.6 grams, its density is 21.6 / 8 = 2.70 g/cm3, which matches aluminium exactly. If instead you know the density and need the mass of a larger piece, multiply: a 50 cm3 block of the same metal weighs 2.70 x 50 = 135 grams. Rearranging the one equation is all the algebra you ever need here.

Units are where careful people still make mistakes. Density only makes sense when mass and volume are expressed consistently, so mixing grams with cubic metres produces nonsense. The two everyday systems are grams per cubic centimetre (g/cm3, identical to grams per millilitre) and kilograms per cubic metre (kg/m3), and the conversion is a clean factor of 1000. Water is the handy anchor: 1 g/cm3 or 1000 kg/m3. Memorising that single value lets you sanity-check almost any result at a glance.

Once you have a density figure you can do real work with it. Compare it against a reference table to identify an unknown metal, or verify that a 'gold' item really is gold by checking whether it lands near 19.3 g/cm3. Compare it to the surrounding fluid to predict buoyancy: ice at 0.92 g/cm3 floats on water at 1.00, while a stone at 2.5 sinks. Dividing a material's density by water's density gives its specific gravity, a unitless number that engineers and gemologists use precisely because it sidesteps the unit confusion above.

For demanding work, remember that density is not perfectly fixed. Heating most substances makes them expand, lowering density, and water has its own quirk of being densest at 4 C, which is why lakes freeze from the top down. Gases are far more sensitive to temperature and pressure than solids or liquids. For homework and everyday estimates the standard reference values are fine, but for lab measurements, quote the temperature and use a temperature-corrected density so your numbers hold up.

Quick tips

  • When measuring an irregular solid, use water displacement: read the volume of water before and after submerging it, and the difference is the object's volume.
  • Anchor every estimate to water at 1 g/cm3 (1000 kg/m3); if your answer is wildly off from that scale for a similar material, you probably mixed units.
  • To identify an unknown metal, calculate its density and match it to a reference table, for example 2.70 for aluminium, 7.85 for steel, or 8.96 for copper.
  • For precise liquid work, note the temperature and use a temperature-corrected value, since water alone shifts from 1.000 g/cm3 at 4 C to about 0.997 at 25 C.

The Density Calculator is free to use as often as you like — no signup required.