Physics

Density calculator

Density is how much stuff is packed into each bit of space.

A pink axolotl with goggles next to a rocket

What do you want to find?

Density

The formula triangle

Cover the one you want to find. Tap a corner.

Try it yourself

Slide the values and watch the answer change.

Or start from a real thing:

    How it works

    ρ = m ÷ V

    ρ Density
    how much mass fits in each bit of space (water: 1 g/cm³)
    m Mass
    how much stuff there is
    V Volume
    how much space it takes up

      Real things, worked out

      How much does a gallon of water weigh?

      8.345 lb (3.785 kg). A gallon of milk weighs a little more, because milk is a bit denser than water.

      1. Start from ρ = m ÷ V and get m on its own: m = ρ × V.
      2. Change to the formula's units first: 1 g/cm³ = 1000 kg/m³, 1 gal = 0.003785411784 m³.
      3. Put in the numbers: m = 1000 kg/m³ × 0.003785411784 m³.
      4. So the mass is 3.785 kg, which is 8.345 lb.

      1 US gallon is 3.785 L, and water is 1 g/cm³: every liter weighs 1 kg.

      Try it with these numbers

      What is the density of gold?

      19.31 g/cm³: gold is about 19 times heavier than the same amount of water. A 1 kg bar is smaller than a phone.

      1. Use the formula: ρ = m ÷ V.
      2. Change to the formula's units first: 51.8 cm³ = 5.18 × 10^-5 m³.
      3. Put in the numbers: ρ = 1 kg ÷ 5.18 × 10^-5 m³.
      4. So the density is 19'310 kg/m³, which is 19.31 g/cm³.

      Gold is 19.3 g/cm³. A 1 kg bar measures about 51.8 cm³, roughly 8 × 4 × 1.6 cm.

      Try it with these numbers

      Why does ice float?

      0.92 g/cm³: less than water’s 1 g/cm³, so ice floats with about 92% of it under water. That’s why most of an iceberg is hidden.

      1. Use the formula: ρ = m ÷ V.
      2. Change to the formula's units first: 9.2 g = 0.0092 kg, 10 cm³ = 1 × 10^-5 m³.
      3. Put in the numbers: ρ = 0.0092 kg ÷ 1 × 10^-5 m³.
      4. So the density is 920 kg/m³, which is 0.92 g/cm³.

      Ice is about 0.92 g/cm³, liquid water 1.00 g/cm³: water expands by about 9% when it freezes.

      Try it with these numbers

      Why does a steel ship float?

      7.849 g/cm³: a block of steel sinks fast. A steel ship floats because it’s mostly air inside, so the ship as a whole is less dense than water.

      1. Use the formula: ρ = m ÷ V.
      2. Change to the formula's units first: 127.4 cm³ = 0.0001274 m³.
      3. Put in the numbers: ρ = 1 kg ÷ 0.0001274 m³.
      4. So the density is 7849 kg/m³, which is 7.849 g/cm³.

      Steel is about 7.85 g/cm³. A ship floats because its hull is mostly air: the whole ship is less dense than water.

      Try it with these numbers
      Curious questionHow full can I run the bath so it doesn’t overflow when I get in?Work it out →

      Questions

      What is density?

      Density is mass divided by volume: how much stuff is packed into each bit of space. A brick and a sponge can be the same size, but the brick has much more mass packed in, so it is denser.

      Why do some things float?

      Something floats in water if it is less dense than water (1 g/cm³). Ice is about 0.92 g/cm³, so it floats; a stone is about 2.5 g/cm³, so it sinks.

      How do I find the mass if I know the density and volume?

      Multiply them: m = ρ × V. One liter of water, at 1 kg per liter, has a mass of 1 kg.