CalcTrace

Density Calculator

Find an object’s density from its mass and volume, or its mass or volume from a known density, in whichever units you have. The result is compared with water, with a plain answer on whether it would float in fresh water and how much of it would sit below the surface.

Last updated .

What do you know?

Solve for

For an irregular object, the volume of water it displaces when fully submerged.

kg/m³

Fresh water is about 998 kg/m³ at 20 °C; 1,000 is the usual round figure. Enter about 1,025 for seawater (approximate).

Result

Density

–

Show the working

    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

    1. 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.
    2. A bag of 40 lb filling one cubic foot. ρ = 40 lb/ft³ × 16.0185 = 640.74 kg/m³, a relative density of 0.64.
    3. 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.

    Approximate densities
    Materialkg/m³g/cm³
    Pine timber, dry5000.5
    Petrol7400.74
    Olive oil9100.91
    Ice9170.917
    Fresh water1,0001
    Seawater1,0251.025
    Aluminium2,7002.7
    Steel7,8507.85
    Copper8,9608.96
    Gold19,30019.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.