Enter the mass and volume into the calculator to determine the density of a substance. This calculator can also evaluate any of the variables given the others are known.

Grams To Density Formula

The following formula is used to calculate the density of a substance.

D = M / V

Variables:

  • D is the density of the substance (g/cm³)
  • M is the mass of the substance (grams)
  • V is the volume of the substance (cubic centimeters)

To calculate the density of a substance, divide the mass of the substance by its volume. The mass should be in grams and the volume should be in cubic centimeters. The result will be the density of the substance in grams per cubic centimeter (g/cm³).

What is Grams To Density?

Grams to Density is a conversion process used in physics and chemistry to determine the density of a substance. Density is a measure of mass per unit volume, typically expressed in grams per cubic centimeter (g/cm³). To convert grams to density, you need to know the volume of the substance in addition to its mass. The formula for density is mass divided by volume (Density = Mass/Volume). Therefore, if you have the mass in grams and the volume in cubic centimeters, you can calculate the density.

How to Calculate Grams To Density?

The following steps outline how to calculate the Grams To Density using the formula D = M / V.


  1. First, determine the mass of the substance (M) in grams.
  2. Next, determine the volume of the substance (V) in cubic centimeters.
  3. Next, gather the formula from above = D = M / V.
  4. Finally, calculate the density of the substance (D).
  5. After inserting the variables and calculating the result, check your answer with the calculator above.

Example Problem : 

Use the following variables as an example problem to test your knowledge.

mass of the substance (M) = 50 grams

volume of the substance (V) = 25 cubic centimeters