Spray foam calculator for shops, pole barns and metal buildings.

Put in your building's size to see the square feet of walls, gables and roof to spray, and the board feet of foam at your thickness: the way we measure a building for an estimate.

Our Google reviews

Spray foam calculator

The gable end.

Along the ridge.

Floor to eave.

Rise in 12.

Doors and windows: a 12 x 12 overhead door is 144.

We'll recommend one.

Walls
1,680 sq ft
Gable ends
150 sq ft
Roof
1,265 sq ft
Less doors and windows
165 sq ft
Area to spray
2,930 sq ft

5,860 board feet at 2 inches

How it measures.

Spray foam is measured by the surface that gets foam: the walls, the gable ends (the triangles of wall up to the peak) and the underside of the roof, or a flat ceiling. Big openings, such as an overhead door, come off.

The roof counts along its slope, so it's more than the floor. On a 4/12 roof, which rises 4 inches for every 12 across, each side of a 30 ft wide shop runs about 15.8 ft from the wall to the peak, not 15.

A board foot is 1 square foot of foam, 1 inch thick, so board feet are square feet times inches: 100 sq ft at 2 inches is 200 board feet. Foam is often priced by it.

How spray foam is measured and priced

Sources: Virginia Department of Forestry, board foot (opens in a new tab), U.S. Department of Energy, Building America program (opens in a new tab)

30 x 40, 40 x 60 and 50 x 80 shops.

Three common shop sizes, worked out with foam on the whole shell. Each has a 4/12 roof and a walk door, with one 12 x 12 overhead door on the 30 x 40, one 14 x 14 on the 40 x 60 and two on the 50 x 80. They're round-number examples, not real jobs.

Walls only, or just the roof? Take those columns from the first table, times the inches, or put your own size in the calculator.

What does that come to? HomeAdvisor's national guide puts closed-cell foam at $1.30 to $3.10 a board foot, installed. That's a national figure, not our price: we price by the area we spray, plus a few things that change the work, and our estimates are free.

Sources: HomeAdvisor spray foam costs, October 2026 (opens in a new tab)

How to measure your building
Area to spray, in square feet
ShopWallsGablesRoofLess doorsArea
30 x 40, 12 ft walls 1,680 150 1,265 165 2,930
40 x 60, 14 ft walls 2,800 267 2,530 217 5,380
50 x 80, 16 ft walls 4,160 417 4,216 413 8,380
Board feet for the whole shell
Shop1 inch2 inches3 inches
30 x 40 2,9305,8608,790
40 x 60 5,38010,76016,140
50 x 80 8,38016,76025,140

Shops we've sprayed, by size.

  • Post-frame shop with spray foam on the walls up to the eaves, a bare OSB roof deck, one overhead door open and an ATV covered in plastic. View larger photo

    40 x 60 shop, walls only

    2 inches of foam on the walls of a shop with 16 ft walls.

  • Steel-frame shop with spray foam on the roof panels between the purlins and on the walls, a boom lift, shelving and tarp-covered equipment. View larger photo

    100 x 60 steel shop

    14 ft side walls, sprayed with 2 inches of foam all around.

See all our project photos

What moves the price.

We price by the area we spray, plus a few things that change the work.

Tell us about your building, and we'll get back to you with a free estimate.

Get Free Estimate
The area we spray
The walls, the roof and the gable ends: every surface that gets foam.
The thickness
How much foam the job needs, which we recommend with your estimate.
Prep
Old insulation to take out, and masking.
Travel
The drive to your site, included in your estimate.

Questions about measuring.

How do you price a job?

We price by the area we spray: the walls, the roof and the gable ends. A 40 x 30 shop with 12 ft walls has about 2,930 sq ft to cover. Thickness, prep and travel move the price too. Tell us about your project, and we'll get back to you with a free estimate.

Read more: How spray foam is priced

What do you need to know for an estimate?

What the building is and how you use it, the location, and rough sizes: length, width and wall height, or the area you want sprayed. Photos help if you have them.

Read more: What to measure for an estimate

How thick should spray foam be?

It depends on the building, the foam and what you need from it: stopping condensation on steel takes a different thickness than filling a house wall. We'll recommend a thickness with your estimate.

Read more: How thick should spray foam be?

See the full FAQ