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³.