Spray Foam Insulation Cost Calculator

Estimate the cost of spray foam insulation for an attic, walls or crawl space. Get the total, the cost per square foot, the board feet to order and the R-value you will end up with, for open-cell or closed-cell foam, professional or DIY. Tap the i beside any field for an explanation.

  • Free, no sign-up
  • Open-cell and closed-cell
  • Pro or DIY kits
  • Cost to reach a target R-value

By · Last updated November 16, 2026

On this page
  1. What the calculator works out
  2. How to calculate the cost
  3. How much does it cost?
  4. Cost per square foot
  5. Open-cell vs closed-cell
  6. Attic cost
  7. Cost to insulate a house
  8. DIY kits vs a professional
  9. Why quotes differ
  10. Is it worth it?
  11. FAQs
  12. Sources

Spray foam insulation cost calculator

Example prices are loaded so you can see a result straight away. They are not quotes, so replace them with the rates from your own estimates.

1. What are you insulating?

2. Measure the surface

i
The long side of the surface. For an attic roofline, use the length of the house footprint under the roof.
i
The short side of the surface, or the width of the house footprint under the roof.
i
A sloped roof has more surface than the floor beneath it. The calculator multiplies your footprint by the slope factor for this pitch. Gable ends are not included. The roof pitch calculator can find your pitch.

3. Foam, thickness and installer

i
How thick the foam will be. Picking a project or foam type loads a typical thickness, and you can type your own. Your installer or local code decides the real figure.
i
The R-value you want to reach. Used for the comparison chart. Check your local code or the U.S. Department of Energy guidance for your climate zone.
i
R-value per inch of open-cell foam. About 3.5 to 3.8 is typical. Use the figure on the product data sheet if you have it.
i
R-value per inch of closed-cell foam. About 6 to 7 is typical. Use the figure on the product data sheet if you have it.

4. Prices and extras

i
Only the symbol changes. Prices are not converted, so enter them in your own currency.
i
Foam is rarely applied perfectly even, and some is lost to overspray. About 10 percent is a common planning allowance. Ask your installer how they bill.
i
The price of one board foot (1 sq ft, 1 in thick) of open-cell foam. For a professional this is the installed price. Changing the installer resets it to an example. Use your own quote.
i
The price of one board foot of closed-cell foam. For a professional this is the installed price. Changing the installer resets it to an example. Use your own quote.
i
One amount for prep, removing old insulation, an ignition or thermal barrier coating, or equipment. Enter 0 if none apply.
i
Many contractors have a minimum charge for small jobs. If your total comes out lower, the calculator raises it to this amount. Enter 0 if there is none.
i
Your own estimate of how much less you will spend each year on heating and cooling. It only drives the payback figure, so it is only as good as this number.
Estimated spray foam insulation cost
Surface to spray
Board feet
R-value reached
Cost per sq ft
Cost per R-value
Extras and minimum
Payback

Where the money goes

3D view: one square foot of foam

Cost by foam thickness

Cost to reach your target R-value

    Estimates for planning only. Prices, R-values and kit sizes are examples you can edit, not quotes. Confirm thickness, product, code requirements and price with a licensed installer. See our Disclaimer.

    Quick answer: spray foam insulation cost = area × thickness in inches × 1.10 × price per board foot. A 1,000 sq ft wall at 3.5 inches of open-cell foam is 3,500 board feet, about $2,118 at an example $0.55 per board foot, or roughly $2.12 per square foot. Closed-cell costs more per board foot but gives more R-value per inch.

    What the spray foam insulation cost calculator works out

    A price range on its own is hard to use when you are holding a quote for $4,800 and wondering if it is sensible. This spray foam insulation cost calculator works the other way round: you describe your own surface, pick the foam, and it builds the price from board feet, the unit contractors actually use.

    It returns the board feet to order, the total, the cost per square foot, the R-value you get, and the cost per point of R-value. A 3D view draws one square foot of your foam to scale, one layer per board foot, and can switch to a side-by-side of both foams at the same R-value. There are also two charts. One shows how the total moves as the foam gets thicker. The other compares open-cell and closed-cell foam at the same target R-value, which is the comparison that matters when you are choosing between them. Because spray foam pricing varies by region, season and contractor, the example prices are only placeholders. The calculator is most useful once you replace them with the figures from your own quotes.

    How to calculate the cost of spray foam insulation

    The method is simple arithmetic, and it is the same one an installer uses to price a job:

    1. Find the area. For a floor-plan rectangle, multiply length by width. For walls, multiply the perimeter by the wall height and subtract doors and windows. For an attic roofline, multiply the footprint by a slope factor, because the roof is larger than the floor beneath it. The square footage calculator helps with odd shapes.
    2. Pick a thickness. Walls framed with 2 × 4 lumber hold about 3.5 inches of open-cell foam. Roof rafters are deeper, so open-cell foam commonly goes about 5.5 inches thick or more. Closed-cell foam is applied thinner because each inch carries more R-value.
    3. Convert to board feet. A board foot is one square foot of foam, one inch thick. Multiply the area in square feet by the thickness in inches. A 1,000 sq ft wall at 3.5 inches is 3,500 board feet.
    4. Add an allowance. Foam goes on unevenly and some is lost to overspray, so adding about 10 percent is a sensible planning cushion.
    5. Multiply by the price per board foot. Use the installed price from a professional quote, or the kit price divided by the kit’s board-foot coverage.
    6. Add extras and check the minimum. Prep, removing old insulation and barrier coatings add to the total, and many contractors have a minimum job charge.

    Formula: Cost = (Area × Thickness in inches × (1 + allowance)) × Price per board foot + Extras. If the result is below the contractor’s minimum charge, the minimum applies instead.

    If you only want a quick check of a price per square foot, multiply the thickness by your price per board foot and by 1.10. At 2 inches and $1.25, that is 2 × 1.25 × 1.10 = $2.75 per square foot.

    How much does spray foam insulation cost?

    Published guides disagree on spray foam prices, and the gap between them is wide. Bob Vila puts installed open-cell foam at about $0.44 to $0.65 per board foot and closed-cell at about $1.00 to $1.50. Small jobs, tight access, cold weather, high labour markets and thick applications push prices up. Large, open, easy jobs push them down.

    That is why an average price is a poor planning number on its own. A 1-inch coat of closed-cell foam on a small rim joist and a 5.5-inch coat of open-cell foam on a whole roof deck are both “spray foam”, yet they are very different jobs. The U.S. Department of Energy’s guide to home insulation also lists spray foam prices per square foot. Treat any figure, including the examples on this page, as a starting point to compare against real local quotes.

    Spray foam insulation cost per square foot

    Price per square foot depends on two things: the price per board foot and the thickness. Double the thickness and you double the cost per square foot. The table uses the calculator’s example rates of $0.55 per board foot for open-cell and $1.25 for closed-cell, with the 10 percent allowance included, and shows the R-value each thickness gives.

    Foam and thicknessR-valueCost per sq ft
    Open-cell, 1 inR-3.6$0.61
    Open-cell, 2 inR-7.2$1.21
    Open-cell, 3.5 inR-12.6$2.12
    Open-cell, 5.5 inR-19.8$3.33
    Open-cell, 7 inR-25.2$4.24
    Closed-cell, 1 inR-6.5$1.38
    Closed-cell, 2 inR-13.0$2.75
    Closed-cell, 3 inR-19.5$4.13
    Closed-cell, 4 inR-26.0$5.50

    Notice that 3.5 inches of open-cell and 2 inches of closed-cell both reach about R-13, yet cost $2.12 and $2.75 per square foot. The calculator above does this comparison for your own thickness and prices.

    Open-cell vs closed-cell: what the difference costs

    Open-cell foam is lighter and softer, and it costs less per board foot. Closed-cell foam is denser and more rigid, it adds more R-value per inch, and it also works as a stronger air and moisture barrier. If you are weighing closed-cell foam, the real question is whether its higher price per board foot is offset by the extra R-value per inch.

    The fair way to answer is to compare both foams at the same R-value, not the same thickness. Take 1,000 sq ft and a target of R-38, with the example rates and the 10 percent allowance:

    • Open-cell: 38 ÷ 3.6 = 10.6 inches, which costs about $6,386.
    • Closed-cell: 38 ÷ 6.5 = 5.8 inches, which costs about $8,038.

    On these rates closed-cell costs about 26 percent more to reach the same R-value. That premium buys a thinner layer, a better barrier against air and moisture, and rigidity, which matters in crawl spaces and below grade. Whether it is worth paying for depends on the part of the house, not on price alone. The right-hand chart in the results shows this comparison for your own area, target and prices.

    Spray foam attic insulation cost

    Spray foam attic insulation is usually applied to the underside of the roof deck, which creates an unvented, conditioned attic. That makes the area larger than the attic floor. A 6/12 roof has about 12 percent more surface than its footprint, and a 12/12 roof has about 41 percent more. The calculator applies that slope factor when you choose the attic roofline option and a pitch. If you do not know your pitch, the roof pitch calculator will find it, and the roof calculator measures the roof itself.

    As a worked example, take a 40 × 30 ft house with a 6/12 roof. The footprint is 1,200 sq ft and the roof deck is 1,200 × 1.118 = 1,341.6 sq ft. At 5.5 inches of open-cell foam that is 7,379 board feet, or 8,117 with the allowance. At $0.55 per board foot the total is about $4,464, which is $3.33 per square foot for R-19.8. Gable ends are not included, so add them if they will be sprayed. Local building codes often ask for a fire-protective coating over foam in an attic, so ask your installer or building department whether one is needed and whether it is in the quote, and enter it as an extra.

    Cost to insulate a house with spray foam

    A house has several surfaces and each takes a different thickness, so there is no single number. Walls, the roofline, the rim joist and the crawl space are priced separately. Run each one through the calculator and add the totals.

    For the walls of the same 40 × 30 ft house, with 8 ft walls, two doors and eight windows, the net wall area is 2 × (40 + 30) × 8 minus 162 sq ft of openings, which is 958 sq ft. Two inches of closed-cell foam is 1,916 board feet, or 2,108 with the allowance. At $1.25 that is about $2,635, or $2.75 per square foot, for R-13. The same walls with 3.5 inches of open-cell foam cost about $2,029, or $2.12 per square foot, for about the same R-value.

    Adding the open-cell roofline from the attic example to the closed-cell walls, the two surfaces come to roughly $7,100 at these example rates. Real jobs vary, so use the totals to see how the big costs divide up. Insulating is also only one stage of a renovation. Once the foam is in, the sheetrock calculator counts the drywall sheets and the drywall installation cost calculator budgets the finish. If you are weighing other insulation types, the blown-in insulation calculator covers attic floors.

    DIY spray foam kits or a professional

    Spray foam kits come with the foam, a spray gun and hoses, and each one is rated for a number of board feet. They suit small jobs such as a rim joist, a few gaps or a small crawl space. The effective price per board foot of a kit is often higher than a professional’s installed price on a big job, but you avoid the minimum charge and the labour.

    The calculator handles kits properly because they are sold whole. Take 400 sq ft of closed-cell foam at 2 inches. That is 800 board feet, or 880 with the allowance. With 600-board-foot kits you need two kits, which is 1,200 board feet, and at an example $1.40 per board foot that is $1,680. A professional charging $1.25 for the 880 board feet would be about $1,100, before any minimum charge. The leftover kit foam is wasted cost, so size the job to the kit where you can.

    A kit also asks more of you. Foam needs the right temperature, careful mixing ratios and layers sprayed within the manufacturer’s limits, and the chemicals need proper ventilation and protective equipment. Follow the instructions and the safety data sheet for the product, and consider a professional for thick applications or whole roof decks.

    Why a real quote differs from an estimate

    Your quote may land above or below the calculator for reasons the calculator cannot see. These are the usual ones:

    • Minimum job charge. A small job can cost more than its board feet suggest. The minimum charge field covers this.
    • Prep and access. Masking, clearing a crawl space or reaching a tight roofline adds labour.
    • Removing old insulation. Taking out wet or damaged material is a separate cost.
    • Barrier coatings. Ignition or thermal barriers over the foam are often required by code in attics and crawl spaces.
    • How they measure. Some contractors bill by the sq ft at a set depth, others by the board foot installed. Ask which, and compare per board foot.

    When you compare estimates, divide each total by the same area to get a price per square foot, and make sure each quote states the thickness, the foam type and what is included.

    Is spray foam worth the cost?

    Spray foam insulates and air seals in one step, which is its main advantage over batts or blown-in material. It costs more up front, so the useful question is how long the saving takes to repay it. Type your own estimate of yearly energy savings into the calculator and it shows the payback in years. In the attic example, savings of $900 a year would repay $4,464 in about five years. That figure is an illustration, not a prediction. Your actual savings depend on your climate, your energy prices, how leaky the house is now and how you heat and cool it.

    For recommended R-values by climate zone and a comparison of insulation types, see the U.S. Department of Energy’s guide to home insulation.

    Spray foam insulation cost FAQs

    How many board feet are in a square foot of insulation?

    One square foot sprayed 1 inch thick is 1 board foot. At 3.5 inches thick, each square foot is 3.5 board feet, so 1,000 square feet is 3,500 board feet.

    Does spray foam cost more in an attic or in walls?

    Per board foot the price is usually similar. An attic roofline often costs more in total because the foam is applied thicker over a larger, sloped surface, while walls use thinner foam over a smaller area.

    How thick should spray foam insulation be?

    It depends on your climate, the part of the house and local code. Work backwards from the R-value you need by dividing it by the R-value per inch of the foam. The U.S. Department of Energy’s guide to home insulation lists recommended R-values by climate zone.

    Is spray foam cheaper than blown-in insulation?

    Often not. Blown-in insulation is typically cheaper per square foot, while spray foam also fills small gaps and closed-cell foam adds more R-value per inch. Compare your own quotes with the blown-in insulation calculator.

    Sources and further reading

    The area, board-foot and cost formulas are plain arithmetic. The slope factors come from the standard roof-pitch formula: the square root of (1 + (rise ÷ 12)²). R-values per inch and prices vary by product and region, so confirm them against the product data sheet and local quotes.

    Planning other parts of the build? Browse the drywall calculators and roofing calculators hubs, or see all Calctoolz calculators.

    About the author

    Shivam · Software engineer and founder of Calctoolz

    I build the calculators on Calctoolz and write the guides that go with them. I am a software engineer, not an insulation installer, so I do not give installation advice. For this page I wrote the cost logic from the standard board-foot method, checked the worked examples against the calculator by hand, and point to U.S. Department of Energy pages for R-values and insulation types. The example prices are placeholders you should replace with real quotes.

    If a number looks wrong, please tell me. About Calctoolz · LinkedIn

    Last reviewed November 16, 2026. This page is for planning and is not professional advice.

    Rate this calculator