Density Formula
Density = mass / volume. Enter the mass and volume to get the density in kg/m3, g/cm3 or lb/ft3, plus the specific gravity and the specific weight.
How it works
Density is the mass per unit volume of a material. It tells you how heavy a given volume is, whether an object floats, and, with the volume, the weight of a part.
ρ = m ÷ V
SG = ρ ÷ ρwater
γ = ρ × g
| Symbol | Meaning | SI unit |
|---|---|---|
| ρ | Density | kg/m³ |
| m | Mass | kg |
| V | Volume | m³ |
| SG | Specific gravity (relative to water at 4 °C, 1,000 kg/m³) | – |
| γ | Specific weight | N/m³ |
Typical densities at room temperature (kg/m³): air 1.2, water 998, ice 917, oak 700, aluminum 2,700, titanium 4,500, steel 7,850, copper 8,960, lead 11,340, gold 19,300. Rearranged, m = ρ V gives the mass of a part from its volume and V = m ÷ ρ gives the volume. Density changes with temperature, strongly for gases (see the ideal gas law).
Related: Engineering Fundamentals guide, Specific gravity formula, Reference tables (material densities). All formulas are listed in the Formulas library.
Worked example
A block of metal has a mass of 2.7 kg and a volume of 1 liter (0.001 m³): ρ = 2.7 ÷ 0.001 = 2,700 kg/m³ = 2.70 g/cm³, specific gravity 2.70: that is aluminum.
The same volume of steel (7,850 kg/m³) would weigh 7.85 kg, and a steel part is therefore about 2.9 times heavier than the aluminum one of the same size.
Things to know
Watch the volume units: 1 liter is 0.001 m³, not 1 m³; 1 g/cm³ is 1,000 kg/m³.
A hollow or porous object has an average (bulk) density lower than its material density. A cast part with voids weighs less than the solid.
Mass and weight differ: the weight is m × g. Specific weight is the weight per volume, γ = ρ g.
Common questions
What is the formula for density?
ρ = m ÷ V: mass divided by volume. The SI unit is kg/m³.
What is the density of water?
About 1,000 kg/m³ (1 g/cm³, 62.4 lb/ft³) at 4 °C; 998 kg/m³ at 20 °C.
How do you find the mass from density?
m = ρ × V. For example 0.002 m³ of steel has a mass of 7,850 × 0.002 = 15.7 kg.
What is the difference between density and specific gravity?
Specific gravity is the density relative to water, so it has no units. A material with SG 7.85 has a density of 7,850 kg/m³.
Sources
- CRC Handbook of Chemistry and Physics: densities of elements and common materials.
- ASM Handbook, Volume 1: densities of metals and alloys.
Last reviewed: November 10, 2026
