When figuring out how much foam you need you will have to use board feet and not just square feet. For example, an 8'x20′ wall is 160 square feet, but to achieve an R-Value of 14 (2 inches of foam) would require 320 board feet. Remember a board foot is 1 square foot at 1 inch thick, and closed cell foam is R7 per inch.