How to calculate density
Density = mass ÷ volume
Worked example. Density: 2.5 g/cm³.
Example inputs — Mass (grams) — 0 if unknown: 500; Volume (cm³) — 0 if unknown: 200; Density (g/cm³) — 0 if unknown: 0. Starting values are illustrative.
Enter any two values; the third is solved for you.
From George Guju, founder of Calculyn · Educational calculator guidance, not professional advice.
How it works
Density is mass per unit volume. Water is 1 g/cm³ — anything denser sinks in water, anything less dense floats.
Assumptions & limitations
- Results are rounded for display.
Formula and assumptions reviewed October 2026 by the Calculyn team. How we build our calculators
Frequently asked questions
What's the density of common materials?
Water 1.0, aluminum 2.7, iron 7.9, lead 11.3, gold 19.3 g/cm³.
How do I measure an odd-shaped object's volume?
Submerge it in water and measure the displaced volume.
