← All blog posts

The complete guide to Density

WhiteUI · A plain-English guide to density calculator

This guide covers density from start to finish: what it means, the formula, a worked example, the common mistakes and the everyday uses.

The formula is: Density = mass ÷ volume. With mass in grams and volume in cubic centimetres the answer is in grams per cubic centimetre (g/cm³). One g/cm³ equals 1,000 kg/m³, so water at 1.00 g/cm³ is 1,000 kg/m³.

Worked example: A sample of 500 grams occupying 250 cm³ has a density of 500 ÷ 250 = 2.00 g/cm³ — twice as dense as water, so it sinks.

A second example: 900 grams in 300 cm³ gives 900 ÷ 300 = 3.00 g/cm³. And 1,000 grams in 1,000 cm³ gives exactly 1.00 g/cm³, the density of water.

A mistake to avoid — dividing volume by mass instead of mass by volume. Density is mass ÷ volume. Swapping them gives the reciprocal: 250 ÷ 500 = 0.50, which is not a density at all, just the inverse of the right answer.

A mistake to avoid — mixing grams with kilograms, or cm³ with m³. 500 grams in 0.00025 m³ is 2,000,000 g/m³ if the units are not converted together. Keep mass and volume in one consistent pair — grams with cm³, or kilograms with m³.

Read the everyday examples and the tips guides next for more situations, and use the calculator whenever a new set of numbers comes up.

Frequently asked questions

Where do I start?

Start with the formula and the worked example, then try your own numbers in the calculator.

What should I read next?

The tips guide for habits, the mistakes guide for slips to avoid, and the case study for a full scenario worked through.

Do I need to create an account to use the calculator?

No. Everything runs in your browser, nothing is sent anywhere, and there is no sign-up.

More guides on the Density Calculator

Try it yourself

Enter mass and volume to see density in grams per cubic centimetre.

Open the Density Calculator