Density Calculator

Solve for density, mass or volume — density is mass divided by volume.

g
cm³
g/cm³
Density (g/cm³)
Density (kg/m³)
Mass (g)
Volume (cm³)
In water

Results update as you type.

About this calculator

Density is how much mass is packed into a volume: ρ = m / V. Choose which quantity to solve for and enter the other two. Mass is in grams, volume in cubic centimetres (equal to millilitres) and density in g/cm³, so water comes out at about 1.

Frequently asked questions

What is the density formula?

Density equals mass divided by volume, ρ = m / V. Rearranged, mass = ρ × V and volume = m / ρ.

What units does this use?

Mass in grams and volume in cubic centimetres (1 cm³ = 1 mL) give density in g/cm³. Pure water is about 1 g/cm³, so denser-than-water materials read above 1.

Results are estimates for general guidance only, not financial, medical or tax advice.