Density Calculator
Find the density of a substance from its mass and volume.
kg
m³
- 1
Density formula
ρ = m ÷ VDivide mass (kg) by volume (m³) to get density in kg/m³. - 2
Density (kg/m³)
1 ÷ 0.001 = 1,000
Formula
How this is calculated
Density (ρ) measures how much mass is packed into a given volume. The calculator takes two inputs: mass — how much matter the object contains, entered in kilograms (kg) — and volume — how much space it occupies, entered in cubic metres (m³). It divides one by the other: ρ = m ÷ V. Because the inputs are in SI base units, the result comes out in kilograms per cubic metre (kg/m³).
To make the number easier to relate to everyday materials, the result is also shown in grams per cubic centimetre. The conversion is exact: 1 g/cm³ equals 1000 kg/m³, so the kg/m³ value is simply divided by 1000. Grams per cubic centimetre and grams per millilitre are numerically identical, since 1 cm³ = 1 mL.
The formula assumes the mass is spread uniformly through the volume, so it gives an average density rather than accounting for internal voids, layers, or air pockets. Volume must be greater than zero — dividing by zero is undefined — and both inputs must be positive real numbers for the result to be physically meaningful.
Examples
| Input | Result |
|---|---|
| m = 1 kg, V = 0.001 m³ | density = 1000 kg/m³ = 1 g/cm³ |
About this calculator
Density is the amount of mass packed into a given volume: density = mass / volume. In SI units, mass is in kilograms and volume in cubic metres, giving density in kilograms per cubic metre (kg/m³). Dividing by 1000 converts to grams per cubic centimetre (g/cm³), which equals grams per millilitre.
Density is an intrinsic property of a material, independent of how much of it you have. For reference, pure water at 4 °C has a density of about 1000 kg/m³ (1 g/cm³). Objects denser than the fluid they sit in will sink, while less dense objects float — the principle behind buoyancy.
Frequently asked questions
Density equals mass divided by volume: ρ = m / V. With kilograms and cubic metres you get kg/m³.
Divide the density in kg/m³ by 1000. For instance, 1000 kg/m³ ÷ 1000 = 1 g/cm³.
Pure water at 4 °C has a density of about 1000 kg/m³, which is the same as 1 g/cm³ or 1 g/mL.
Also known as
TG we-Calculate Editorial Team. (2026). Density Calculator [Online calculator]. TG we-Calculate. https://we-calculate.com/calculator/density-calculator
TG we-Calculate Editorial Team. "Density Calculator." TG we-Calculate. 2026. https://we-calculate.com/calculator/density-calculator.
TG we-Calculate Editorial Team, "Density Calculator," TG we-Calculate, 2026. [Online]. Available: https://we-calculate.com/calculator/density-calculator
@misc{wecalculate_density_calculator, title = {Density Calculator}, author = {{TG we-Calculate Editorial Team}}, howpublished = {\url{https://we-calculate.com/calculator/density-calculator}}, year = {2026}, note = {TG we-Calculate} }
Did this calculator help you?
