Short answer

Spray foam insulation cost is figured by the board foot, which is square feet of surface times inches of thickness. FoamGuard's public guidance for closed-cell in Western PA is roughly $1.50–$2.25 per board foot installed, so 2 inches on 1,000 square feet of wall runs about $3,000–$4,500. Access, prep, coatings, job minimums and travel decide where a job lands in that range, or above it.

Key points

  • You pay for board feet: square feet times inches. One board foot is 1 ft × 1 ft × 1 in.
  • FoamGuard's closed-cell guidance is about $1.50–$2.25 per board foot installed. It varies by job, and small jobs often hit a minimum charge.
  • Open-cell costs less per board foot but needs about twice the thickness for the same R-value, and in climate zone 5 it usually needs a separate vapor retarder.
  • Past 3 inches of closed-cell, each extra inch buys 1–2 points of heat-loss reduction. Pay for the thickness the assembly needs.
  • On an open, vented attic floor, blown cellulose or fiberglass usually costs a fraction of foam for the same R-value.

How spray foam insulation cost is calculated

Spray foam is sold by the board foot, the same unit manufacturers use to rate how far their chemical goes. One board foot is a piece 1 foot by 1 foot by 1 inch thick (12 × 12 × 1 inches), or 144 cubic inches.

To get board feet, multiply the surface area in square feet by the thickness in inches. Doors, windows and overhead doors aren't sprayed, so a careful estimate subtracts them first.

How board feet are calculated Left: one board foot is a piece of foam 1 foot by 1 foot by 1 inch, or 144 cubic inches. Right: a wall 40 feet long and 10 feet tall is 400 square feet; sprayed 2 inches thick it is 800 board feet. At $1.50 to $2.25 per board foot that is $1,200 to $1,800, and 2 inches at an assumed R-7 per inch, typical of aged HFO closed-cell, is R-14. 1 board foot 1 ft 1 ft 1 in 12 in × 12 in × 1 in = 144 cubic inches A 40 × 10 ft wall, 2 in thick closed-cell foam 40 ft 10 ft 2 in Area × thickness = board feet Thickness drawn larger than scale 1. Area 40 × 10 = 400 sq ft 2. Board feet 400 × 2 in = 800 bf 3. At $1.50–$2.25 per bf $1,200–$1,800 2 in × R-7 per inch = R-14
One board foot is 1 ft × 1 ft × 1 in. A 40 × 10 ft wall sprayed 2 inches thick is 800 board feet.

Take one wall 40 feet long and 10 feet tall. That's 400 square feet. At 2 inches it's 800 board feet. At $1.50–$2.25 per board foot, that wall costs $1,200–$1,800 to foam.

The R-value follows the same math: thickness times the product's aged R-value per inch. Current HFO closed-cell foams come in around R-7 per inch at the thicknesses usually sprayed; the evaluation reports for products from two major manufacturers both list R-14 at 2 inches. Check the data sheet for the exact product (more in spray foam R-value per inch). A quote that names the product and the thickness is a quote you can check with a calculator.

What moves the price

Factor Why it changes the price
Thickness Every added inch is more board feet. Code, condensation risk and the R-value target set it.
Foam type Closed-cell (about 2 lb/ft³) uses about four times the chemical by weight per board foot as open-cell (about 0.5 lb/ft³).
Access Steep roof decks, high walls, crawlspaces and tight attics take more time, staging or a lift.
Prep and masking Finished rooms, stored equipment, windows and floors get covered before anyone sprays.
Old insulation Removal is extra. One national cost guide puts it at $1.00–$2.50 per square foot.
Trimming Open-cell is often sprayed past the studs and trimmed flush before drywall.
Thermal or ignition barrier Foam in living space must be covered; attics and crawlspaces have their own rules.
Job minimum Setup, masking and cleanup don't shrink much on a small job. Nationally, minimums of $1,000–$2,000 or more are common.
Travel A long drive adds labor and fuel, and it weighs more on a small job.

The barrier deserves its own line on any quote. Under the International Residential Code (Section R316.4), foam plastic has to be separated from living space by an approved thermal barrier, typically 1/2-inch gypsum board, or by a coating the foam was tested with. Attics and crawlspaces entered only for service need an ignition barrier instead (R316.5.3 and R316.5.4). If nobody prices the drywall or coating, you'll pay for it later.

Three worked examples (hypothetical)

These use FoamGuard's public $1.50–$2.25 range and an assumed R-7 per inch, a typical aged value for HFO closed-cell. They are illustrations, not quotes.

Job Area Thickness Board feet R-value At $1.50–$2.25 per bf
30 × 40 garage, 10 ft walls, walls only 1,279 sq ft 2 in 2,558 R-14 $3,837–$5,756
Basement rim joist, 28 × 40 house about 136 sq ft 3 in 408 R-21 $612–$918, before any minimum
Unvented attic roof deck 1,200 sq ft 7 in 8,400 R-49 $12,600–$18,900

The garage. The walls run 140 feet around at 10 feet tall, or 1,400 square feet. Subtract a 10 × 10 overhead door and a 3 × 7 entry door (121 square feet) and 1,279 square feet is left to spray.

The rim joist. A 28 × 40 house has 136 feet of rim. Call it a foot tall and you have about 136 square feet. This is where the per-board-foot math isn't the whole story. Setup, masking and cleanup don't shrink much for 400 board feet, so small jobs usually carry a minimum. Ask what it is up front.

The roof deck. R-49 is Pennsylvania's prescriptive ceiling value in climate zone 5. At R-7 per inch that takes 7 inches; a product rated a little higher per inch needs a little less. That's the most expensive line on the table, and it's why the attic deserves a hard look before anyone foams it (see below).

Open-cell vs closed-cell pricing

Open-cell is lighter, about 0.5 lb per cubic foot against about 2.0 for closed-cell, so each board foot uses less chemical and costs less. A DOE Building America guide priced open-cell at roughly a third of closed-cell per board foot, yet found closed-cell cost only about 60% more for the same R-value once the extra thickness of open-cell was counted.

That guide is from 2009 and prices have risen since. Current national cost guides show the same pattern. One lists material at $0.44–$0.65 per board foot for open-cell and $1–$1.50 for closed-cell. Another puts installed cost at $1.50–$3.50 per square foot for open-cell and $3.00–$5.00 for closed-cell. Those are national figures, not Western PA quotes.

Price per inch isn't the whole decision. Open-cell runs about R-3.5 to R-3.8 per inch, so it needs roughly twice the depth, and in climate zone 5 it generally needs a separate vapor retarder on exterior walls and roofs. On metal buildings and pole barns we spray closed-cell. The full comparison is in closed-cell vs open-cell spray foam in Climate Zone 5.

When a cheaper insulation is the smarter buy

Spray foam's price buys three things at once: R-value, an air seal and, with closed-cell, vapor control. Where you don't need all three, pay for less.

Cost to reach R-49 on 1,000 square feet Range bars. Closed-cell spray foam at 7 inches (an assumed R-7 per inch) on 1,000 square feet of roof deck is 7,000 board feet, or $10,500 to $15,750 at FoamGuard's $1.50 to $2.25 per board foot. Blown cellulose or fiberglass to R-49 on 1,000 square feet of attic floor costs $1,100 to $1,900 nationally. Cost to reach R-49 on 1,000 sq ft $0$4,000$8,000$12,000$16,000 Closed-cell foam, roof deck 7 in, 7,000 bf $10,500–$15,750 Blown cellulose or fiberglass attic floor, national range $1,100–$1,900 Foam: FoamGuard's $1.50–$2.25 per board foot, at an assumed R-7 per inch. Blown-in insulation needs the ceiling air-sealed first. Foam also air-seals the deck. A pitched roof deck has more area than the attic floor under it.
Reaching R-49 over 1,000 square feet: closed-cell foam on a roof deck versus blown insulation on an attic floor.
  • Open, vented attic floors. A national guide puts blown-in insulation to R-49 at $1,100–$1,900 per 1,000 square feet. Closed-cell to R-49 on 1,000 square feet of roof deck is 7,000 board feet at R-7 per inch, or $10,500–$15,750 at FoamGuard's range. Seal the ceiling's air leaks first, then blow it in.
  • Interior walls where the goal is sound, not heat. Batts or open-cell do that job.
  • Walls that are already open with no moisture problem, where batts can meet Pennsylvania's zone 5 wall value (R-20, or R-13 plus R-5 continuous).

Foam is worth the money where air and moisture are the problem: rim joists, basement and crawlspace walls, metal buildings, unvented roof decks, and shallow cavities that need a high R-value. Even there, more isn't automatically better. The hot-box data shows 3 inches already cuts heat loss about 90%.

For a side-by-side of materials, see spray foam vs fiberglass vs cellulose.

Getting an accurate number

  1. Measure each surface separately: walls, gables, roof deck, rim.
  2. Subtract doors and windows.
  3. Choose a thickness for each surface based on code, condensation risk and budget.
  4. Multiply to get board feet, and ask for a price that shows the board feet and the product.
  5. Ask what's excluded: removal, barrier, drywall, trip charges.

To check a quote line by line, read how to read a spray foam quote. There's no federal tax credit for insulation installed in 2026; see tax credits and rebates in Pennsylvania.

Want a number for your own project? Price My Project or call (814) 208-3478.

FAQ

Why do two spray foam quotes for the same building differ so much?

Usually because they aren't for the same amount of foam. Divide each total by its board feet. If a quote doesn't list board feet or thickness, ask for them before you compare.

Is it cheaper to spray it myself with a kit?

For a small rim-joist section, sometimes. For an attic or a whole building, kits usually cost as much or more per board foot once waste is counted. See DIY spray foam kits vs professional.

Can I lower the price by spraying fewer inches?

Within limits. Code minimums and condensation control set the floor, especially on roof decks. Above that, the first 2 to 3 inches of closed-cell do most of the work, so extra inches are the easiest place to save.

Sources

  1. Spray Foam Insulation Cost (HomeGuide)
  2. Blown-In Insulation Cost (HomeGuide)
  3. How much does it cost to install spray foam insulation? (Fixr)
  4. Which Spray Foam Is Right for You? (DOE Building America, CARB / Steven Winter Associates)
  5. ICC-ES Evaluation Report ESR-3244: thermal and ignition barrier code references
  6. 2021 Pennsylvania Alternative Residential Energy Provisions worksheet (Penn State PHRC)
  7. FROTH-PAK product literature: theoretical yield in board feet at 1 inch (Dow / DuPont)
  8. ICC-ES Evaluation Report ESR-2642: WALLTITE closed-cell foams, R-values by thickness (BASF)
  9. ICC-ES Evaluation Report ESR-4073: HEATLOK HFO High Lift, R-values by thickness (Huntsman Building Solutions)