Density calculator

Solve density, mass or volume from the other two measurements.

Density
2.5 g/cm³

Computed using consistent SI base units.

Share this result
Estimates only.

Your inputs

Solve for

Example values. Change any of them.

How it’s worked out

See how we got 2.5 g/cm³

Density ρ = mass ÷ volume. Rearrange to get mass = ρ × volume or volume = mass ÷ ρ.

  1. Convert the supplied quantities to kilogram and cubic meter units.
  2. Rearrange ρ = m ÷ V and convert the answer to g/cm³.

About this calculator

Density relates a substance’s mass to its volume. Values can depend on temperature and pressure.

Worked example

Density · 2.5 g/cm³

Density ρ = mass ÷ volume. Rearrange to get mass = ρ × volume or volume = mass ÷ ρ.

  1. Convert the supplied quantities to kilogram and cubic meter units.
  2. Rearrange ρ = m ÷ V and convert the answer to g/cm³.

Formula sources

Reference checked November 22, 2026.