Skip to calculator

Spray Foam Insulation Cost Calculator

Spray foam costs $0.60 to $1.30 per board foot installed for open-cell and $1.30 to $2.90 for closed-cell. A 1,000 sq ft attic roof deck with 5.5 in of open-cell comes to about $3,300 to $7,150. Enter your area below for your own estimate.

By Kris Lynch

Estimate your spray foam job

No registration required

How to Calculate Spray Foam Insulation Cost

Spray foam is priced by the board foot: one square foot of foam one inch thick. Multiply the area by the depth in inches to get board feet, then multiply by the installed price per board foot. For a 1,000 sq ft attic roof deck with 5.5 in of open-cell foam, that is 1,000 × 5.5 = 5,500 board feet, and 5,500 × $0.60 to $1.30 = $3,300 to $7,150.

The calculator uses HomeGuide’s installed prices: $0.60 to $1.30 a board foot for open-cell and $1.30 to $2.90 for closed-cell. Angi’s ranges, $0.60 to $1.60 and $1.30 to $3.10, sit just above them. Some guides quote lower figures, around $0.44 to $0.65 for open-cell, but those are material prices before labor.

Open-Cell or Closed-Cell

Open-cell foam is soft and light, about half a pound per cubic foot, and insulates at about R-3.6 per inch. It seals air leaks but lets water vapor pass, so it suits roof decks, interior walls and attics above the living space. Closed-cell foam is about four times as dense, insulates at about R-6 per inch once aged, and slows vapor, so it is the usual choice against foundation walls, in crawl spaces, on rim joists and anywhere depth is limited.

Closed-cell costs about twice as much per board foot but needs fewer inches for the same R-value. Per unit of R, open-cell still comes out cheaper when there is room for it: about $0.17 to $0.36 per R per sq ft, against $0.22 to $0.48 for closed-cell.

Cost per Square Foot by Thickness

DepthOpen-cell ROpen-cell per sq ftClosed-cell RClosed-cell per sq ft
1 inR-4$0.60–$1.30R-6$1.30–$2.90
2 inR-7$1.20–$2.60R-12$2.60–$5.80
3 inR-11$1.80–$3.90R-18$3.90–$8.70
3.5 inR-13$2.10–$4.55R-21$4.55–$10.15
4 inR-14$2.40–$5.20R-24$5.20–$11.60
5.5 inR-20$3.30–$7.15R-33$7.15–$15.95
6 inR-22$3.60–$7.80R-36$7.80–$17.40

Installed prices. R-values use R-3.6 per inch for open-cell and R-6.0 for closed-cell, rounded to the nearest whole number.

Cost by Location

Each location starts from a typical depth: the rafter or stud depth for open-cell, and a thinner layer for closed-cell. The last column is HomeGuide’s range of reported job totals, useful for checking that your result is in the right area.

LocationOpen-cell, per sq ftClosed-cell, per sq ftReported jobs
Attic roof deck (rafters)5.5 in, R-20: $3.30–$7.153 in, R-18: $3.90–$8.70$1,500 to $9,000
Attic floor5.5 in, R-20: $3.30–$7.153 in, R-18: $3.90–$8.70$1,100 to $6,800
New or open walls (2×4)3.5 in, R-13: $2.10–$4.552 in, R-12: $2.60–$5.80–
New or open walls (2×6)5.5 in, R-20: $3.30–$7.153 in, R-18: $3.90–$8.70–
Crawl space walls3.5 in, R-13: $2.10–$4.552 in, R-12: $2.60–$5.80$1,200 to $6,700
Basement walls3.5 in, R-13: $2.10–$4.552 in, R-12: $2.60–$5.80$1,500 to $5,600
Rim joists3.5 in, R-13: $2.10–$4.553 in, R-18: $3.90–$8.70$1,200 to $2,000
Garage walls3.5 in, R-13: $2.10–$4.552 in, R-12: $2.60–$5.80$2,600 to $8,900
Existing closed wallsInjected foam: $3.15–$7.50 per sq ft of wall (Fixr)$3,200 to $8,800

A small job such as rim joists can cost more than the board-foot math. Sealing 150 ft of 2×10 rim joists with 3 in of closed-cell comes to $451 to $1,006 here, while HomeGuide’s reported rim joist jobs run $1,200 to $2,000. That gap points to minimum charges, so ask installers about theirs.

Existing Walls and Old Insulation

Finished walls cannot be sprayed open. The installer drills holes between the studs, injects a slow-expanding foam that will not push the drywall off, and plugs the holes. Fixr puts this at $3.15 to $7.50 per sq ft of wall, and the calculator switches to that rate when you choose existing walls. Where the old insulation is in the way, as with batts between rafters or an attic floor being sealed, removal adds $0.80 to $3.10 per sq ft depending on the material.

Spray Foam Cost Questions

At 1 inch deep, open-cell costs $0.60 to $1.30 per sq ft installed and closed-cell $1.30 to $2.90, because 1 sq ft at 1 inch is one board foot. Depth multiplies it: 3.5 in of open-cell in a 2×4 wall runs $2.10–$4.55 per sq ft, and 2 in of closed-cell $2.60–$5.80. HomeGuide puts most jobs at $1.00 to $4.50 per sq ft.

Multiply the area in square feet by the depth in inches to get board feet, then multiply by the installed price per board foot. A 1,000 sq ft roof deck with 5.5 in of open-cell is 5,500 board feet; at $0.60 to $1.30 that is $3,300 to $7,150. Add old insulation removal if the crew has to clear it first.

$1.30 to $2.90 per board foot installed, about twice open-cell. The same 1,000 sq ft roof deck at 3 in of closed-cell (about R-18) costs $3,900 to $8,700. Per unit of R-value, open-cell is usually cheaper: it costs $0.17 to $0.36 per R per sq ft against $0.22 to $0.48 for closed-cell, so closed-cell pays its way where space is tight or the foam must block moisture.

It depends on the R-value you need. A 2×4 wall holds 3.5 in: about R-13 in open-cell or R-21 in closed-cell. For an uninsulated attic the Department of Energy recommends R-60 in climate zones 4 to 8, which takes 17 in of open-cell or 10 in of closed-cell; R-38 takes 11 in or 6.5 in. Choose “Reach an R-value” in the calculator to price a target.

Fixr puts foam in existing walls at $3.15 to $7.50 per sq ft of wall, so 1,000 sq ft costs $3,150 to $7,500. HomeGuide’s reported jobs run $3,200 to $8,800. The installer drills holes between the studs, fills each cavity with a slow-expanding foam and plugs the holes, and you patch and paint afterwards.

Usually, wherever the foam has to stick to the framing or the deck. Batts stapled between rafters, or loose fill on an attic floor being sealed, come out first. This Old House, using HomeGuide data, puts removal at $0.80 to $2.60 per sq ft for fiberglass batts, $1.10 to $3.10 for rock wool and $1.00 to $2.80 for blown-in. On a 1,000 sq ft attic floor, removing batts lifts $3,300 to $7,150 to $4,100 to $9,750.

It costs more per R-value than fiberglass batts, which Bob Vila puts at $0.30 to $1.50 per sq ft, so it earns its price where air sealing matters as much as R-value. Rim joists, roof decks over an attic that holds ducts or a furnace, and crawl space walls are the usual cases. For an open attic floor with room to spare, blown-in insulation, which Fixr puts at $0.50 to $2.30 per sq ft, usually reaches the same R for less.

Method and Sources

Foam: area × depth = board feet, × HomeGuide’s installed price per board foot. Rim joists: length × joist depth gives the area. Existing walls: $3.15 to $7.50 per sq ft of wall (Fixr). Removal: HomeGuide’s per-sq-ft ranges by material, as reported by This Old House. R-value: R-3.6 per inch open-cell, R-6.0 closed-cell (aged), in line with Green Building Advisor and Fine Homebuilding. A target R-value is converted to a depth and rounded up to the next half inch. Not included: drywall or an ignition barrier over the foam where code requires one, patching and painting, and repairs.

Written and checked by Kris Lynch. Not reviewed by a licensed professional. See our methodology. Spotted a problem? Tell us. Updates: Nov 2026, launched.

Related Calculators