Skip to content
CalcShown

Popular

    Insulation & HVAC

    Spray Foam Insulation Cost Calculator

    Enter the surfaces to foam and either a thickness or a target R-value. You get the board feet, the R-value and a 2026 installed price range, with open-cell and closed-cell compared side by side.

    Verified · 7 tests · 2 sources · Updated

    What verified means on this page

    • Tested. 7 automated tests check this calculator against official examples, published tables or hand-worked answers every time the site changes (last run December 3, 2026).
    • Sourced. The formulas and data come from the 2 sources listed below, checked against a second source.
    • Shown. "Show the Math" lists every step with your own numbers, so you can check the answer yourself.
    • Open to correction. Spot an error? Tell us. We fix it, add a test so it can't come back, and log it.
    How we verify every calculator →
    Surfaces to foam
    Surface 1

    Walls: length × height. Roof deck: use the sloped length. Subtract big windows.

    Foam

    0 = typical (5½ in open-cell, 3 in closed-cell). Or enter your own.

    Overrides thickness when above 0.

    0 = national range for the foam type.

    Spray Foam Cost Formula

    board feet = area (ft²) × thickness (in)
    thickness  = target R ÷ R per inch         (if you set an R-value)
    cost       = board feet × installed $ per board foot
    

    Example: 1,000 sq ft of attic roof deck, open-cell, 5½ in. 1,000 × 5.5 = 5,500 board feet = R-20.4. At $0.60–$1.30 per board foot, that is $3,300–$7,150.

    R-Value by Thickness

    Thickness Open-cell (R-3.7/in) Closed-cell (R-6.5/in)
    2 in R-7.4 R-13.0
    3 in R-11.1 R-19.5
    3½ in (2×4 wall) R-13.0 R-22.8
    5½ in (2×6 wall) R-20.4 R-35.8
    7 in R-25.9 R-45.5

    Typical Uses and Thicknesses

    Location Common choice
    2×4 walls 3½ in open-cell (R-13) or 2 in closed-cell plus batt
    2×6 walls 5½ in open-cell (R-20)
    Unvented attic roof deck 5½–7 in open-cell, or 3 in closed-cell plus a vapor retarder coating, per local code
    Rim joists 2–3 in closed-cell
    Crawlspace and basement walls 2 in closed-cell

    Getting Better Quotes

    • Ask for board feet in writing, not just a total, so you can compare installers on the same basis.
    • Small jobs carry a trip minimum. Most crews have one, so bundling the rim joists with the attic saves money.
    • Check the R-value on the quote. It should match the foam’s data sheet at the installed thickness.

    Frequently Asked Questions

    How is spray foam priced?

    By the board foot, which is 1 sq ft of foam 1 inch thick. Installed prices run about $0.60–$1.30 per board foot for open-cell and $1.30–$2.90 for closed-cell in 2026, depending on the region and job size.

    How much does it cost to spray foam a 1,000 sq ft attic?

    Open-cell foam 5½ inches thick on 1,000 sq ft of roof deck is 5,500 board feet, about $3,300–$7,150. Closed-cell 3 inches thick is 3,000 board feet, about $3,900–$8,700.

    What R-value does spray foam have per inch?

    Open-cell foam is about R-3.5 to R-3.8 per inch, and closed-cell foam about R-6 to R-7. This calculator uses R-3.7 and R-6.5.

    Open-cell or closed-cell spray foam?

    Closed-cell gives more R per inch, blocks vapor and adds wall strength. It suits basements, crawlspaces, rim joists and thin walls. Open-cell costs less per R-value, deadens sound and fills deep roof rafters cheaply in mild and moderate climates.

    Sources

    1. U.S. Department of Energy, Home insulation fact sheet (foam-in-place R-values)
    2. HomeGuide, Spray foam insulation cost