Density Calculator

Density, mass, and volume are locked together by one formula — ρ = m ÷ V — so knowing any two always gives you the third. Plug in your numbers to solve for whichever one you're missing, see how the result compares to everyday materials like water and aluminum, and convert freely between kg/m³, g/cm³, lb/ft³ and more.

Start calculating

For personal planning and general reference — verify important results when needed.

Calculate

Choose a calculation type, enter your values, and click Calculate Now to get instant results with step-by-step solutions.

What density measures, in plain terms

Density is how much mass is packed into a given amount of space — mass divided by volume. It's why a shoebox full of feathers is easy to lift while the same shoebox packed with lead barely budges: same volume, wildly different mass, so wildly different density.

That single relationship — ρ = m ÷ V — connects three quantities so tightly that knowing any two always lets you solve for the third. This calculator handles all three directions, plus straightforward unit conversion when your numbers come in different systems.

The density formula, rearranged three ways

Find density

ρ = m ÷ V

5 kg in a 0.002 m³ container: 5 ÷ 0.002 = 2,500 kg/m³.

Find mass

m = ρ × V

2,500 kg/m³ filling 0.002 m³: 2,500 × 0.002 = 5 kg.

Find volume

V = m ÷ ρ

5 kg at 2,500 kg/m³: 5 ÷ 2,500 = 0.002 m³.

All three examples describe the same block of material — that's the point of the triangle. Once you know any two corners, the third is fixed.

How your result compares to everyday materials

A raw number like "2,700 kg/m³" means more once you can place it next to something familiar. Every result on this calculator gets charted against the same five reference points:

Density of common materials
Material Density (kg/m³)
Air (sea level)1.225
Water1,000
Aluminum2,700
Iron7,870
Gold19,300

This is also the classic way density gets used to identify an unknown material — measure the mass and volume of a sample, work out its density, and compare the result against known reference values like these.

Converting between density units

Density shows up in whichever unit system the source material uses — metric science papers in kg/m³ or g/cm³, US engineering specs in lb/ft³ or lb/in³. The conversions all reduce to a common base:

Density unit conversion factors
Unit Equals (kg/m³)
1 g/cm³1,000
1 g/L1
1 lb/ft³16.018
1 lb/in³27,679.9

Worth remembering as a shortcut: 1 g/cm³ equals exactly 1,000 kg/m³, which is also the density of water — so water's density is 1 in g/cm³, a convenient benchmark for judging whether something will float.

Where density actually gets used

  • Floating and sinking: an object floats in a fluid when its overall density is lower than the fluid's — the principle behind ship hulls, life jackets, and hot air balloons.
  • Material identification: comparing a sample's measured density against known reference values, as in the table above, is a quick way to tell metals or minerals apart.
  • Shipping and freight: carriers often charge by dimensional weight, which is really a density calculation — bulky, low-density packages can cost more to ship than their actual weight suggests.
  • Chemistry and material science: density feeds into everything from concentration calculations to whether a material will stay suspended in a mixture.

If you're working the mass side of this formula on its own — say, converting a shipment's weight between units — the Mass Calculator and Weight Calculator handle that directly, and the Volume Calculator can work out the volume of common shapes if you don't already have it measured.

Density isn't fixed — temperature changes it

Nearly every substance expands slightly when heated and contracts when cooled, which means its density drops when warm and rises when cold — the same mass now fills a slightly different volume. Lab measurements and material data sheets should always note the temperature they were taken at, since a density quoted without one is only an approximation.

Water breaks the usual pattern in one famous way: it's actually densest at about 4°C, not at its freezing point. Cool it further and it starts expanding again, which is why ice is less dense than liquid water and floats instead of sinking — a quirk of hydrogen bonding that keeps lakes from freezing solid from the bottom up.

Sources and further reading

Reference densities are approximate values at typical room conditions and will vary with purity, temperature, and pressure.

Frequently Asked Questions

What is density?

Density is mass per unit volume, typically grams per cubic centimetre (g/cm³) or kilograms per cubic metre (kg/m³). It tells you how much matter is packed into a space.

How do you calculate density?

Density = mass ÷ volume. If you know any two of density, mass, and volume, you can solve for the third.

Why does density matter in science and engineering?

Density determines whether objects float, how materials behave under load, and how fluids mix. It is essential in chemistry, geology, and shipping weight estimates.

How does temperature affect density?

Most substances expand when heated, lowering density. Water is an exception near freezing. Lab measurements should note temperature for accurate comparisons.

How do I use this density calculator?

Enter any two of mass, volume, and density, select units, and click Calculate. The tool solves for the missing value with unit conversion.

Why does density decide whether something floats?

An object floats in a fluid when its overall density is lower than the fluid it displaces. A solid steel block sinks in water, but a steel ship floats because its hull shape gives the whole vessel — including the air inside — an average density lower than water.

What is the density of common materials like water, iron, or aluminum?

Approximate densities at room conditions: air 1.225 kg/m³, water 1,000 kg/m³, aluminum 2,700 kg/m³, iron 7,870 kg/m³, and gold 19,300 kg/m³. This calculator plots your result alongside these reference points automatically.

More utility calculators