The density of chocolate varies depending on the ratio of milk, cocoa and other ingredients. The density of sweet Mars baking chocolate is 0.95 milligram per cubic millimeter, and unsweetened baking chocolate has a density of 0.56 milligram per cubic millimeter. Chocolate milk is less dense than solid chocolate.
The density of an object is calculated by dividing the mass of that object by its volume. The density of a compound varies depending on the ambient temperature and pressure. Gases are less dense than liquids, and a compound in liquid form is less dense than the same compound in its solid form.