Density calculator

Weigh the object and measure its volume: you get its density in kg/m³ and g/cm³, and its specific gravity compared with water.

Density calculator

Result

1,250 kg/m³Density

In grams per cm³
1.25 g/cm³
Specific gravity (compared with water, no unit)
1.25

Density calculator

Inputs

Mass
500
Mass unit
grams (g)
Volume
400
Volume unit
milliliters (mL)

How it is calculated

Density ρ = mass ÷ volume, after converting to kilograms and cubic meters.

Result

Density

1,250 kg/m³
In grams per cm³
1.25 g/cm³
Specific gravity (compared with water, no unit)
1.25

How it is calculated

  1. Density ρ = mass ÷ volume, after converting to kilograms and cubic meters.
  2. 1 g/cm³ = 1,000 kg/m³; 1 lb = 0.45359237 kg; 1 mL = 1 cm³.
  3. Specific gravity = ρ ÷ density of water at 4 °C (999.97 kg/m³). It has no unit.

Example

500 g in 400 mL: ρ = 0.5 kg ÷ 0.0004 m³ = 1,250 kg/m³, so 1.25 g/cm³ and a specific gravity of about 1.25.

Good to know

  • Density changes with temperature (and with pressure for gases).
  • Do not mix up density (with a unit) and specific gravity (no unit).

Sources

  • BIPM, The International System of Units (SI), 9th edition (2019)

When to use it

  • Find the density of a liquid from its weight and volume.
  • Check whether an object will float on water.
  • To go the other way and find a mass from a volume, use Mass from volume (weight of a liquid or material).

Frequently asked questions

How do I know if something will float?

If its density is below that of water (about 1 g/cm³), it floats. Seawater is a little denser, about 1.025 g/cm³, so things float slightly better.

How do I measure the volume of an odd shape?

Put it in a measuring jug of water: the rise in the water level is its volume. This is Archimedes’ method.

Can density help spot a fake metal?

It can give a clue, since gold is much denser than most metals. A jeweller or a lab can confirm it with proper tests.

Updated October 10, 2026

Indicative result. For an important decision, check with a professional.