Education

How Density Works (Mass, Volume, Floating and Specific Gravity)

Density = mass ÷ volume, so mass = density × volume and volume = mass ÷ density. A 200 g block of 100 cm³ has a density of 2 g/cm³. An object floats in a fluid if its average density is lower than the fluid’s: ice (0.92 g/cm³) floats on water (1.00 g/cm³).

By CalculatorHub Editorial TeamPublished December 2, 2026Updated December 2, 20267 min read
Run the numbers yourself. Try our free Density Calculator and see the result with your own figures.

The idea

Density measures how tightly matter is packed. A cubic centimetre of lead has far more mass than a cubic centimetre of cork. The formula is ρ = m ÷ V, with ρ (the Greek letter rho) for density.

Using the formula

  • Find density: 200 g ÷ 100 cm³ = 2 g/cm³.
  • Find mass: a steel plate of volume 500 cm³ at 7.8 g/cm³ has a mass of 3,900 g, or 3.9 kg.
  • Find volume: 100 g of ethanol (0.79 g/cm³) occupies 100 ÷ 0.79 = 126.6 cm³.

Units

FromToMultiply by
g/cm³kg/m³1,000
kg/m³g/cm³0.001
g/mLg/cm³1
kg/Lg/cm³1
lb/ft³kg/m³16.018

Water is 1 g/cm³ = 1,000 kg/m³ = 62.4 lb/ft³ at about 4 °C. Always check that mass and volume units match before dividing.

Specific gravity

Specific gravity is density divided by the density of water, so it has no units. Aluminium has a specific gravity of 2.7, meaning it is 2.7 times as dense as water. It is easy to compare materials with it.

Floating and sinking

A solid floats if its average density is below the fluid’s. A steel ship floats because its hull encloses a lot of air, so the average density of the whole ship is less than water’s. Ice floats because water expands when it freezes. Hot air balloons rise because heated air is less dense than the cooler air around it.

Typical densities

Materialg/cm³
Air0.0012
Wood (typical)0.5 to 0.9
Ice0.92
Water1.00
Concreteabout 2.4
Steelabout 7.8
Gold19.3

Measuring irregular objects

Find the mass with a scale. For the volume, lower the object into water and measure how much the water level rises. The displaced volume equals the object’s volume. Divide the mass by that volume. This is the idea behind Archimedes’ famous test of a crown.

Common mistakes

  • Mixing units, such as grams with cubic metres.
  • Forgetting that density changes with temperature and pressure, especially for gases.
  • Confusing weight with mass. Density uses mass.

Try the density calculator, find volumes with the volume calculator and convert units with the unit converter.

Key terms

  • Density: Mass per unit of volume.
  • Specific gravity: Density relative to water.
  • Buoyancy: The upward force on an object in a fluid.
  • Displacement: The volume of fluid an object pushes aside.
  • Mass: The amount of matter in an object.

Practice questions

Try each one before you read the answer.

  1. Mass 450 g, volume 150 cm³. Density?
    Answer: 3 g/cm³.
  2. What is 2.7 g/cm³ in kg/m³?
    Answer: 2,700 kg/m³.
  3. Will an object of 0.8 g/cm³ float in water?
    Answer: Yes.

Worked problems

A solid block has a mass of 540 g and measures 6 cm by 5 cm by 4 cm. Its volume is 120 cm³, so its density is 4.5 g/cm³, a little more than titanium. A tank holds 2.5 m³ of petrol at 740 kg/m³, so the fuel has a mass of 1,850 kg. A gold bar of 1 kg has a volume of 1,000 ÷ 19.3 = 51.8 cm³, which is smaller than a standard deck of cards. These examples show that density turns a measurement of size into a measurement of mass, and the other way round, whenever the material is known.

Frequently asked questions

Why does a heavy ship float?

Its hull encloses air, so the ship’s average density, including the air, is less than the density of water.

What is the density of water?

About 1 g/cm³, which is 1,000 kg/m³, at around 4 °C. It changes slightly with temperature.

Is density the same as weight?

No. Density is mass per unit volume. Two objects of equal weight can have very different densities if their volumes differ.

Try the calculators

Keep reading