Calculator

Density Calculator

Divide mass by volume to get density.

Your inputs

Density

2 g/mL

One gram per milliliter is the same as one gram per cubic centimeter, and 1,000 kilograms per cubic meter.

g/mL
2 g/mL
kg/m³
2,000
g/cm³
2

Formula

Mass is converted to grams and volume to milliliters, then divided:

g/mL = grams / milliliters

A milliliter and a cubic centimeter are the same volume. Multiply g/mL by 1,000 to get kg/m³. Specific gravity would repeat this result against water, so it is not a separate page.

Assumptions

  • The sample fills the volume you type, with no air pockets subtracted.
  • Temperature is whatever the mass and volume already describe. This page does not look up a material table.
  • One milliliter equals one cubic centimeter.

Worked example

500 grams in 250 milliliters is 2 g/mL.

Input definitions

Mass
Grams or kilograms of the sample.
Volume
Milliliters, liters, cubic centimeters, or cubic meters.

Limitations

Density changes with temperature and pressure. This page does not identify the material or say whether it will float.

Questions

Is g/mL the same as g/cm³?

Yes. A milliliter is defined as one cubic centimeter.

How do I get kilograms per cubic meter?

The second result multiplies g/mL by 1,000. Water near 1 g/mL is about 1,000 kg/m³.

Related

Related calculators

Physics

See every calculator in Physics.

Browse Physics