Density tells you how much mass is packed into a given volume. It explains why a steel bolt sinks and a wooden log floats, and it lets you work out the weight of a material from its size or the volume of an object from its weight. Our density calculator finds density, mass or volume when you enter the other two. This guide explains the formula, the units and some practical uses.
How to use the calculator
Enter any two of:
- Density in kg/m³
- Mass in kg
- Volume in m³
With the defaults, a mass of 7.85 kg in a volume of 0.001 m³ (one litre) gives a density of 7,850 kg/m³, the density of steel.
Enter a density of 1,000 kg/m³ (water) and a volume of 0.002 m³ (2 litres), and the mass is 2 kg.
The formula
Rearranged:
- Mass = density × volume
- Volume = mass ÷ density
Example: 7.85 kg ÷ 0.001 m³ = 7,850 kg/m³.
Units
| Unit | Equal to |
|---|---|
| 1 g/cm³ | 1,000 kg/m³ |
| 1 kg/L | 1,000 kg/m³ |
| 1 lb/ft³ | 16.02 kg/m³ |
Water has a density of about 1 g/cm³ = 1 kg/L = 1,000 kg/m³, which makes it a handy reference.
Volume conversions: 1 m³ = 1,000 litres = 1,000,000 cm³. A common mistake is entering litres as cubic metres; 2 litres is 0.002 m³. The volume converter can help.
Common densities
| Material | Density (kg/m³) |
|---|---|
| Air (sea level, 20 °C) | 1.2 |
| Cork | 240 |
| Pine wood | 500 |
| Ice | 917 |
| Water | 1,000 |
| Seawater | 1,025 |
| Concrete | 2,400 |
| Aluminium | 2,700 |
| Steel | 7,850 |
| Copper | 8,960 |
| Lead | 11,340 |
| Gold | 19,300 |
Floating and sinking
An object floats in a liquid if its average density is lower than the liquid's. Ice (917) floats in water (1,000), with about 92% of it below the surface, which is why most of an iceberg is hidden. Steel sinks, yet a steel ship floats because its hull encloses a large volume of air, bringing its average density below that of water.
You float more easily in the sea than in a pool because seawater is denser, and very easily in the Dead Sea, at over 1,200 kg/m³.
Practical uses
Weight of materials. A steel plate 1 m × 0.5 m × 10 mm has a volume of 0.005 m³ and a mass of 0.005 × 7,850 = 39.25 kg.
Ordering bulk materials. Gravel at about 1,600 kg/m³ means 2 m³ weighs about 3.2 tonnes. The gravel calculator and concrete calculator build this in.
Checking purity. Archimedes is said to have tested a gold crown by measuring its volume through water displacement. If its density was below 19,300 kg/m³, it contained cheaper metal.
Cooking and baking. Converting between cups and grams depends on density: a cup of flour weighs much less than a cup of sugar.
Science lab work. Measure the mass on a balance, the volume by displacement, and calculate density. The percent error calculator compares your result with the accepted value.
Measuring volume by displacement
For irregular objects, submerge them in water and measure the rise in level. The water displaced equals the object's volume. A stone that raises the level in a measuring jug by 150 ml has a volume of 150 cm³. If it weighs 405 g, its density is 405 ÷ 150 = 2.7 g/cm³, typical of granite.
Density, mass and weight
Mass (kg) is the amount of matter; weight is the force of gravity on it. Density uses mass. In everyday use, "weight" usually means mass, and the mass converter converts between units.
Tips for accurate results
Keep units consistent before you calculate: mass in kilograms and volume in cubic metres gives density in kg/m³, while grams and cubic centimetres give g/cm³. Measure volume carefully, because it is usually the less precise of the two numbers, especially for irregular shapes. For liquids, note the temperature, since warm liquids are slightly less dense than cold ones. For porous materials like wood or soil, remember that the result is a bulk density that includes air gaps, so it will be lower than the density of the solid material itself.
Frequently asked questions
What is the density of water?
About 1,000 kg/m³, or 1 g/cm³, at 4 °C. It is slightly lower at higher temperatures.
How do I convert g/cm³ to kg/m³?
Multiply by 1,000. Aluminium at 2.7 g/cm³ is 2,700 kg/m³.
Why does ice float?
Water expands when it freezes, so ice is less dense than liquid water. Anything less dense than a liquid floats in it.
Does density change with temperature?
Yes. Most materials expand when heated, so their density falls slightly. Gases change the most.
Try it yourself
Run your own numbers with our free tool: Density calculator. No sign-up, and it works on any device.