Density is a measure of how much mass is contained in a given volume. It is calculated by dividing the mass of an object by its volume. The units of density are typically expressed in grams per cubic centimeter (g/cm3) or kilograms per cubic meter (kg/m3). Objects with higher density have more mass packed into a smaller volume, while objects with lower density have less mass spread out over a larger volume.