dopecalc

Density Calculator

Calculate density, mass, or volume from the other two values using D = M / V. Supports kg/m³, g/cm³, and lb/ft³.

Enter any two of mass, volume, or density and leave the unknown blank. The calculator will solve for the missing value using D = M / V.

kg
kg/m³

About this Calculator

Calculate density, mass, or volume from the other two values using D = M / V. Supports kg/m³, g/cm³, and lb/ft³.

Formula & Calculations

Formula

D = M / V, M = D × V, V = M / D
Where:
  • D=Density — mass per unit volume
  • M=Mass — amount of matter
  • V=Volume — space occupied

Assumptions

  • The material is assumed to be homogeneous with uniform density.
  • All three values must be in consistent units.
  • Provide any two values to solve for the third.

Calculation Examples

Example 1

Inputs:Mass = 1000 kg, Volume = 1 m³
Result:Density = 1000 kg/m³

D = M / V = 1000 / 1 = 1000 kg/m³ (density of water).

Example 2

Inputs:Density = 19.3 g/cm³, Mass = 193 g
Result:Volume = 10 cm³

V = M / D = 193 / 19.3 = 10 cm³.

Example 3

Inputs:Density = 2.7 g/cm³, Volume = 50 cm³
Result:Mass = 135 g

M = D × V = 2.7 × 50 = 135 g.

Frequently Asked Questions

What units should I use for density?

The most common units are kg/m³ for gases and engineering, g/cm³ for solids and liquids, and lb/ft³ in imperial contexts. Water is 1000 kg/m³ = 1 g/cm³ = 62.4 lb/ft³.

What does this calculator solve for?

Enter any two of density, mass, and volume, and the calculator computes the third using the formula D = M / V.