The formula
ρ = m ÷ V
Density is how much mass is packed into a given volume. Water is 1 g/cm³, which makes it a handy reference: anything denser sinks in water and anything less dense floats.
How to use this calculator
- Enter density in g/cm³.
- Enter mass in g.
- Enter volume in cm³.
- Read the answer on the right. It updates as you type, and the numbered steps underneath show how it was worked out.
Worked example
Using Mass: 500 g; Volume: 200 cm³.
- ρ = m ÷ V
- = 2.5 g/cm³
Density: 2.5 g/cm³
Common questions
How do I convert g/cm³ to kg/m³?
Multiply by 1,000. Water is 1 g/cm³ or 1,000 kg/m³.
Does density change with temperature?
Yes. Most materials expand when heated, so their density drops slightly. Gases change the most.