Skip to content

Density Calculator

Solve for density, mass or volume with one formula. Enter any two of the three, in metric or imperial units, and the density calculator gives the third in several units at once.

Solve for
Mass unit
Density unit

Density

2.7 g/cm³

Mass ÷ volume, shown in all three common density units.

In kg/m³
2,700 kg/m³
In g/cm³
2.7 g/cm³
In lb/ft³
168.555 lb/ft³

How to use this calculator

  1. 1 Choose what to solve for: density, mass or volume.
  2. 2 Pick the units for the two values you know, such as kilograms and litres.
  3. 3 Enter the two values. Use numbers above zero.
  4. 4 Read the answer, with the same quantity in other units shown below it.

What is density?

Density is how much mass is packed into a given volume. A block of lead and a block of foam of the same size have very different masses, because lead is much denser. Density is written as mass divided by volume.

Common units are grams per cubic centimetre (g/cm³), kilograms per cubic metre (kg/m³) and pounds per cubic foot (lb/ft³). Water is about 1 g/cm³, or 1,000 kg/m³, which is a useful reference point. For solutions in chemistry, the molarity calculator uses the same mass and volume ideas.

How density, mass and volume fit together

The three quantities follow one rule. Mass equals density times volume, and volume equals mass divided by density. If you know any two, you can find the third, so the calculator rearranges the formula for you. The mass calculator uses the same rule with common materials, and the volume calculator gives the volume of common shapes.

Units must match. A density in g/cm³ and a volume in litres must be converted before you multiply. The calculator converts everything to SI base units internally, so you can mix units freely.

Density changes with temperature and pressure

Most liquids and solids get slightly less dense as they warm up, because they expand. Water is a special case, and it is densest at about 4 °C. Gases change much more with pressure and temperature.

So a reference density is only a guide. For precise work, use the density at the temperature and pressure you are working at. The data is usually given in engineering or materials tables.

  • Water is about 1 g/cm³ at room temperature.
  • Aluminium is about 2.7 g/cm³.
  • Steel is about 7.85 g/cm³.
  • Air is much less dense than water, at about 1.2 kg/m³ near sea level.

Tips for measuring density

For a solid, weigh it on accurate scales, then find its volume by displacing water in a measuring cylinder. For a liquid, weigh a known volume, for example in a calibrated flask.

Use the mass and volume in the same system. A kitchen scale in pounds and a measuring jug in litres are fine, but convert before you divide. Repeat the measurement and average the results to reduce error.

Safety in the lab and at home

Some liquids are hazardous. Check the safety data sheet before you handle any chemical, and wear eye protection and gloves when you need to. Never taste or smell a substance to identify it.

When you weigh or pour heavy objects, lift with your legs and use a trolley for large loads.

The formula

Density

density = mass ÷ volume

mass
the amount of matter, in kilograms, grams or pounds
volume
the space it fills, in cubic metres, litres, cubic centimetres or cubic feet

Mass

mass = density × volume

density
the density in the same system as the volume

Volume

volume = mass ÷ density

volume
the space the mass occupies

Worked example

A 2.7 kg block with a volume of 1 litre

  1. 1.Convert the volume: 1 litre is 0.001 cubic metres
  2. 2.Density: 2.7 kg ÷ 0.001 m³ = 2,700 kg/m³
  3. 3.In grams per cubic centimetre: 2,700 ÷ 1,000 = 2.7 g/cm³
  4. 4.In pounds per cubic foot: 2,700 × 0.0624280 = 168.555 lb/ft³

The density is 2.7 g/cm³, which is 2,700 kg/m³ or 168.555 lb/ft³.

Frequently asked questions

What is the density of water?

About 1 g/cm³, or 1,000 kg/m³. It is slightly denser at 4 °C than at room temperature, but for everyday use 1 g/cm³ is accurate enough.

How do I convert g/cm³ to kg/m³?

Multiply by 1,000. For example, 2.7 g/cm³ equals 2,700 kg/m³. Going the other way, divide by 1,000.

What is the difference between density and weight?

Density is mass per volume, so it does not depend on how much of the material you have. Weight is a force, and it depends on gravity. The weight calculator shows how weight changes on other planets.

Is density the same as specific gravity?

Not quite. Specific gravity is the density of a material divided by the density of water, so it has no units. For most materials, the number is almost the same as density in g/cm³.

Sources

Last reviewed by the GridCalculators team.