Spray foam costs much more per square foot than blown-in insulation, so it needs to earn its price. This calculator shows the cost for your area, what the same job would cost with cellulose and how long the extra savings take to pay for the difference.
Enter the area, pick the foam type, add prep work if old insulation has to come out and enter your yearly heating and cooling bill and expected savings. You get a cost range and a payback time.
How to use the spray foam insulation cost calculator
- Enter the area to be sprayed in square feet. For an attic roof deck, measure the roof surface, which is a bit larger than the floor.
- Choose the foam type: open-cell at about 3 inches, closed-cell at about 2 inches or closed-cell at about 3 inches.
- Add prep work. Removing old insulation or working around hard access adds a fixed cost.
- Enter your yearly heating and cooling bill and the savings you expect. The default is 20 percent, which is higher than for cellulose because foam also seals air leaks.
- Read the cost, the extra cost over cellulose and the payback time.
What spray foam insulation costs in 2026
Spray foam is priced by the square foot or by the board foot, which is one square foot at one inch thick. Guides for 2026 put the installed cost at about $1.80 to $4.50 per square foot on average, so 1,000 square feet costs $1,800 to $4,500. Another source gives $2.00 to $5.50 per square foot depending on open-cell or closed-cell foam.
The two foam types differ. Open-cell foam is soft, lower in R-value per inch and cheaper. Closed-cell foam is denser, higher in R-value, adds some strength and works as a moisture barrier, and it costs more. A price guide for attics gives $4.15 to $6.50 per square foot for foam on the attic floor and $3.80 to $6.75 per square foot when the roof deck and walls are insulated.
The calculator uses $2.20 for open-cell, $4.25 for closed-cell at 2 inches and $5.50 for closed-cell at 3 inches. Those figures sit inside the published ranges. Your region matters, as coastal and big-city markets often charge more.
Foam versus blown-in cellulose
The most useful comparison is between foam and the cheaper option for the same attic. Blown-in cellulose or fiberglass on the attic floor costs about $1.25 to $2.75 per square foot in 2026 guides. The calculator includes a cellulose figure of $2.10 per square foot with air sealing, so you can see the premium that foam adds.
Foam does two things that loose-fill does not. It seals air leaks as it expands, and it can insulate the roof deck, which brings ducts and equipment in the attic inside the conditioned space. Those features are worth money in homes with heating ducts running through a hot or cold attic. In a simple attic with no ducts, a well-air-sealed layer of cellulose often delivers most of the benefit for half the price.
So ask yourself what the extra money buys. If the answer is a sealed attic for the ducts, a home where the attic is used as storage, or a roof shape that makes floor insulation impossible, foam makes sense. If the answer is just a higher R-value on paper, check the payback figure first.
How much can spray foam save?
Estimates vary a great deal. Insulation guides cite 15 to 20 percent savings on heating and cooling from air sealing and insulation, and some foam vendors claim 25 to 35 percent when it replaces thin fiberglass. Treat vendor claims with care. The result depends on your climate, how leaky the home was and how much insulation you had before.
That is why the savings percentage is an input. If you replace a poorly sealed attic with a sealed foam roof deck in a home with ducts in the attic, 20 to 25 percent is plausible. If you already have a decent layer of insulation, savings will be smaller.
A good test is to run the calculator with a low and a high percentage. If the payback is fine at the low number, foam is a safe choice. If it only works at the high number, you are betting on a claim.
Hidden costs and risks
- Removal of old insulation. Taking out wet or contaminated insulation costs $1.20 to $2.60 per square foot in one guide, and the prep option in the calculator covers this.
- Ventilation changes. Sealing the roof deck changes how the attic handles moisture. Ask the contractor how the roof and any combustion appliances will be handled.
- Roof warranty. Some shingle makers have rules about unvented attics. Check before you spray the underside of the roof deck.
- Curing and fumes. Foam needs time to cure. Follow the installer instructions on staying out of the house during and after the work.
- Hard to undo. Foam is difficult to remove, and one guide puts removal at $1 to $3 per square foot.
- Quality of the crew. Bad spray jobs, such as off-ratio foam, can smell for a long time. Choose a licensed installer with references.
Open-cell or closed-cell: how to choose
Open-cell foam is usually the better value for attic roof decks in most climates, because it is cheaper and still seals air. Closed-cell foam makes sense where you need a vapor barrier, where there is little space for thick foam, or in a crawl space or basement where moisture is a worry.
Thickness drives the price. One inch of open-cell can cost as little as $0.44 per square foot and three inches of closed-cell can reach about $8.70 per square foot in published tables. Ask for the R-value in writing, and ask what thickness you are being quoted.
Getting good quotes
- Get three written quotes that list the foam type, thickness, R-value, area and what is included.
- Ask whether the price covers air sealing, removal and cleanup.
- Ask for references from jobs that are at least two years old.
- Check for state licensing and insurance.
- Ask about rebates. Some utilities and states pay part of the cost of insulation upgrades.
Is spray foam right for your house?
Foam makes the most sense in a few situations: an attic with heating or cooling ducts, a cathedral ceiling with no room for deep loose-fill, a crawl space with moisture or draft problems, or a rim joist that leaks air. In those places, the sealing effect is worth more than the extra R-value.
It makes less sense for a plain, open attic floor in a mild climate. There, cellulose with careful air sealing gets close to the same performance for far less. Whatever you pick, deal with air leaks and ventilation, because a high R-value does not help if warm air escapes around it.
Worked example: the Ruiz family and a hot attic
An illustrative example with made-up names. The numbers are exactly what the calculator shows with the inputs listed.
The Ruiz family has a 1,000 square foot attic with heating ducts running through it, a heating and cooling bill of $2,200 and thin old insulation. They enter closed-cell foam at about 2 inches, no prep and 20 percent expected savings.
The calculator shows $4,250, with a likely range of $3,188 to $5,950. Blown-in cellulose for the same area would cost $2,100, so foam adds $2,150. Their expected savings are $440 per year and the payback is 9 years 8 months.
They try open-cell foam at $2.20 with a 15 percent savings estimate. The cost is $2,200, only $100 more than cellulose, the savings are $330 per year and the payback is 6 years 8 months.
A neighbor with a 1,500 square foot house wants 3 inches of closed-cell with heavy prep and a $3,000 bill and expects 25 percent. The cost is $10,750, range $8,063 to $15,050, against $5,650 for cellulose. Savings are $750 per year and the payback is 14 years 4 months. The Ruiz family chooses open-cell foam and writes the thickness into the contract.
How much does spray foam insulation cost?
Is spray foam worth it compared with blown-in insulation?
What is the difference between open-cell and closed-cell foam?
How long does spray foam last?
Can I spray foam myself?
How much does it cost to remove spray foam?
Sources
- How Much Does Spray Foam Insulation Cost? (HomeGnome)
- Attic Insulation Cost and Guide 2026 (PickHVAC)
- Spray Foam Insulation Cost (This Old House)
Related calculators
- Attic insulation cost calculator: compare with blown-in insulation
- Ice dam removal cost calculator: what ice dams cost
- All HomeCostEdge calculators: browse every calculator
