On the whole, spray foam insulation costs two to three times as much as fiberglass insulation. Fiberglass insulation costs around $0.40 per square foot. Spray foam can be significantly more expensive, but can lead to bigger savings on heating and cooling costs. It costs around $3 per square foot, with a thickness of 3 inches.