Key facts
- ρ = m ÷ V. 500 g of a metal with a volume of 63.5 cm³ has a density of 7.87 g/cm³, which matches iron.
- Water has a density of about 1 g/cm³ = 1,000 kg/m³. Anything less dense floats in it.
- 1 g/cm³ = 1,000 kg/m³ = 62.43 lb/ft³ = 1 g/mL.
- Density changes with temperature and, for gases, with pressure.
What is density?
Density compares how much mass is packed into a given space. A kilogram of feathers and a kilogram of lead have the same mass, but the lead takes up a tiny fraction of the volume because it is about 11 times denser than water. Density identifies materials, decides what floats or sinks, and converts between the weight and volume of liquids, fuels and building materials.
How to use the density calculator
- Choose what to solve for: density, mass or volume.
- Enter the other two in grams, cm³ (the same as mL) and g/cm³.
- Read the answer, the density in kg/m³ and lb/ft³, and whether the material floats in fresh water.
Density formula
ρ = m ÷ Vm = ρ × VV = m ÷ ρ| Symbol | Meaning | Units |
|---|---|---|
| ρ (rho) | Density | g/cm³, kg/m³, lb/ft³ |
| m | Mass | g, kg, lb |
| V | Volume | cm³ (mL), m³, ft³ |
Densities of common materials
| Material | Density (g/cm³) | Density (kg/m³) |
|---|---|---|
| Air (sea level, 15 °C) | 0.001225 | 1.225 |
| Cork | 0.24 | 240 |
| Pine wood | about 0.5 | about 500 |
| Ice | 0.917 | 917 |
| Olive oil | 0.91 | 910 |
| Fresh water (4 °C) | 1.000 | 1,000 |
| Seawater | 1.025 | 1,025 |
| Concrete | about 2.4 | about 2,400 |
| Aluminium | 2.70 | 2,700 |
| Steel | 7.85 | 7,850 |
| Iron | 7.87 | 7,870 |
| Copper | 8.96 | 8,960 |
| Lead | 11.34 | 11,340 |
| Mercury | 13.53 | 13,530 |
| Gold | 19.32 | 19,320 |
Step-by-step examples: density
Example 1: identifying a metal
A metal block has a mass of 500 g and displaces 63.5 mL of water, so its volume is 63.5 cm³. ρ = 500 ÷ 63.5 ≈ 7.87 g/cm³, the density of iron.
Example 2: is the ring real gold?
A ring weighs 5.8 g and raises the water in a measuring cylinder by 0.30 mL. ρ = 5.8 ÷ 0.30 ≈ 19.3 g/cm³, consistent with pure gold. Gold alloys such as 14-carat are less dense, around 13 to 14.6 g/cm³.
Example 3: mass of a liquid
How much does 2 litres of olive oil weigh? m = 0.91 × 2,000 = 1,820 g (1.82 kg).
Example 4: volume of a metal part
A 2.7 kg aluminium part has a volume of 2,700 ÷ 2.70 = 1,000 cm³, one litre.
Floating and sinking
An object floats if its average density is less than the fluid’s. Ice (0.917) floats with about 92% of its volume below the surface. Steel ships float because their hollow hulls make their average density, steel plus the air inside, less than water. This is Archimedes’ principle: the buoyant force equals the weight of fluid displaced.
Density vs specific gravity
Specific gravity is the ratio of a material’s density to that of water at 4 °C. It has no units and is numerically equal to the density in g/cm³: aluminium has a specific gravity of 2.70.
Common mistakes with density
- Mixing units. Keep grams with cm³, or kilograms with m³. 1 g/cm³ is 1,000 kg/m³, not 1 kg/m³.
- Measuring volume of irregular objects with a ruler. Use water displacement instead.
- Ignoring temperature. Water is densest at about 4 °C, and most materials expand when heated.
From Archimedes to osmium
The most famous density story is Archimedes’ "Eureka", told by the Roman architect Vitruvius: asked to check whether a crown was pure gold, Archimedes realized he could measure its volume by the water it displaced and compare its density with gold’s. Whether or not it happened that way, displacement is still how labs measure the volume of irregular objects, and Archimedes’ principle explains why objects less dense than water float.
Some reference values: water is densest at about 4 °C, at very nearly 1,000 kg/m³, which is why ice floats and lakes freeze from the top down; aluminium is about 2,700 kg/m³; steel about 7,850; gold 19,300; and osmium, the densest naturally occurring element, about 22,590 kg/m³. Density is used to identify materials, check the purity of precious metals, measure the sugar in wine and beer with a hydrometer, and judge the charge of lead-acid batteries. Measurements for scientific use are standardized by bodies such as NIST and IUPAC. For pressure in a liquid at depth, use the pressure calculator; for gas density from pressure and temperature, the ideal gas law calculator; and to convert mass and volume units, the unit converter.
Related: volume calculator, molar mass calculator.
How this calculator works
- Density ρ = m ÷ V; mass m = ρ × V; volume V = m ÷ ρ.
- Enter any two of the three values and the third is solved; units are converted to SI first and the answer is shown in several units.
- Density is in g/cm³ (equal to g/mL); the calculator also says whether the material would float in fresh water (below 1 g/cm³).
- Density changes with temperature and, for gases, pressure, so use values for the conditions you need.
Frequently asked questions
What is the formula for density?
Density = mass ÷ volume (ρ = m ÷ V).
What is the density of water?
About 1 g/cm³ or 1,000 kg/m³. It is highest, 0.99997 g/cm³, at about 4 °C.
How do I find volume from density and mass?
Divide the mass by the density: V = m ÷ ρ. 250 g of a 1.25 g/cm³ liquid takes up 200 cm³.
How do I convert g/cm³ to kg/m³?
Multiply by 1,000. 2.5 g/cm³ = 2,500 kg/m³.
Is g/mL the same as g/cm³?
Yes. One millilitre is exactly one cubic centimetre.
Why does ice float?
Water expands as it freezes, so ice (0.917 g/cm³) is less dense than liquid water (1.000 g/cm³).
What is the densest element?
Osmium, at about 22.6 g/cm³, slightly denser than iridium.
How do I measure the density of an irregular object?
Weigh it, then submerge it in a measuring cylinder of water. The rise in water level is its volume. Divide mass by volume.