Quick answer
Spray foam is priced by the board foot: square feet of walls and roof times inches of foam. A 40×60×14 metal building has about 5,275 sq ft of spray surface — roughly 12,958 board feet at 2" on the walls and 3" on the roof. Your price is built on those board feet plus access and travel. Send us your L × W × H for an exact quote.
Step 1: Measure the spray area
Every spray foam quote starts with surface area. For a simple gable metal building:
- Walls = 2 × (length + width) × eave height
- Gable triangles = width × rise (rise = half the width × roof pitch ÷ 12)
- Roof = length × width × a small slope factor (about 1.00 on a 1:12 roof, 1.03 on a 3:12)
Subtract large openings like roll-up doors. Add a little if you want purlins and girts wrapped — and on metal, you usually do.
Step 2: Convert to board feet
A board foot is 1 ft × 1 ft × 1 inch of foam. Multiply each area by the thickness you’re putting there. Here’s the math for two common sizes on a 1:12 roof, with 2 inches of closed-cell on the walls and 3 inches on the roof:
| Building (L×W×H) | Walls + gables | Roof | Total sq ft | Board feet (2″ walls / 3″ roof) |
|---|---|---|---|---|
| 30 × 40 × 12 | 1,718 | 1,204 | 2,922 | 7,048 |
| 40 × 60 × 14 | 2,867 | 2,408 | 5,275 | 12,958 |
No openings are subtracted in these examples. A 3:12 roof adds a little more gable and roof area.
Step 3: Price the board feet
The rate per board foot depends on foam type, job size, wall height, access and travel. Large, open, easy-access buildings cost less per board foot; small jobs, tall walls and tight access cost more. Open-cell foam is cheaper per board foot, but it isn’t what we normally recommend against steel. Most contractors also have a job minimum.
What moves the price
| Factor | Why it matters |
|---|---|
| Total spray area | Walls + gables + roof. A 40×60 has nearly twice the surface of a 30×40. |
| Thickness | Board feet = square feet × inches. Going from 2" to 3" on the roof adds 50% more foam there. |
| Foam type | Closed-cell costs more per board foot than open-cell. On metal, it’s the foam we normally recommend. |
| Eave height & access | Tall walls need lifts and more time. Crowded or occupied buildings take longer to mask and spray. |
| Openings | Big roll-up doors reduce spray area; lots of small openings add masking time. |
| Framing coverage | Covering purlins, girts and screw tips adds surface, but it’s what keeps cold spots from sweating. |
| Travel | Longer drives cost more — bigger jobs make longer drives worth it. |
| Job size | Larger buildings usually price lower per board foot. Small jobs carry a minimum. |
How to compare two quotes
Line them up on the same four things before you look at the total:
- Foam type — closed-cell or open-cell, and the product name.
- Thickness — inches on the walls and inches on the roof, separately.
- Areas covered — walls, gables, roof, partition walls, framing.
- What’s not included — thermal barrier, removal of old insulation, travel.
A cheap quote is often thinner foam, open-cell foam, or fewer areas. For reference, 2 inches of closed-cell foam is roughly R-12 to R-14 and 3 inches roughly R-18 to R-21, depending on the product. More on that in how thick spray foam should be on a metal building.
Keep reading
- Spray foam cost for a 40×60 metal building
- Barndominium spray foam cost in Texas
- Metal building spray foam insulation
- Spray foam glossary (board foot, closed-cell, perm…)
R-values shown are typical ranges for the foam type and thickness stated and vary by product. The higher the R-value, the greater the insulating power. Ask your seller for the fact sheet on R-values. Savings vary. Find out why in the seller’s fact sheet on R-values.

