An introduction to density. Density is the mass of an object divided by its volume. Density often has units of grams per cubic centimeter (g/cm3). Remember, grams is a mass and cubic centimeters is a volume (the same volume as 1 milliliter).