Calcamaze

Density Calculator

Find density, mass or volume from the other two values.

Solve for any value — pick what to calculate in the first field

kg
m³

Result

Density
1,000 kg/m³
Density in g/cm³
1 g/cm³
Volume in litres
5 L

Density tells you how much mass is packed into a given volume.

Density is what decides whether something floats, how heavy a full container will be and which material a mystery sample might be. Enter the mass and volume to get the density in kg/m³ and g/cm³, or use a known density to find the mass of a given volume or the volume of a given mass.

What is density?

Density is mass per unit volume: ρ = m ÷ V. It tells you how tightly matter is packed — a liter of water has a mass of about 1 kg (1,000 kg/m³ or 1 g/cm³), while a liter of steel has nearly 8 kg.

Density explains why things float (objects less dense than water float in it), lets you find the mass of a material from its volume, and helps identify substances. It changes with temperature and, for gases, with pressure.

How to use the density calculator

  1. Choose what to calculate in the first field.
  2. Enter the mass in kilograms and the volume in cubic meters (1 L is 0.001 m³).
  3. Read the density in kg/m³ and g/cm³, and compare it with the typical values below.

Formula

rho = m / V

Where rho is the density (kg/m³), m is the mass (kg), V is the volume (m³).

Choose any value to calculate — the calculator rearranges the formula for you.

Worked examples

Identifying a metal

Calculate
Density
Mass
0.54 kg
Volume
0.0002 m³
Density
2,700 kg/m³
Density in g/cm³
2.7 g/cm³
Volume in litres
0.2 L

A 540 g block with a volume of 200 cm³ has a density of 0.54 kg ÷ 0.0002 m³ = 2,700 kg/m³ — the density of aluminium.

Mass of a tank of diesel

Calculate
Mass
Density
832 kg/m³
Volume
0.5 m³
Mass
416 kg
Density in g/cm³
0.832 g/cm³
Volume in litres
500 L

Diesel is about 832 kg/m³, so 500 L (0.5 m³) has a mass of 832 × 0.5 = 416 kg.

Densities of common substances (near 20 °C)

Substancekg/m³g/cm³
Air (sea level)1.20.0012
Gasoline≈ 7400.74
Water9980.998
Seawater≈ 1,0251.025
Concrete≈ 2,4002.4
Aluminium2,7002.70
Steel≈ 7,8507.85
Copper8,9608.96
Lead11,34011.34
Gold19,30019.3

Will it float?

An object floats in a liquid that is denser than it is, and sinks in one that is less dense. Fresh water is about 1,000 kg/m³, so oak at about 750 kg/m³ floats and steel at about 7,850 kg/m³ sinks. The fraction that sits below the surface equals the ratio of the two densities: ice at 917 kg/m³ floats with about 92% of its volume under fresh water.

Typical densities

Air ≈ 1.2 kg/m³ · Water ≈ 1,000 kg/m³ · Aluminium ≈ 2,700 kg/m³ · Steel ≈ 7,850 kg/m³ · Gold ≈ 19,300 kg/m³.

Common mistakes

  • Mixing units — g/cm³ and kg/m³ differ by a factor of 1,000.
  • Forgetting that liquids and gases expand with temperature, which changes their density.
  • Using bulk density (with air gaps) for a solid material, or the reverse.
  • Entering a volume in liters or cm³ as if it were in m³. 1 L is 0.001 m³ and 1 cm³ is 0.000001 m³.

Frequently asked questions

What is the formula for density?

Density = mass ÷ volume, written ρ = m / V.

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

Divide by 1,000. Water at 1,000 kg/m³ is 1 g/cm³.

How do I find the density of an irregular object?

Weigh it, then lower it into a measuring cylinder of water and read how much the level rises. That rise is the object’s volume. Divide the mass by the volume.

What is the density of water?

About 1,000 kg/m³, or 1 g/cm³. It is highest at about 4 °C and falls slightly as water warms, to about 997 kg/m³ at 25 °C.

Sources

  1. College Physics 2e, 11.2: Density, OpenStax, Rice University
  2. University Physics Volume 1, 14.4: Archimedes’ Principle and Buoyancy, OpenStax, Rice University

Last updated · Calculations checked by automated tests· Editorial policy