Density is measured by dividing the foam’s weight by its length, width, and height. This is how density expresses a foam’s weight per cubic foot.