Density Calculator

Solve density, mass, or volume from the other two, in grams, cubic centimeters, and g/cm³ (or any consistent unit set). Calculates in your browser.

Enter any two values, the third is calculated.

Mass-
Volume-
Density-

Show the math

Density is mass per unit volume:

ρ = m ÷ V

For reference, water is about 1 g/cm³ and aluminum about 2.7 g/cm³. All math runs in your browser.

What this does

A density calculator solves density, mass, or volume from the other two, in grams, cubic centimeters, and g/cm³ (or any consistent unit set).

How to use it

  1. Enter any two of density, mass, volume.
  2. Use one consistent unit set (g and cm³ by default).
  3. Read the third quantity.
  4. Clear a box to solve for a different quantity.

How it works

Density is mass divided by volume. Any consistent unit set works — grams and cm³ give g/cm³, kilograms and m³ give kg/m³.

ρ = m ÷ V

Understanding your result

Density links mass and volume, so the practical uses are identifying a material or converting between weight and volume for a known substance. Any consistent unit set works, but density shifts with temperature (and, for gases, pressure), so a value measured warm will differ from one measured cold, which matters for precise lab or engineering work.

Example

200 g in 250 cm³ is a density of 0.8 g/cm³.

Last updated .

Frequently asked questions

What is the density formula?

Density is mass divided by volume: ρ = m ÷ V. Rearranged, mass = ρ × V and volume = m ÷ ρ.

What units should I use?

Any consistent set works — grams and cm³ give g/cm³, kilograms and m³ give kg/m³. Keep mass and volume in matching systems.

Is my data stored?

No. Everything is calculated locally in your browser.