← All Calculators

Spray Foam Insulation Calculator

Calculate exactly how much spray foam insulation you need in board feet, the required thickness, and estimated spray foam insulation cost. Compare open cell vs closed cell spray foam side by side.

Calculate Spray Foam Insulation Needs

Choose open cell or closed cell spray foam, then enter your dimensions.

Open Cell (R-3.6/inch)
Closed Cell (R-6.0/inch)

Recent Calculations

Clear

Quick Examples — Click to Calculate

🏠
Attic Roofline (Open)
1,000 sq ft, Open Cell, R-30
🕳️
Crawl Space (Closed)
600 sq ft, Closed Cell, R-19
🧱
Exterior Wall
96 sq ft, Closed Cell, R-13
❄️
Large Attic (Cold)
1,500 sq ft, Open Cell, R-49
📏
Rim Joists
80 sq ft, Closed Cell, R-13
🏗️
2×6 Wall Cavity
300 sq ft, Open Cell, R-21

What Is Spray Foam Insulation?

Spray foam insulation is a high-performance insulation material that is sprayed as a liquid and expands into a solid foam, filling every gap, crack, and cavity. Unlike blown in or batt insulation, spray foam creates both an insulation layer and an air barrier in one application, making it one of the most effective insulation options available.

There are two types of spray foam insulation:

Open cell spray foam has an R-value of R-3.5 to R-3.7 per inch. It is softer, lighter, and more affordable. Open cell foam is excellent for interior walls, attics (at the roofline), and soundproofing. It allows some moisture to pass through, which can be an advantage in certain climate zones.

Closed cell spray foam insulation has an R-value of R-5.5 to R-6.5 per inch — the highest of any common insulation material. Closed cell spray foam is rigid, acts as a vapor barrier, and even adds structural strength to walls. It is the best choice for crawl spaces, basements, exterior walls, and any area where moisture resistance is critical. The closed cell spray foam R-value makes it possible to achieve high insulation levels in thin wall cavities.

Our spray foam insulation calculator helps you determine the exact board feet needed, required thickness, and estimated spray foam insulation cost for your project.

How to Calculate Spray Foam Insulation

Our spray foam calculator uses a simple process to estimate your needs. Here is how to calculate spray foam insulation step by step:

Step 1: Calculate Your Square Footage

Measure the length and width of the area you want to insulate. Multiply them to get total square footage.

Square Footage = Length (ft) × Width (ft)

Step 2: Determine Required Thickness

Spray foam is measured in board feet. One board foot equals 1 square foot of coverage at 1 inch thick. Divide your target R-value by the R-value per inch of your chosen foam type:

Thickness (inches) = Target R-Value ÷ R-Value per Inch

For example, to achieve R-19 with closed cell spray foam (R-6.0/inch): 19 ÷ 6.0 = 3.2 inches. With open cell (R-3.6/inch): 19 ÷ 3.6 = 5.3 inches.

Step 3: Calculate Board Feet

Multiply your square footage by the required thickness to get total board feet:

Board Feet = Square Footage × Thickness (inches)

For a 1,000 sq ft area at R-19 with closed cell: 1,000 × 3.2 = 3,200 board feet.

Step 4: Estimate Spray Foam Insulation Cost

The spray foam insulation cost per square foot varies by foam type. Multiply your square footage by the cost per square foot to get your spray foam insulation cost estimate:

Foam TypeR-Value/InchMaterial Cost/Sq FtInstalled Cost/Sq Ft
Open CellR-3.5 to R-3.7$1.00 – $2.00$1.50 – $3.00
Closed CellR-5.5 to R-6.5$1.50 – $3.50$2.50 – $5.00

The spray foam cost per square foot includes the foam material at the required thickness. How much does spray foam insulation cost for a typical project? For a 1,000 sq ft attic with open cell at R-30, expect $1,000-$2,000 for materials or $1,500-$3,000 installed. For closed cell spray foam cost on the same area at R-19, expect $1,500-$3,500 materials or $2,500-$5,000 installed.

When Do You Need Spray Foam Insulation?

Spray foam insulation is the best choice in these scenarios:

🏠
Attic Roofline
Open cell spray foam at the roofline creates a conditioned attic space, ideal for HVAC equipment in the attic. The cost to spray foam attic areas is typically $1,500-$5,000 depending on size and foam type.
🧱
Exterior Walls
Spray foam wall insulation fills wall cavities completely, eliminating air gaps that reduce the performance of batt insulation. Best for new construction or major renovations.
🕳️
Crawl Spaces & Basements
Closed cell spray foam insulation is ideal here because it acts as both insulation and moisture barrier. Prevents mold and moisture problems in below-grade spaces.
📏
Rim Joists
Rim joists are a major source of air leakage. A quick application of closed cell spray foam seals and insulates in one step. Even DIY spray foam insulation kits work well for this small area.
🏗️
New Construction
Spray foam during construction provides the tightest building envelope. Many builders choose open cell for walls and closed cell for below-grade applications.
🔇
Soundproofing
Open cell spray foam is excellent at reducing sound transmission between rooms, making it popular for home theaters, bedrooms, and home offices.

How Much Does Spray Foam Insulation Cost?

Understanding spray foam insulation cost helps you budget for your project. Here is a complete breakdown of spray foam insulation cost per square foot:

ProjectOpen Cell (Material)Open Cell (Installed)Closed Cell (Material)Closed Cell (Installed)
500 sq ft Wall$500 – $1,000$750 – $1,500$750 – $1,750$1,250 – $2,500
1,000 sq ft Attic$1,000 – $2,000$1,500 – $3,000$1,500 – $3,500$2,500 – $5,000
300 sq ft Crawl Space$300 – $600$450 – $900$450 – $1,050$750 – $1,500
80 sq ft Rim Joists$80 – $160$120 – $240$120 – $280$200 – $400

The average cost of spray foam insulation falls between $1.50 and $4.00 per square foot installed, depending on foam type and project complexity. Spray foam insulation cost per sq ft is higher than blown in or batt insulation, but the superior air sealing and R-value per inch often make it the most cost-effective long-term choice. How much does spray foam cost compared to other options? While the upfront cost of spray foam insulation is 2-3× higher than blown in, the energy savings typically pay back the difference within 3-5 years.

For an accurate estimate of how much is spray foam insulation for your specific project, use our spray foam insulation cost calculator above. It factors in your exact dimensions, foam type, and desired R-value to give you a personalized spray foam insulation cost estimator result.

Open Cell vs Closed Cell Spray Foam

Choosing between open cell and closed cell spray foam insulation is one of the most important decisions for your project. Here is a detailed comparison:

FeatureOpen CellClosed Cell
R-Value per InchR-3.5 to R-3.7R-5.5 to R-6.5
Density0.5 lb/cu ft (light)2.0 lb/cu ft (dense)
Moisture BarrierNo (vapor permeable)Yes (vapor barrier)
Structural StrengthNoYes (adds racking strength)
Air SealingExcellentExcellent
Sound ReductionExcellentGood
Material Cost/Sq Ft$1.00 – $2.00$1.50 – $3.50
Installed Cost/Sq Ft$1.50 – $3.00$2.50 – $5.00
Best ForInterior walls, attic rooflines, soundproofingCrawl spaces, basements, exterior walls, moisture-prone areas
DIY FriendlySmall areas onlySmall areas only

Closed cell foam insulation cost is higher, but it delivers nearly double the R-value per inch, acts as a moisture barrier, and adds structural strength. For most homeowners, the choice comes down to location: use open cell for interior applications where moisture is not a concern, and closed cell spray foam for any area exposed to moisture or where maximum R-value in minimal thickness is needed.

💡 Pro Tip: Some contractors use a hybrid approach — 2 inches of closed cell spray foam for vapor barrier and structural strength, then fill the remaining cavity with open cell foam for additional R-value at lower cost. This gives you the best of both worlds.

DIY Spray Foam Insulation

DIY spray foam insulation kits are available for small projects, but there are important limitations to understand before you start.

Good for DIY

DIY spray foam kits work well for rim joists (the most common DIY spray foam project), small crawl space sections, gap and crack sealing around windows and doors, and small wall sections under 200 sq ft. Do it yourself spray foam kit options range from $300-$600 and cover 200-600 board feet.

Not Recommended for DIY

Large attic projects, full wall installations, and any project over 600 sq ft should be done by professionals. Spray foam requires precise temperature control (the chemicals must be at 70-80°F), correct mixing ratios, and proper application technique. Poor application can result in off-gassing, poor adhesion, and insulation that needs to be removed and redone — costing more than professional installation would have.

💡 Cost Comparison: A DIY spray foam insulation kit for rim joists costs about $300-$400 for an average home. Professional installation of the same area costs $400-$800. The savings are modest for small areas, but for rim joists specifically, DIY is practical because the application is simple and the area is small.

Frequently Asked Questions

How much does spray foam insulation cost?
Spray foam insulation cost ranges from $1.00-$2.00/sq ft for open cell and $1.50-$3.50/sq ft for closed cell spray foam (materials only). With professional installation, expect $1.50-$3.00/sq ft for open cell and $2.50-$5.00/sq ft for closed cell. The average cost of spray foam insulation for a 1,000 sq ft attic is $1,500-$5,000 depending on foam type.
How much does spray foam insulation cost per square foot?
The spray foam insulation cost per square foot depends on the type: open cell material costs $1.00-$2.00/sq ft and closed cell material costs $1.50-$3.50/sq ft. The spray foam cost per square foot increases with thicker applications for higher R-values. Cost of spray foam insulation per sq ft with professional installation adds $0.50-$1.50/sq ft for labor.
What is the R-value of closed cell spray foam?
The closed cell spray foam R-value is R-5.5 to R-6.5 per inch — the highest of any common insulation. Just 3 inches provides R-18. This high R-value makes closed cell spray foam insulation ideal for thin wall cavities and areas where you need maximum insulation in minimal space.
How do you calculate spray foam insulation?
Our spray foam insulation calculator uses board feet as the measurement unit. Multiply your area's square footage by the required thickness (in inches) to get total board feet. For example, 500 sq ft × 3 inches = 1,500 board feet. The calculator then estimates cost based on your chosen foam type.
Can I DIY spray foam insulation?
DIY spray foam insulation kits work for small projects like rim joists and gap sealing. For large areas, professional installation is recommended. A do it yourself spray foam kit costs $300-$600 and covers 200-600 board feet. DIY spray foam requires careful attention to temperature and technique for proper results.
How much does it cost to spray foam an attic?
The cost to spray foam attic depends on size and foam type. For a 1,000 sq ft attic: open cell at R-30 costs $1,500-$3,000 installed, closed cell at R-19 costs $2,500-$5,000 installed. Attic foam insulation cost is higher than blown in insulation, but provides superior air sealing.
Open cell vs closed cell: which is better?
It depends on the application. Open cell is better for interior walls, attic rooflines, and soundproofing — it is more affordable and has excellent air sealing. Closed cell spray foam is better for crawl spaces, basements, and exterior walls — it has higher R-value, acts as a vapor barrier, and adds structural strength. The closed cell foam insulation cost is higher but worth it for moisture-prone areas.
How much spray foam insulation do I need?
Use our spray foam insulation calculator for exact quantities. As a general guide: for R-19 you need 5.3 inches of open cell or 3.2 inches of closed cell. For R-30 you need 8.3 inches of open cell or 5 inches of closed cell. Multiply the thickness by your square footage to get board feet needed. Our spray foam insulation cost estimator gives you both quantity and cost in one click.

Related Insulation Calculators

Need a different insulation calculation? Try our other free tools: