Density Formula

Relate the mass of an object to the volume it occupies.

The formula

ρ = m ÷ V

Variables and units

SymbolMeaningUnit
ρdensitykg/m³ (or g/cm³, lb/ft³)
mmasskg
Vvolumem³

Other forms of the formula

The same relationship rearranged, so you can solve for whichever quantity is unknown.

  • m = ρ × V
  • V = m ÷ ρ

How it works

Density is mass per unit volume. Rearranged, the same relationship gives mass from volume (m = ρ × V) and volume from mass (V = m ÷ ρ).

Keep the units consistent. Kilograms with cubic meters give kg/m³, and grams with cubic centimeters give g/cm³, which is 1,000 times larger numerically.

Worked example

A steel block measures 0.2 m × 0.1 m × 0.05 m and has a mass of 7.85 kg. What is its density?

  1. V = 0.2 × 0.1 × 0.05 = 0.001 m³
  2. ρ = 7.85 kg ÷ 0.001 m³
  3. ρ = 7,850 kg/m³

7,850 kg/m³, or 7.85 g/cm³, the typical value for carbon steel.

Common mistakes

  • Dividing volume by mass, which gives specific volume.
  • Mixing grams with cubic meters, or kilograms with liters, without converting.

Where it is used

Identifying materials, estimating the weight of parts and loads, buoyancy checks and converting recipe volumes to weights.

Frequently asked questions

What is the formula for density?

ρ = m ÷ V. Rearranged to find the other quantities: m = ρ × V; V = m ÷ ρ.

What do the symbols mean, and which units should I use?

ρ is density (kg/m³ (or g/cm³, lb/ft³)); m is mass (kg); V is volume (m³). Use consistent units so the answer comes out in the unit you expect.

What are common mistakes with this formula?

Dividing volume by mass, which gives specific volume. Mixing grams with cubic meters, or kilograms with liters, without converting.

Where is this formula used?

Identifying materials, estimating the weight of parts and loads, buoyancy checks and converting recipe volumes to weights.

Is there a worked example?

Yes. A steel block measures 0.2 m × 0.1 m × 0.05 m and has a mass of 7.85 kg. What is its density? 7,850 kg/m³, or 7.85 g/cm³, the typical value for carbon steel.