Density is the weight of foam in kilograms per cubic meter. Furthermore, mattresses with a high density have more foam and last longer than those with lower density. On the other hand, thickness means the height of a mattress; most mattresses have a thickness of ring between 6-14 inches.