While the density of the foam represents the overall mass of the foam in its solid state, the firmness represents the amount of weight it takes to compress the foam completely.