Quick answer: Multiply your project’s square footage by the foam depth in inches, then by the price per board foot, to get a working estimate. A typical 1,200 sq ft attic sprayed with open-cell foam at 5 inches thick runs roughly $5,400 to $9,000, while closed-cell foam in a smaller crawl space usually lands in the low thousands.
A spray foam insulation cost calculator is really just this formula run against your own numbers. It won’t account for roof pitch, access, or your local installer’s rates, but it gets you close enough to plan a budget before you call for a firm number.
How to Use a Spray Foam Insulation Cost Calculator
A spray foam insulation cost calculator needs three numbers from you: the square footage of the area, how many inches deep the foam needs to be, and the price per board foot for the foam type you’re using. Feed those three into the formula below and you get a dollar range, not a single number, because installers price jobs slightly differently based on access and local labor.
Measure the flat square footage of the attic floor, crawl space floor, or wall area you’re insulating first. Skip rafters, joists, and ductwork in the measurement; foam depth, not surface obstacles, drives the material cost.
The Spray Foam Insulation Cost Formula
The formula is square footage multiplied by foam depth in inches, multiplied by the price per board foot: Cost = Sq Ft x Depth (in) x $/Board Foot. A board foot is the industry unit for spray foam: it’s the amount of foam that covers one square foot at one inch of thickness. Multiplying square footage by depth gives you total board feet, and multiplying that by the price per board foot gives you the estimated cost.
Open-cell foam and closed-cell foam price differently because they perform differently. Open-cell foam typically runs $0.90 to $1.50 per board foot installed, while denser closed-cell foam, which resists moisture and adds structural rigidity, usually runs $1.25 to $2 per board foot. Our open-cell vs. closed-cell spray foam guide breaks down which one fits which part of your home.

Example Spray Foam Insulation Cost Calculations
Running the formula against a few common jobs, like an Attic Spray Foam Insulation project or a Crawl Space Spray Foam Insulation job, shows how much depth and foam type swing the total:
| Project | Sq Ft | Depth | Foam Type | Board Feet | Estimated Cost |
|---|---|---|---|---|---|
| Attic | 1,200 | 5 in | Open-cell | 6,000 | $5,400-$9,000 |
| Crawl space | 800 | 2 in | Closed-cell | 1,600 | $2,000-$3,200 |
| Whole attic (larger home) | 2,000 | 6 in | Open-cell | 12,000 | $10,800-$18,000 |
Notice how the crawl space example uses less depth but pricier closed-cell foam, since crawl spaces call for moisture resistance more than the extreme thickness a cold-climate attic might need. Homeowners in Milwaukee or Buffalo often spec deeper open-cell fill in the attic to fight ice dams, while a Houston or Tampa crawl space job leans on closed-cell foam to block ground moisture.
What Changes Your Spray Foam Insulation Cost
Foam type and depth drive most of the swing in any spray foam insulation cost calculator estimate, but a few other factors move the final number too.
- Climate and code minimums: Colder regions like Boston or Denver often need deeper foam to hit local energy codes, which raises board feet even at the same square footage.
- Access: A cramped crawl space or a steep attic with limited headroom takes longer to spray, and labor time adds to the quote beyond the material formula.
- Existing insulation: Removing old fiberglass or damaged foam before the new spray job adds a line item the basic formula doesn’t cover.
- Application type: Wall cavities usually price differently than open attics. Wall Injection Spray Foam Insulation is priced per wall cavity rather than by depth, since installers drill and fill an existing finished wall instead of spraying open framing.
If you’re not sure how much insulation your home needs before running any numbers, our guide to how much insulation you need is a good starting point.

Get an Exact Price From a Free Quote
A spray foam insulation cost calculator gets you a planning number, not a contract price. Only a walk-through from a certified installer accounts for your home’s actual access, existing insulation condition, and local labor rates.
American Foam Solutions offers a no-pressure free quote that turns the estimate from this calculator into a firm number backed by a 100% Satisfaction Guarantee. Licensed and insured crews typically complete the install in a single day, with no remodeling and no mess left behind.
FAQs
How much does spray foam insulation cost per square foot?
Spray foam insulation typically costs $1 to $3 per square foot installed, depending on foam type and depth. Open-cell foam sits at the lower end of that range, while closed-cell foam and deeper applications push costs toward the higher end.
What is a board foot in spray foam insulation?
A board foot is the amount of spray foam needed to cover one square foot of surface at one inch of thickness. Installers price jobs by the board foot because it accounts for both the area covered and how thick the foam is sprayed.
Is open-cell or closed-cell foam cheaper?
Open-cell foam usually costs less per board foot than closed-cell foam, generally $0.90 to $1.50 versus $1.25 to $2. Closed-cell foam costs more because it’s denser, resists moisture better, and adds some structural rigidity to the area it fills.
Can a cost calculator replace an in-person estimate?
No, a cost calculator gives a planning range based on square footage, depth, and foam price, but it can’t see your attic’s access, existing insulation, or framing quirks. An in-person or virtual quote from a certified installer is the only way to get a firm, project-specific number.
How long does a spray foam insulation job take?
Most residential attic or crawl space spray foam jobs finish in a single day, since the crew doesn’t need to tear open walls or do any remodeling. Larger commercial spaces or whole-house retrofits can take longer depending on square footage and access.