Spray Foam Insulation Calculator — ft, sq ft, cost

Area in sq ft · Board feet & kits · Open-cell & closed-cell · R-value & cost
ICC / ASTM C518

How to use this calculator

Pick a preset or enter wall length × height (ft + in) with foam type, target thickness or R-value, and cavity depth. The output is board feet (1 bf = 1 ft² sprayed 1″ thick), kits needed, R-value achieved in the cavity, and whether a separate vapor barrier is still required by IRC R702.7.

Open-cell — R-3.7/in, 0.5 lb/ft³. Needs separate vapor retarder.
Closed-cell — R-6.5/in, 2.0 lb/ft³. Acts as a Class II vapor retarder at ≥ 2″ thick.

R-13 2×4 wall (closed 2″) R-19 2×6 wall (open 5.5″) R-21 2×6 wall (closed 3.25″) R-30 attic (open 8″) R-38 attic (open 10.5″) Rim joist 80 lf (closed 2″) Crawlspace 800 ft² (closed 2″)
Foam Type & Area
ft in
ft in
in
Open-cell: 3″–5.5″ typical · Closed-cell: 1″–3″ typical
in
2×4 = 3.5″ · 2×6 = 5.5″ · 2×8 = 7.25″
%
Studs short-circuit foam. Whole-wall R = cavity R × (1−ff) + wood R × ff. Wood R ≈ 1.25/in.
Diagram · tap labels to focus inputs
Plan View
$Price
$
varies by kit size
Results
Coverage
Surface Area
ft²
Thickness Applied
in
Board Feet Needed
bf
Board Feet (w/ waste)
bf
Kits & R-Value
Kits Needed
pcs
Cavity R-Value
Foam Weight
lbs
Vapor Barrier Needed?

Saved Calculations

TimeTypeArea ft²ThickBFKitsR-ValueCost
No saved calculations

How to Calculate Spray Foam Insulation

Set the foam type, enter wall length × height (or paste a known surface area), then pick a target thickness or a target R-value. A board foot is 1 ft² sprayed 1″ thick, so a 320 ft² wall at 3″ needs 960 bf before waste. Two-component kits are sold by yield (200, 600, 1,200 bf); allow 5–10% waste for trim loss, overspray and partial kits since opened kits cannot be stored.

R-value follows the IRC / ASHRAE basis: open-cell ~R-3.7 per inch, closed-cell ~R-6.5 per inch. The calculator caps applied thickness at the cavity depth so a 2×6 stud bay (5.5″) never reports more foam than will physically fit, and a framing-factor toggle derates cavity R to a whole-wall R that accounts for thermal bridging through studs. Pair the result with a wall insulation R-value calculator to confirm the assembly meets code, and a roof & attic insulation calculator for ceiling planes.

Formulas

Board feet = area (ft²) × thickness (in). From R-value: thickness = target R ÷ R-per-inch. Open-cell R/in = 3.7, density 0.5 lb/ft³; closed-cell R/in = 6.5, density 2.0 lb/ft³. Foam weight = area × (thickness ÷ 12) × density. Kits = ceil(board feet with waste ÷ kit yield). Whole-wall R = Rcavity × (1−ff) + Rwood × ff, with wood ≈ R-1.25/in.

FAQ

Open vs closed cell? Open-cell is cheaper, expands more and dampens sound but is vapor-open, so it needs a separate vapor barrier. Closed-cell is denser and structural, reaches its own Class II vapor retarder rating at ≥2″, and gives higher R per inch.

How thick should I spray? Walls: open-cell 3–5.5″ (fills a 2×4 or 2×6 cavity), closed-cell 1–3″. Attics: open-cell 5.5–10″, closed-cell 3–5″. Spray foam air-seals the building, but exposed sheathing and the rim joist may still need a house wrap and a slab-side waterproofing membrane.

On install day

DIY two-part kits run roughly $1.00–1.50/bf for open-cell and $1.50–2.50/bf for closed-cell; professional installs are typically $1.25–2.00/ft² open-cell and $2.50–4.50/ft² closed-cell in 2025. The number-one estimator mistake is sizing kits by area alone — coverage is yield in board feet, so doubling the thickness halves the area one kit covers, and partial kits at the end of a job almost always get wasted because hose-cured product cannot be re-used. Mind the IRC R316 ignition barrier rule: foam left exposed in attics and crawlspaces needs an intumescent paint or 1/2″ drywall over it, and substrate must be above 40 °F with humidity under 85% or the foam will not adhere. Plan ventilation for 24 hours of off-gassing after the pour.

Calculation notesWhat this calculator doesOpen the formula basis, references and assumptions when you need to verify the detailed method.Review details

Area and foam thickness are converted to board feet and kit quantities using selected yield, waste and editable price.

Reference context

  • IECC/IRC energy provisions
  • manufacturer coverage data
  • project climate-zone requirements

Important assumptions

  • Dimensions, quantities and prices entered by the user are correct.
  • Waste, laps, overlaps, compaction and delivery allowances must match the actual project.
  • Results are preliminary takeoff estimates, not a sealed structural design or permit approval.

Quality notes updated: August 1, 2026. The repository includes per-page checks for browser errors, populated results, metadata, US-market visibility, duplicate IDs and shared quality controls.

Reference names describe the applicable design and product context; they do not replace a project-specific code review. Local codes, drawings, specifications and manufacturer instructions govern the final work. Report a calculation or interface issue.

Misha Noyr, M.Eng.

Misha Noyr, M.Eng.

Civil Engineer · 15+ yrs · structural design and geotechnics. Full bio →