Skip to calculator
Libre CalculatorThe universe in numbers

Density calculator

Find density from mass and volume, and see how it compares with water.

Answer

2,700 kg/m³

Steps

2.7 kg ÷ 0.001 m³ = 2,700 kg/m³

Mass divided by volume, next to water
Denser than water, so a solid piece of it sinks.
2.7 kg in 0.001 m³ has a density of 2,700 kg/m³, compared with about 1,000 kg/m³ for water.

Watch the explainer

194 seconds · 7 chapters · captions included

0:00 / 3:14Why does the box float?

Explanation

What this measures

Density tells you how much mass is packed into each cubic metre. The same mass squeezed into a smaller volume is denser.

How to enter values

Enter the mass in kilograms and the volume in cubic metres. A one-litre block (0.001 m³) of aluminium has a mass of 2.7 kg, so its density is 2,700 kg/m³.

ρ = m / V

Variables
ρdensity in kilograms per cubic metre
mmass in kilograms
Vvolume in cubic metres

10 kg in 2 m³

Mass10
Volume2
Result5

10 kg ÷ 2 m³ = 5 kg/m³

1,000 kg in 1 m³

Mass1000
Volume1
Result1,000

1,000 kg ÷ 1 m³ = 1,000 kg/m³

An empty 3 m³ volume

Mass0
Volume3
Result0

0 kg ÷ 3 m³ = 0 kg/m³

Diagram of this result

The diagram writes the formula with your numbers and places the result on a scale next to fresh water, about 1,000 kg/m³.

A screen-reader sentence states the mass, the volume, the density and the density of water for comparison.

Common mistakes

Volume must be in cubic metres: one litre is 0.001 m³, not 1. For powders, gravel or foam the measured volume includes gaps, so the result is a bulk density lower than that of the solid material.

Limits and assumptions

Inputs use fixed SI units; convert other units before you calculate. This is an idealised textbook relation for consistent measurements, not an engineering design or safety assessment. Values outside the supported decimal range are rejected rather than approximated. Calculations keep up to 30 significant input digits and 50 internal digits; only the displayed answer is rounded.

Sources

OpenStax University Physics Volume 1, mechanics: https://openstax.org/details/books/university-physics-volume-1

How do I use other units?

Convert mass to kilograms and volume to cubic metres first: litres ÷ 1,000 give m³. To read the answer in g/cm³, divide kg/m³ by 1,000.