Density is a measure of how much mass is contained within a certain volume. It is a characteristic of solids, liquids, and gases. Solids are often very dense, while liquids are less dense than solids and gases have very low densities. The formula for calculating density is density equals mass divided by volume, where mass is measured in kilograms and volume in cubic meters results in a density measured in kg/m3.