Density Calculator

Enter any two of mass, volume and density to find the third, with results in g/cm³, kg/m³, lb/ft³ and lb/gal and the closest common material.

Fill in two of the three and leave the one you want blank.

Runs in your browser; nothing you type is sent anywhere. · Updated

How to use the density calculator

Fill in two of mass, volume and density and leave the third blank. Mass and volume each have their own unit; density is entered in g/cm³ (the same as g/mL) and the results show other units.

The density formula

Density = mass ÷ volume (ρ = m/V). Rearranged: mass = density × volume and volume = mass ÷ density.

Example: a 500 g block of metal displaces 185 mL of water. Density = 500 ÷ 185 = 2.70 g/cm³, which matches aluminum.

Densities of common materials

Material g/cm³ kg/m³ lb/ft³
Air (20°C, sea level) 0.0012 1.2 0.075
Gasoline 0.74 740 46.2
Olive oil 0.91 910 56.8
Ice 0.917 917 57.2
Water (4°C) 1.000 1,000 62.4
Seawater 1.025 1,025 64.0
Concrete 2.4 2,400 150
Aluminum 2.70 2,700 168.6
Iron 7.87 7,870 491.3
Copper 8.96 8,960 559.4
Lead 11.34 11,340 707.9
Gold 19.32 19,320 1,206

Values are typical; alloys, mixes and temperature change them a little.

Specific gravity and floating

Specific gravity is density compared with water. Because water is 1 g/cm³, specific gravity equals density in g/cm³. Below 1 floats (ice at 0.917, so about 92% of an iceberg sits underwater); above 1 sinks.

Measuring density at home

  1. Weigh the object.
  2. Find its volume: measure a regular shape (length × width × height), or for an irregular one, note how much water it displaces in a measuring cup.
  3. Divide mass by volume.

For volumes of shapes, use the volume calculator.

Unit conversions

From To
1 g/cm³ 1 g/mL = 1 kg/L = 1,000 kg/m³
1 g/cm³ 62.43 lb/ft³
1 g/cm³ 8.345 lb/US gallon

Frequently asked questions

How do I calculate density?

Divide mass by volume. 500 g in 185 cm³ is 2.70 g/cm³.

What is the density of water?

1.000 g/cm³ (1,000 kg/m³ or 62.4 lb/ft³) at 4°C, and about 0.998 g/cm³ at room temperature.

How do I find mass from density?

Multiply density by volume. A gallon of water (3,785 mL × 1 g/mL) weighs about 3,785 g, or 8.34 lb.

Why does ice float?

Ice (0.917 g/cm³) is less dense than liquid water, because its crystal structure holds molecules farther apart.