← All tools/Calculators/Physics/Density Calculator

Density Calculator

Density from mass and volume — and whether it floats or sinks.

g
cm³

Density

—

How it works

Density = mass ÷ volume
kg/m³ = g/cm³ × 1,000
Water = 1 g/cm³

Worked example: 500 g in 250 cm³ gives 500 ÷ 250 = 2 g/cm³, which is 2 × 1,000 = 2,000 kg/m³. Since 2 is greater than water’s 1, it sinks.

Frequently asked questions

What is the difference between g/cm³ and kg/m³?

Only scale: 1 g/cm³ equals 1,000 kg/m³. Small lab samples suit g/cm³; engineering and building materials are usually quoted in kg/m³.

Why do some things float and others sink?

An object floats when it is less dense than the fluid it sits in. At under 1 g/cm³ it floats in water; over 1 g/cm³ it sinks.

Does temperature change density?

Slightly. Warm water is a little less dense than cold water, and most solids expand a little when heated. For everyday estimates the difference is small enough to ignore.

More tools

Tell us what you think

Loving this tool, or stuck on something? Tell us — it takes a minute.

We’ll only use your name and email to reply if needed. The tool and page are filled in for you.