Spray Foam Insulation Calculator

Spray polyurethane foam (SPF) take-off is a board-foot math problem with a stack of code overlays. The math is simple — board-feet = area in sq ft × depth in inches — but four decisions wrapped around it move the answer: open-cell vs closed-cell (R-3.6 vs R-6.5 per inch), the IECC R-value target your climate zone demands, the R806.5 vapor-retarder rule (Class II in CZ 5-8 unvented attics — open-cell alone fails), and the kit yield each DIY product delivers (with a 70-85% real-world factor against the published theoretical max).

This calculator runs all four overlays per area. Pick your IECC climate zone, add every application area you're spraying (rim joist with cavity depth 9.5″, wall cavity 5.5″, cathedral 2×10 at 9.25″, etc.), pick foam type and depth, and the calculator returns: board-feet adjusted for waste per SPFA AY-102 (5-10% flat / 15-20% sloped / 10-15% rim joist), R-value achieved, vapor retarder class achieved per ASTM E96, IECC R402.1.3 compliance flag, R806.5 condensation-control flag for unvented roofs, R702.7 vapor retarder flag for cold-CZ frame walls, recommended DIY kits by manufacturer (Touch 'n Foam Pro 200/600, Tiger Foam TF200/600/1300, Versi-Foam System 15/50, Foam It Green 102/202/602/1202, Froth-Pak 200/630), and the ASHRAE 62.2-2022 whole-dwelling mechanical-ventilation rate (Q_tot = 0.03 × CFA + 7.5 × (bedrooms + 1)) triggered by the airtight envelope.

Built on 2021 IRC R316 / R702.7 / R806.5, 2021 IECC R402.1.3 / R402.4, ASTM C1029-20 / C518 / E84 / E96 / E2178, ASHRAE 62.2-2022, ICC-ES AC377 Appendix X (ignition-barrier-exempt listings), and EPA 40 CFR §84.54 — current-production closed-cell SPF uses HFO blowing agents (Honeywell Solstice LBA, Chemours Opteon 1100) at GWP ≈ 1, with HFC-245fa (GWP 858) banned in new manufacturing since January 1, 2025. Free, no signup.

View material estimation guides →

Spray Foam Calculator

Board-feet take-off, DIY kit count, R-value achieved, vapor retarder class, and IECC / IRC compliance flags for open-cell and closed-cell SPF.

Climate zone

CZ 5–8 unvented attics (R806.5 item 4) require closed-cell foam OR a Class II coating over open-cell. Frame walls in CZ 5–8 (R702.7) require Class I/II interior vapor retarder — closed-cell qualifies at ≥ 1.5″; open-cell needs vapor-retarder paint or a smart membrane.

Not sure? Find your IECC climate zone by ZIP

Application areas

sq ft
in

R-value preview: 19.5 = 3″ × R-6.5/in (Closed-cell (2-lb, HFO))

Not sure? Calculate your square footage

Open-cell or closed-cell? Compare R-value, vapor & where each is used

How do board feet (area × depth) and 2″ lifts work? See the diagram

Foaming a roof deck? See the unvented-attic flash & thermal-barrier detail

ASHRAE 62.2 ventilation (optional)

sq ft
count

ASHRAE 62.2-2022: Q_tot (cfm) = 0.03 × floor area + 7.5 × (bedrooms + 1). Required when blower-door is below the IECC ACH50 target (5 in CZ 1–2; 3 in CZ 3–8).

Understanding spray foam: type, quantity & placement

Three decisions shape a spray-foam job: open-cell or closed-cell, how much foam (board feet) and how to apply it, and where it goes — especially the unvented roof that turns an attic into conditioned space. These engineering-style diagrams cover each one; use the “see the diagram” links beside the inputs above to jump to the figure you need.

The open-versus-closed comparison is why the calculator asks which foam before it sizes a kit. Closed-cell packs nearly twice the R per inch and adds air, water, and vapor control plus rigidity, while open-cell is lighter and cheaper per R but interior-only. The type sets both the thickness you need and where it can go.

Closed-cell packs nearly 2× the R per inch of open-cell and adds air, water and vapor control plus rigidity (rim joists, roof decks, below grade). Open-cell is lighter, vapor-open, cheaper per R — but interior-only.Source: Per the calculator’s FOAM_TYPES data (ASTM C518 / C1029; ASTM E96 perm)See the Open-cell vs. closed-cell spray foam compared in a stud cavity diagram →

The board-feet diagram is why foam is ordered in board feet, not gallons. One square foot an inch thick is a board foot, so board feet are area times thickness, and closed-cell is sprayed in thin lifts because it cures hot. Budgeting below a kit’s rated yield is why the calculator sizes conservatively — real coverage runs short of the label.

Foam kits are sold in board feet: 1 sq ft × 1 inch = 1 board foot, so board feet = area × thickness. Spray closed-cell in ≤2″ lifts (it cures hot) and budget 70–85% of a kit’s rated yield.Source: Board-foot definition; SPFA AY-102; manufacturer kit yields (Froth-Pak, Tiger Foam, etc.)See the Spray foam board feet and 2-inch lifts explained diagram →

The unvented-roof diagram is why spraying the deck changes the rest of the assembly. Closed-cell against the deck makes a conditioned, unvented attic with no soffit or ridge vents, but the flash coat must hit the condensation-control minimum for the zone and living-space foam needs a gypsum thermal barrier. Those code must-dos are materials the estimate has to include.

Closed-cell sprayed against the deck makes an unvented, conditioned attic (no soffit/ridge vents). Two code must-dos: the flash coat must hit the R806.5 condensation-control minimum for your zone, and foam in living space needs a ½″ gypsum thermal barrier.Source: IRC R806.5 (unvented roofs); NFPA 275 / IRC R316 (thermal barrier)See the Unvented roof with spray foam diagram →

Plan disposal before you start

Smaller jobs still produce more debris than a few trash bags can hold. Check what's allowed in a dumpster and which disposal option fits the scope.

See disposal options →

Related Calculators

Explore Insulation & Climate: calculators, diagrams & guidesEvery calculator, cross-section diagram, and guide for this trade in one place.

How to Use This Calculator

  1. Pick your IECC climate zone (1–8 or 4 Marine). Drives R-value targets and R806.5 vapor-retarder rules.
  2. Pick mode: DIY kit recommendation (returns specific manufacturer SKUs sized to your job) or Professional install (board-feet only).
  3. Add each application area: rim joist 2×10, wall cavity 2×4 / 2×6, flash & batt wall, cathedral ceiling 2×10 / 2×12, unvented attic roof deck, basement wall, crawl-space wall, knee wall, garage ceiling under habitable, pole barn / metal building, or custom.
  4. For each area: enter square footage, depth in inches, and foam type (open-cell ½-lb or closed-cell 2-lb HFO). Defaults populate from the area preset.
  5. Optional: enter conditioned floor area + bedroom count to get the ASHRAE 62.2-2022 whole-dwelling mechanical-ventilation rate triggered by your envelope tightening.
  6. Click Calculate: instantly get total board-feet (open + closed separately), per-area R-value achieved, vapor retarder class, IECC compliance flag, and a list of code/compliance warnings (R806.5, R702.7, FEMA TB-2 below-grade, etc.).
  7. Review DIY kit recommendations — the calculator picks the smallest kit combination from the catalog (Touch 'n Foam, Tiger Foam, Versi-Foam, Foam It Green, Froth-Pak) and shows the real-world 85% yield factor.
  8. For projects > 1,000 bf the calculator recommends professional plural-component install — usually cheaper AND eligible for utility rebates (BPI / SPFA-PCP certified installers only).

Why "board-feet" matters more than square-feet

Every SPF manufacturer, applicator, code official, and rebate program uses board-feet (1 sq ft × 1 inch depth) as the universal unit — not square-feet. Two square-feet at the same depth and two square-feet at different depths are not the same job. A 500 sq ft rim joist sprayed at 2″ is 1,000 board-feet; the same 500 sq ft sprayed at 3″ is 1,500 board-feet, requiring 50% more material and yielding 50% more R-value (R-13 vs R-19.5 in closed-cell). Quoting square-feet alone is meaningless — the depth has to come with it. The calculator surfaces every line in board-feet so a quote comparison from two applicators is apples-to-apples.

Frequently Asked Questions

How many board-feet of spray foam do I need?

Board-feet = area in square feet × depth in inches. Standard examples: a 500 sq ft attic roof deck at 3″ closed-cell flash = 1,500 board-feet; a 150 LF rim joist on a 2×10 (9.5″ deep) at 3″ closed-cell = ⌈150 × 9.5/12 × 3⌉ = 356 board-feet; a 1,500 sq ft wall cavity at 5.5″ open-cell = 8,250 board-feet. Add a waste factor per SPFA AY-102: 5–10% for flat / wall cavities, 15–20% for sloped or overhead, 10–15% for rim joist / tight access. Cold sheathing (< 60°F) adds another 10–20% yield loss per Tiger Foam and Versi-Foam FAQs.

Open-cell vs closed-cell — which should I use?

Closed-cell (2-lb, R-6.5/in initial) is the right answer for rim joists, basement walls, crawl-space walls, metal buildings, and unvented attic roof decks in CZ 5–8. It's a Class II vapor retarder at ≥ 1.5″, a Class 5 flood-resistant insulation per FEMA TB-2, and an air barrier at ≥ 1.0–1.5″. Open-cell (½-lb, R-3.6/in stable) is the right answer for interior wall cavities where you want sound dampening, attic roof decks in CZ 1–3 with vapor-diffusion ports per R806.5 item 5.2, and any application where you'd prefer the lower per-board-foot cost and don't need a vapor barrier. Open-cell in CZ 5–8 frame walls fails R702.7 (Class III at 1″) unless paired with vapor-retarder paint or a smart membrane like CertainTeed MemBrain.

Does spray foam need a thermal barrier?

Yes. IRC R316.4 requires a 15-minute thermal barrier — typically ½″ gypsum board or NFPA 275-listed equivalent — between foam plastic and the interior of any habitable space. This is the most common SPF inspection failure: spray, drywall, inspect. Attics and crawl spaces accessed only for service utilities can substitute a prescriptive ignition barrier (R316.5.3 / R316.5.4: 1½″ mineral fiber, ¼″ wood structural panel, 3/8″ particleboard, ¼″ hardboard, 3/8″ gypsum, 0.016″ corrosion-resistant steel, 1½″ cellulose, or ¼″ fiber-cement panel) OR use an SPF product with an ICC-ES AC377 Appendix X listing (Huntsman Heatlok HFO Pro ESR-4073, BASF WALLTITE ESR-2642, Huntsman HFO MAX ESR-5496, Demilec APX ESR-3470, Carlisle SealTite PRO OCX). Most DIY two-component disposable kits do NOT carry the Appendix X listing — they need the prescriptive ignition barrier.

Can I install R-49 in a 2×10 rafter cavity?

Not with vented batts. A 2×10 has 9.25″ of actual depth, and a vented assembly per IRC R806.1–2 requires a 1″ air baffle between insulation and roof sheathing — leaving 8.25″ of usable cavity. Fiberglass batts at R-3.5/in × 8.25″ = R-29, which falls short of the R-49 / R-60 IECC ceiling targets in CZ 2-8. Closed-cell SPF at R-6.5/in achieves R-49 in 7.5″ and fits cleanly in a 2×10 cavity per IRC R806.5 item 5.1.1 (unvented, air-impermeable insulation in direct contact with sheathing). The hybrid path (R806.5 item 5.1.3) layers closed-cell flash + open-cell fill at the table-specified minimum cc-flash R-value for condensation control: R-20 in CZ 5, R-25 in CZ 6, R-30 in CZ 7, R-35 in CZ 8.

How many DIY spray foam kits do I need?

Divide adjusted board-feet by the kit's real-world yield (typically 85% of theoretical). Kit yields: Touch 'n Foam Pro 200 = 200 bf nominal / ~170 bf real-world; Pro 600 = 600 / ~510; Tiger Foam TF200 = 200 / ~170; TF600 = 600 / ~510; TF1300 = 1,300 / ~1,105; Versi-Foam System 15 = 200 / ~170; System 50 = 600 / ~510; Foam It Green 102/202/602/1202; DuPont Froth-Pak 200/630. Example: 356 bf rim-joist needed ÷ 510 bf/kit = 1 × Pro 600 covers the job. Yield drops to 70% of nominal in cold substrate conditions per Tiger Foam FAQ — verify substrate is 60–85°F and tanks are pre-heated to 75–85°F before spraying.

What is the HFO blowing agent change in 2025?

Per EPA 40 CFR §84.54(a)(14)(viii) (88 FR 73098, Oct 24, 2023, under the AIM Act Technology Transitions Rule), hydrofluorocarbon blowing agents with GWP > 150 are banned in new rigid polyurethane spray foam manufacturing as of January 1, 2025 — with a 3-year sell-through (§84.54(b)) permitting distribution of pre-2025 inventory through January 1, 2028. The legacy HFC-245fa (Honeywell Enovate 245fa, GWP ≈ 858 per IPCC AR5) has been replaced by HFO blowing agents: Honeywell Solstice LBA (GWP 1 per Honeywell TDS Feb 2022) and Chemours Opteon 1100 / Formacel 1100 (HFO-1336mzz, GWP < 2 per Chemours TDS 2018). Pre-2025 HFC-blown installations remain code-compliant; no remediation required. Water-blown open-cell SPF is unaffected by the rule.

Will I need mechanical ventilation after spray foam?

Almost certainly. The 2021 IECC R402.4.1.2 sets a blower-door target of 5 ACH50 in CZ 1–2 and 3 ACH50 in CZ 3–8. A typical spray-foam retrofit drops a previously leaky house from 8–12 ACH50 down to 1–3 ACH50, well below the threshold — which triggers ASHRAE 62.2-2022 whole-dwelling mechanical ventilation. The formula: Q_tot (cfm) = 0.03 × floor area (ft²) + 7.5 × (bedrooms + 1). A 2,000 sq ft three-bedroom house needs 60 + 30 = 90 cfm continuous. Options: continuous bath-fan operation (cheapest), heat recovery ventilator (HRV — recommended CZ 5–8 to recover sensible heat), or energy recovery ventilator (ERV — also recovers latent moisture, preferred CZ 1–4 humid).

How much does spray foam cost?

Calculator returns materials-only — but the 2025–2026 cost landscape: DIY kits run $1.50–$2.50/bf for closed-cell, ~$0.75/bf for open-cell (limited DIY availability). Professional plural-component install runs $0.45–$1.50/bf installed for open-cell and $1.00–$2.50/bf for closed-cell (Angi 2026, HomeAdvisor 2025, HomeGuide 2026, SprayFoamCalc 2025, Cascadia Spray Foam 2025), plus a $1,500–$3,000 minimum trip charge. Below 600–1,000 board-feet, DIY usually wins on total cost. Above that, professional install is cheaper AND qualifies for utility rebates / IRA HEEHRA / HOMES program incentives that DIY does not — most rebates require a BPI-certified or SPFA-PCP installer.

Does open-cell or closed-cell work for a vented cathedral ceiling?

Open-cell works in a vented cathedral assembly per IRC R806.1–2 if you maintain a 1″ baffle between insulation and sheathing and have ridge + soffit vents per the 1:150 (or 1:300 with vapor retarder) ratio. The geometry: a 2×10 cavity has 9.25″ — 1″ baffle = 8.25″ for batts or open-cell, achieving ~R-30. In CZ 2–3 that meets the R-49 target only with rafter upgrade to 2×14 (13.875″) or rigid foam under the rafters. Closed-cell in a vented assembly is uncommon — most closed-cell roof applications use the unvented R806.5 path because closed-cell IS the air barrier and the vapor retarder, making the ventilation moot. Pick one path or the other, never half each: a sealed cavity with no airflow is a guaranteed condensation failure within 2–5 years.