Skip to content
K Knidox Search…
Physics · Mechanics

Density Calculator

Solve ρ = m / V for density, mass, or volume.

g
cm³
Materials — tap to load a sample
Density (ρ)
1g/cm³

Keep mass and volume units consistent (e.g. g and cm³).

Mass vs volume — the slope is the density (ρ)
Mass rising linearly with volume; the slope of the line is the density ρ100 g00100 cm³

Density is mass divided by volume: ρ = m ÷ V. Rearrange it to find any of the three — m = ρV or V = m ÷ ρ. A 270 g aluminium block occupying 100 cm³ has a density of 270 ÷ 100 = 2.7 g/cm³, which is why aluminium sinks in water (1.0 g/cm³).

Mass packed into a volume

Density is how much mass occupies a given volume: ρ = m / V. It is why a kilogram of lead takes up far less space than a kilogram of feathers, and why some objects float while others sink. Because it is one equation with three variables, any two of them give you the third.

ρ = m ÷ V  ·  m = ρ × V  ·  V = m ÷ ρ

ρ = density (g/cm³), m = mass (g), V = volume (cm³)

Worked example

A block of aluminium has a mass of 270 g and a volume of 100 cm³. Find its density:

  1. 1
    Write the density formula. ρ = m ÷ V, with mass in grams and volume in cm³.
  2. 2
    Substitute the values. ρ = 270 g ÷ 100 cm³.
  3. 3
    Compute the density. ρ = 2.7 g/cm³ — the textbook density of aluminium.

Densities of common materials

At roughly room temperature. Anything denser than its surrounding fluid sinks.

Materialg/cm³kg/m³
Cork0.24240
Ice0.92920
Water1.001000
Aluminium2.702700
Iron7.877870
Lead11.3411340
Gold19.3219320

Units, floating, and common mistakes

Keep units consistent. g/cm³ and kg/m³ are both standard, but never mix them: to convert g/cm³ to kg/m³, multiply by 1000 (water is 1 g/cm³ = 1000 kg/m³).

Why things float: an object floats when its density is less than the fluid around it, so it displaces enough fluid to support its own weight. Ice (0.92 g/cm³) floats on water (1.00 g/cm³); lead does not.

Common mistake: shape does not matter. Density depends only on total mass and total volume — a cube and a sphere of the same material have the same density.

Does the shape of the object matter?
No. Density depends only on mass and total volume, not on shape. A crumpled and a flat sheet of the same foil have identical density.
How do I convert g/cm³ to kg/m³?
Multiply by 1000. Water is 1 g/cm³ = 1000 kg/m³; aluminium is 2.70 g/cm³ = 2700 kg/m³.
Why do things float?
An object floats when its density is less than the fluid it sits in, so it displaces enough fluid to support its weight. Denser objects sink.
How do I find the volume of an irregular object?
Use water displacement: submerge it and measure the rise in water level. The volume of displaced water equals the object’s volume.
What is specific gravity?
It is the density of a substance divided by the density of water (1 g/cm³), so it is just the numeric density in g/cm³ with no units — handy for comparing what floats.
How do I rearrange ρ = m ÷ V to find mass or volume?
Multiply both sides by V to get m = ρ × V, or divide to get V = m ÷ ρ. For aluminium (2.70 g/cm³) at 100 cm³, m = 2.70 × 100 = 270 g.