Density Calculator — Mass per Volume

Calculate density (ρ = m/V), or solve for mass or volume. Outputs in g/cm³, kg/m³, and lb/ft³.

Result

--
g/cm³
--
kg/m³
--
lb/ft³
--
Formula Applied

How Density Is Calculated

The Density Calculator solves for any one of three interrelated quantities — density, mass, or volume — when the other two are known. Select what to solve for using the dropdown, enter the two known values, and results appear instantly in multiple unit formats.

What Is Density?

Density (ρ) is the measure of how much mass is packed into a given volume. A denser material has more mass per unit of volume than a less dense one. In SI units, density is expressed in kilograms per cubic metre (kg/m³), but grams per cubic centimetre (g/cm³) — which is numerically equal to g/mL — is more commonly used in chemistry and everyday contexts. Water has a density of approximately 1.00 g/cm³ at 4°C, which makes it a convenient reference point.

Why Density Varies Across Materials

Density depends on two factors: the atomic mass of the atoms making up the substance, and how tightly those atoms are packed together (the crystal or molecular structure). Metals are dense because they consist of heavy atoms arranged in compact lattices: lead has a density of 11.34 g/cm³, iron 7.87 g/cm³. Gases are far less dense — air at sea level is approximately 0.00121 g/cm³ — because gas molecules are widely spaced.

Density and Buoyancy

An object placed in a fluid floats if its average density is less than the fluid's density, and sinks if it is greater. This principle, discovered by Archimedes, explains why steel ships float despite steel being nearly eight times denser than water — the ship's average density, including the air inside the hull, is less than water. Similarly, ice (density ≈ 0.917 g/cm³) floats in liquid water (1.00 g/cm³), with approximately 91.7% of its volume submerged.

Density Formula (ρ = m ÷ V)

Density, mass, and volume are linked by a single equation that can be rearranged to solve for any one of the three variables.

ρ = m ÷ V

Where:

  • ρ = density (g/cm³ or kg/m³)
  • m = mass (g or kg)
  • V = volume (cm³ or m³)

Rearrangements: m = ρ × V  |  V = m ÷ ρ

Example: A metal block with a mass of 237 g and a volume of 30 cm³: Density = 237 ÷ 30 = 7.9 g/cm³. This is close to the density of iron (7.87 g/cm³), suggesting the block may be iron or low-carbon steel.

The calculator handles this automatically — the formula is shown here for transparency.

Density of Common Materials

Material Density (g/cm³) State at 20°C
Air0.00121Gas
Water1.00Liquid
Aluminium2.70Solid
Iron / Steel7.87–8.05Solid
Copper8.96Solid
Lead11.34Solid
Gold19.32Solid

Frequently Asked Questions

Divide mass by volume: ρ = m ÷ V. For example, 540 g of a substance occupying 200 cm³ has a density of 540 ÷ 200 = 2.7 g/cm³ — matching the density of aluminium. Ensure mass and volume are in compatible units before dividing.
Mass is the total amount of matter in an object, measured in kilograms or grams. Density is how concentrated that mass is per unit volume. Two objects can have the same mass but very different densities — a 1 kg block of aluminium (volume ≈ 370 cm³) is much larger than a 1 kg block of lead (volume ≈ 88 cm³) because lead is denser.
It means the material has the same density as water at 4°C. Objects with a density below 1 g/cm³ float in water; objects above 1 g/cm³ sink. Ice at 0.917 g/cm³ floats; aluminium at 2.70 g/cm³ sinks. This reference point — water = 1.00 g/cm³ — is one of the most useful benchmarks in physical science.
Yes, with a caution. Measure the mass with a scale and the volume either directly (for regular shapes, calculate from dimensions) or by water displacement (submerge the object in a graduated cylinder and measure the volume of water displaced). Compare your calculated density to a reference table. Note that density alone cannot always uniquely identify a material — multiple alloys and compounds share similar densities.
The average density of the adult human body is approximately 0.985 g/cm³ for males and 0.975 g/cm³ for females, based on measurements of swimmers and clinical studies. This is slightly below 1.00 g/cm³, which explains why humans can float in fresh water (density 1.00 g/cm³) and float more easily in salt water (density ≈ 1.025 g/cm³). Body fat (density ≈ 0.9 g/cm³) is less dense than muscle (density ≈ 1.06 g/cm³), so body composition affects overall buoyancy.
The calculator applies ρ = m/V with full precision. Accuracy depends on how accurately mass and volume are measured. Kitchen scales typically have ±1–5 g accuracy; laboratory balances achieve ±0.001 g. Volume measurement by water displacement for irregular objects introduces uncertainty of ±0.5–1 mL depending on the graduated cylinder used.
Yes, significantly for liquids and gases, and slightly for solids. Most liquids expand when heated, reducing density. Water is anomalous — it reaches maximum density at 4°C (1.000 g/cm³) and is less dense at both higher and lower temperatures. Gases are strongly affected by temperature (and pressure): the density of air at 0°C is approximately 1.29 kg/m³ and drops to approximately 1.16 kg/m³ at 30°C at sea level.
Density is a critical design parameter. Engineers select materials based on strength-to-density ratios (specific strength) — aluminium alloys are preferred in aerospace over steel because they offer comparable structural strength at roughly one-third the density. In fluid systems, density determines flow behaviour, pump sizing, and pipe pressure calculations. For construction, the density of concrete (typically 2,300–2,400 kg/m³) determines structural load calculations.