Calcist

Style

Buttons

Spacing

How much to show

Decimal places

Text size

Density calculator

Find density from mass and volume, or work out mass or volume from a known density, in metric or US units.

Private: calculated on your device. Nothing you type is sent anywhere.

Next: Working out the weight of a gravel or sand delivery? The gravel calculator uses density to turn cubic yards into tons.

The density formula

Density is how much mass is packed into a given volume.

Density = mass ÷ volume  ·  Mass = density × volume  ·  Volume = mass ÷ density

The calculator converts everything to kilograms and cubic meters first, so you can mix units.

Worked example

A block weighs 500 g and takes up 250 cm³. Its density is 500 ÷ 250 = 2 g/cm³, which is 2,000 kg/m³. That's twice as dense as water, so it sinks. Going the other way, 100 cm³ of iron at 7.87 g/cm³ has a mass of 7.87 × 100 = 787 g.

Densities of common materials

Materialkg/m³g/cm³lb/ft³
Air (20 °C, sea level)1.2040.0012040.0752
Water (20 °C)9980.99862.3
Ice9170.91757.2
Concrete (typical)2,4002.4150
Aluminum2,7002.7169
Steel (carbon, typical)7,8507.85490
Iron7,8707.87491
Copper8,9608.96559
Silver1.05e+0410.5655
Lead1.13e+0411.3705
Gold1.93e+0419.31.2e+03

Pure elements are from the Royal Society of Chemistry's periodic table (at room temperature). Water and ice are from the USGS. Air, steel and concrete are typical values: air depends on temperature and pressure, and steel and concrete depend on the mix.

Limitations

  • Density changes with temperature, a lot for gases and a little for liquids and solids.
  • Loose materials like sand, soil and gravel have a bulk density that includes the air between the grains, so it's much lower than the density of the rock itself.
  • Mass and weight are different things, but on Earth a mass in kg or lb is what a scale shows.

Sources

How we checked this

Before every update, this calculator is run in a real browser with these known answers, and it must match all of them:

  • 500 g in 250 cm³ = 2 g/cm³ = 2,000 kg/m³ ✓
  • 100 cm³ of iron at 7.87 g/cm³ weighs 787 g ✓
  • 1 kg of gold at 19.3 g/cm³ fills 51.8135 cm³ ✓
  • A volume of zero is refused ✓
  • 998 kg in 1 m³ is about the same as water, in the row and the sentence ✓
  • 62.4 lb in 1 ft³ (999.55 kg/m³) is about the same as water ✓

Last checked October 26, 2026. Spotted something wrong? The math is done in your browser with the formula shown on this page, so you can check any result by hand.

Add this calculator to your website (free)

Paste this code into any web page. The calculator works on your page, resizes itself, has no ads and no tracking, and nothing your visitors type is sent anywhere. More about embedding.

Questions people ask

What is the formula for density?

Density = mass ÷ volume. In SI units it's kilograms per cubic meter (kg/m³).

What is the density of water?

About 998 kg/m³ (0.998 g/cm³) at 20 °C, and close to 1,000 kg/m³ at 4 °C, where it's densest.

How do I convert g/cm³ to kg/m³?

Multiply by 1,000. 2.7 g/cm³ (aluminum) is 2,700 kg/m³.

Why does ice float?

Ice (about 917 kg/m³) is less dense than liquid water (about 998 kg/m³), so it floats with about 9/10 of it under the surface.

Related calculators