The density of oil is typically around 0.9 grams per cubic centimeter (g/cm³), while the density of vinegar is around 1.02 g/cm³. This means that oil is less dense than vinegar, and will therefore float on top of vinegar.