Density Calculator

Calculate density from mass and volume, or find mass or volume from a known density, with common materials and results in kg/m³, g/cm³ and lb/ft³.

Density calculator
Find
Density

    Density = mass ÷ volume. Material densities are typical values; real materials vary with temperature, composition and moisture.

    On this page

    The density calculator finds density from mass and volume, or rearranges the formula to find mass or volume when you know the density. A 500 g object with a volume of 250 cm³ has a density of 500 ÷ 250 = 2 g/cm³, which is 2,000 kg/m³ and heavier than water, so it sinks. Two litres of steel at about 7,850 kg/m³ weigh about 15.7 kg. Results are shown in kg/m³, g/cm³, lb/ft³ and other common units.

    It’s useful for physics and chemistry students, engineers estimating the weight of materials, cooks converting between weight and volume, and anyone curious about why some things float and others sink.

    How to use the density calculator

    1. Choose what to find: density, mass or volume.
    2. Enter the two values you know and choose their units. You can mix units, such as grams with litres or pounds with cubic feet.
    3. When finding mass or volume, you can pick a common material from the list to fill in its typical density.
    4. Select Calculate to see the answer, the formula with your numbers and the result in other units.

    The density formula

    Density (ρ) = mass (m) ÷ volume (V)

    Rearranged, it gives the other two quantities:

    • Mass = density × volume
    • Volume = mass ÷ density

    The Greek letter rho (ρ) is the usual symbol for density. The SI unit is kilograms per cubic metre (kg/m³), but grams per cubic centimetre (g/cm³) is common in chemistry because the numbers are smaller: 1 g/cm³ = 1,000 kg/m³. Conveniently, 1 g/cm³ also equals 1 g/mL and 1 kg/L.

    Worked examples

    • Finding density: a block with a mass of 500 g and a volume of 250 cm³ has a density of 500 ÷ 250 = 2 g/cm³, or 2,000 kg/m³.
    • Will it float? A piece of wood with a mass of 3 kg and a volume of 5 litres (0.005 m³) has a density of 3 ÷ 0.005 = 600 kg/m³. That’s less than water’s 1,000 kg/m³, so it floats.
    • Finding mass: 2 litres of steel at 7,850 kg/m³ has a mass of 7,850 × 0.002 = 15.7 kg, about 34.6 lb.
    • Finding volume: 1 kg of gold at 19,300 kg/m³ takes up 1 ÷ 19,300 = 0.0000518 m³, or about 51.8 cm³, roughly the size of a small matchbox.

    Densities of common materials

    MaterialDensity (kg/m³)Density (g/cm³)
    Air (20 °C, sea level)1.2040.0012
    Pine woodabout 500 – 6000.5 – 0.6
    Ethanol7890.789
    Ice9170.917
    Water (4 °C)1,0001.000
    Seawaterabout 1,0251.025
    Concreteabout 2,4002.4
    Glassabout 2,5002.5
    Aluminium2,7002.7
    Steelabout 7,8507.85
    Copper8,9608.96
    Lead11,34011.34
    Gold19,30019.3

    These are typical values. Wood density varies widely between species and with moisture, and alloys, concretes and glasses vary with their composition.

    Density, floating and sinking

    An object floats in a liquid if its average density is lower than the liquid’s, and sinks if it’s higher. Ice floats because, unusually, solid water is less dense than liquid water: at 917 kg/m³, about 92% of an iceberg’s volume sits below the surface of fresh water, and slightly less in denser seawater. A steel ship floats even though steel is nearly eight times denser than water, because its hollow hull encloses so much air that the ship’s average density is less than that of the water it displaces. This is Archimedes’ principle: a floating object displaces its own weight of fluid.

    How much of a floating object is underwater?

    For a floating object, the fraction of its volume below the surface equals its density divided by the fluid’s density. A block of pine at 600 kg/m³ floats with about 600 ÷ 1,000 = 60% of its volume under fresh water. Ice at 917 kg/m³ floats with about 92% submerged in fresh water and about 89% in seawater at 1,025 kg/m³. This simple ratio is the reason “the tip of the iceberg” is such a small part of the whole.

    Specific gravity

    Specific gravity, also called relative density, compares a substance’s density with that of water. It has no units: divide the density by 1,000 kg/m³, which is the same as quoting the density in g/cm³. Aluminium has a specific gravity of 2.7, and ethanol 0.789. Brewers, winemakers and battery technicians measure the specific gravity of liquids with a hydrometer to track sugar content or charge, and geologists use it to help identify minerals.

    Bulk density

    Granular materials such as sand, gravel, soil, flour and grain contain air gaps between the particles, so their bulk density is lower than the density of the solid material itself. Quartz sand grains have a density of about 2,650 kg/m³, but a pile of dry sand has a bulk density of only around 1,500 to 1,700 kg/m³. When estimating how much a load of gravel, soil or mulch weighs, always use the bulk density, which suppliers often quote in tonnes per cubic metre or pounds per cubic yard.

    Converting density units

    • 1 g/cm³ = 1,000 kg/m³ = 1 kg/L = 1 g/mL
    • 1 lb/ft³ ≈ 16.018 kg/m³
    • 1 lb/in³ ≈ 27,680 kg/m³
    • 1 lb/US gallon ≈ 119.83 kg/m³

    Water, for example, is about 62.4 lb/ft³ or 8.34 lb per US gallon.

    How temperature affects density

    Most substances expand when heated, so their density falls as temperature rises. Water is densest at about 4 °C, which is why that temperature is often used as the reference. Hot air is less dense than cold air, which is what lifts a hot-air balloon. Gases are especially sensitive to temperature and pressure, so their density is always quoted for specific conditions.

    The density of gases

    Gases are far less dense than liquids and solids. At 20 °C and normal sea-level pressure, air has a density of about 1.204 kg/m³, helium about 0.166 kg/m³ and carbon dioxide about 1.84 kg/m³. That difference explains why helium balloons rise and why carbon dioxide can collect in low-lying areas such as cellars. Each cubic metre of helium can lift roughly 1.04 kg, the difference between the density of the air it displaces and its own density, which is about 1 gram per litre, before the weight of the balloon itself is taken into account.

    Density in everyday life

    • Cooking: converting a recipe from cups to grams depends on the ingredient’s density. A cup of water weighs about 237 g, but a cup of flour weighs only about 120 to 130 g.
    • Shipping and building: knowing density lets you estimate the weight of concrete, steel, soil or timber from its dimensions.
    • Fuel: petrol has a density of roughly 720 to 775 kg/m³, so a litre weighs about three quarters of a kilogram.
    • Science: measuring density helps identify materials and check the purity of metals and liquids.

    Measuring density yourself

    To find the density of a solid object, weigh it on a kitchen or laboratory scale, then measure its volume. For a regular shape, calculate the volume from its dimensions. For an irregular object, use water displacement: lower it into a measuring jug or graduated cylinder of water and note how much the water level rises. The rise in millilitres equals the object’s volume in cubic centimetres. Divide the mass by the volume to get the density.

    Related calculations

    For related questions, use the mass calculator to calculate mass from density, force or weight, or the molecular weight calculator to calculate the molar mass of any chemical formula.

    Frequently asked questions

    Density equals mass divided by volume: ρ = m ÷ V.

    Multiply the density by the volume. 2 litres of steel at 7,850 kg/m³ is 7,850 × 0.002 = 15.7 kg.

    Divide the mass by the density. 1 kg of gold at 19,300 kg/m³ is about 51.8 cm³.

    About 1,000 kg/m³, or 1 g/cm³, at 4 °C. It's slightly lower at room temperature, about 998 kg/m³.

    Multiply by 1,000. For example, 2.7 g/cm³ is 2,700 kg/m³.

    Ice has a density of about 917 kg/m³, lower than liquid water's 1,000 kg/m³, so it floats.

    The hull holds a large volume of air, so the ship's average density is lower than water's, even though steel itself is much denser.

    Osmium, at about 22,590 kg/m³, slightly denser than iridium.

    Weigh it, then measure its volume by how much water it displaces in a measuring jug. Divide the mass by the volume.

    Yes. Most materials expand and become less dense when heated. Water is densest at about 4 °C.

    The ratio of a substance's density to the density of water. It has no units and equals the density in g/cm³, so aluminium's specific gravity is about 2.7.

    The density of a granular material including the air gaps between particles. Dry sand has a bulk density of about 1,500 to 1,700 kg/m³, much lower than the density of the sand grains themselves.

    Helium is about seven times less dense than air, so a balloon filled with it weighs less than the air it pushes aside, and the surrounding air pushes it upwards.