The density formula
Density is mass per unit of volume. It tells you how tightly the matter in a substance is packed, and it is the property that decides whether something floats.
ρ = m ÷ V m = ρ × V V = m ÷ ρ
ρ (rho) is density, m is mass and V is volume. Any consistent units work: grams and cubic centimetres give g/cm³, kilograms and cubic metres give kg/m³. Because a litre is 1,000 cm³ and a cubic metre is 1,000 litres, 1 g/cm³ = 1 g/mL = 1 kg/L = 1,000 kg/m³. In imperial units, 1 lb/ft³ is 16.0185 kg/m³, so 1 g/cm³ is 62.428 lb/ft³. The calculator converts every unit from its exact definition.
Relative density and floating
Relative density = ρ ÷ ρwater
Relative density, also called specific gravity, compares a density with that of water, here taken as 1,000 kg/m³. By Archimedes’ principle a floating object displaces its own weight of water, so it floats if its average density is less than the water’s, and the fraction of its volume below the surface equals ρ ÷ ρwater. An object denser than the water sinks; one with exactly the same density neither rises nor sinks.
Worked examples
- A 250 g block that displaces 300 mL of water. 300 mL is 300 cm³, so ρ = 250 ÷ 300 = 0.8333 g/cm³, or 833.33 kg/m³. That is less than 1,000 kg/m³, so it floats, with 83.3% of its volume under the surface.
- A bag of 40 lb filling one cubic foot. ρ = 40 lb/ft³ × 16.0185 = 640.74 kg/m³, a relative density of 0.64.
- Is a ring gold? A 10.5 g ring that displaces 0.55 mL has a density of 10.5 ÷ 0.55 = 19.09 g/cm³, close to gold’s 19.3. But a kitchen measure read to ±0.05 mL puts the volume anywhere from 0.5 to 0.6 mL, so the density could be anything from 10.5 ÷ 0.6 = 17.5 to 10.5 ÷ 0.5 = 21 g/cm³. Small objects need very precise volume measurements before the answer means much.
Approximate densities of common materials
Rounded, typical values near room temperature. Real samples vary with temperature, moisture, alloy and grade, so use them for comparison, not for precise work.
| Material | kg/m³ | g/cm³ |
|---|---|---|
| Pine timber, dry | 500 | 0.5 |
| Petrol | 740 | 0.74 |
| Olive oil | 910 | 0.91 |
| Ice | 917 | 0.917 |
| Fresh water | 1,000 | 1 |
| Seawater | 1,025 | 1.025 |
| Aluminium | 2,700 | 2.7 |
| Steel | 7,850 | 7.85 |
| Copper | 8,960 | 8.96 |
| Gold | 19,300 | 19.3 |
Ice at about 917 kg/m³ floats with roughly 917 ÷ 1,000 = 91.7% of its volume submerged in fresh water, which is where the “tip of the iceberg” comes from.
Points to watch
Average density decides floating. A steel ship floats because its hull encloses a large volume of air, so the ship as a whole is far less dense than water. The calculator works with whatever mass and volume you give it, so for a hollow or porous object it gives the average density of the whole thing.
Liquids change with temperature. Most liquids expand when warmed, so their density falls. Fresh water is densest near 4 °C at about 1,000 kg/m³ and is about 998 kg/m³ at 20 °C, a difference too small to matter for most everyday questions but worth knowing for laboratory work.
Saltier water holds more up. Seawater is denser than fresh water, so something that just sinks in a lake can float in the sea. Change the water density to compare.
Mixing up the units. Entering grams with cubic metres, or kilograms with millilitres, puts the answer out by a factor of a thousand or a million. Pick the unit beside each number and let the calculator convert.