How to Calculate Density- Step-by-Step Guide

What Is Density, Exactly?

Density is the amount of mass packed into a given volume. That's it. It's a ratio — how much stuff squeezes into a specific space.

Water has a density of about 1 g/cm³. A block of lead? Roughly 11.3 g/cm³. The difference tells you why lead sinks and a plastic bottle floats.

You need density for science class, engineering calculations, or figuring out why your DIY project went wrong. Either way, calculating it is straightforward once you know the steps.

The Density Formula

Density = Mass ÷ Volume

Or written as symbols: ρ = m/V

Where:
ρ (rho) = density
m = mass
V = volume

Your answer will be in units like g/cm³ for solids, g/mL or g/L for liquids and gases.

Step-by-Step: How to Calculate Density

Step 1: Measure the Mass

Mass is how much matter something contains. Use a scale or balance.

For solids: weigh the object directly.
For liquids: weigh the container first, add the liquid, then subtract the container's weight.
For gases: this gets complicated — skip it unless you have lab equipment.

Units: grams (g) or kilograms (kg).

Step 2: Measure the Volume

Volume is how much space the object takes up. The method depends on what you're measuring.

For regular solids (cubes, spheres, cylinders):

For irregular solids:

For liquids:

Step 3: Do the Division

Divide your mass value by your volume value.

Example: An object has a mass of 200 grams and a volume of 50 cm³.
Density = 200 ÷ 50 = 4 g/cm³

Tools You'll Need

Measurement Tool Best For
Mass Digital scale, triple-beam balance Most objects, liquids
Regular volume Ruler, caliper, micrometer Cubes, cylinders, spheres
Liquid volume Graduated cylinder, volumetric flask Liquids, irregular solids via displacement

A digital scale costs $15-30. A caliper set is $10-20. You can get accurate results with basic equipment.

Density of Common Substances

Substance Density (g/cm³) Notes
Water 1.00 Reference point at 4°C
Ice 0.92 Why ice floats
Aluminum 2.70 Light metals
Iron/Steel 7.80-7.85 Common structural metal
Lead 11.34 Heavy, toxic
Gold 19.30 Heavy precious metal
Air 0.0012 At room temperature

Use this table to check if your calculations make sense. If you calculate the density of a "steel" object and get 2.5 g/cm³, something's wrong — that's aluminum density.

Real-World Calculation Examples

Example 1: A Metal Block

You have a rectangular metal block.
Mass: 540 grams
Dimensions: 10 cm × 6 cm × 3 cm

Volume = 10 × 6 × 3 = 180 cm³
Density = 540 ÷ 180 = 3.0 g/cm³

This matches aluminum closely. The block is likely aluminum, not steel or gold.

Example 2: An Irregular Rock

You find a rock and want to identify it.
Mass: 250 grams
Water in graduated cylinder: 100 mL
Water after dropping in rock: 185 mL

Volume = 185 - 100 = 85 mL = 85 cm³
Density = 250 ÷ 85 = 2.94 g/cm³

That density sits between granite (2.7 g/cm³) and basalt (3.0 g/cm³). Likely granite or similar.

Example 3: A Liquid (Rubbing Alcohol)

You pour rubbing alcohol into a graduated cylinder.
Mass of empty cylinder: 85 grams
Mass of cylinder + alcohol: 120 grams
Volume of alcohol: 50 mL

Mass of alcohol = 120 - 85 = 35 grams
Density = 35 ÷ 50 = 0.70 g/mL

That matches isopropyl alcohol (about 0.785 g/mL at room temperature). Close enough given measurement errors.

Common Mistakes That Ruin Your Results

Quick Reference: Density Calculation Checklist

That's all you need. Mass ÷ Volume. Get those two numbers right and you're done.