Insulation Calculator: Bags, Batts & Board Feet by Square Footage

How much insulation do you need — and what R-value does code require? This free insulation calculator works as a fiberglass insulation calculator, a batt insulation calculator, a blown-in cellulose insulation calculator for walls and attics, and a spray foam calculator. DIYers and contractors get instant material counts (bags, board feet, or sheets) by square footage for attic, walls, floors, basement, or crawlspace.

Insulation shortages and overbuys both hurt: blown-in fiberglass settles 10–20% over the first year, so under-blown attics fail R-value within 12 months and your heating bill creeps up $300/year. Buying too many bags wastes $50+ per leftover bag — and most stores will not take open returns.

Checks results against 2021 IECC minimum R-values for your climate zone, with separate totals for cavity vs. whole-wall R-value.

See 2026 insulation cost ranges by material & attic size →

View material estimation guides →

Advertisement

Insulation Calculator

Calculate batts, rolls, or spray foam for walls, ceilings, and floors with R-value and waste factor.

Project Configuration

Not sure? Find your IECC climate zone by ZIP

Not sure which insulation type to pick? Compare batt, dense-pack, spray foam & rigid board

See how a colder zone raises the required R-value on the climate-zone map

📐 What to measure: Measure the floor plan footprint: Length × Width of the space below the attic.

Blown-In Specifications

What does R-value actually mean? See how thickness changes by material

Waste Factor

Typical: 5–10% flat attic · 10–15% cathedral/walls · 15–20% spray foam

Insulation diagrams: what the numbers and materials mean

Insulation has a few ideas that trip everyone up — what an R-value actually is, why switching materials changes the thickness, and why the framing quietly lowers your wall's real performance. These engineering-style diagrams answer each one. Use the “see the diagram” links beside the inputs above to jump straight to the figure you need.

What the numbers and materials mean

The R-per-inch diagram is why the calculator compares materials by R-value, not by thickness. Hitting a target R takes far less closed-cell foam than fiberglass because each inch of foam is worth more, so the depth that fits your cavity depends on the material. Choosing by inches instead of R-value is how walls end up under-insulated.

R-value = R-per-inch × thickness. To hit R-30, closed-cell foam needs ~4.6″ but a fiberglass batt needs ~10.3″ — same R, very different depth. Compare materials by R-value, not by inches.Source: Per-inch R-values per the calculator’s material data (ASTM C518 / manufacturer TDS)See the What R-value means diagram →

The types-compared diagram is why the calculator asks which insulation you are using, not just how much. Batt has to be packed void-free, dense-pack flows around wires, spray foam also air-seals, and rigid board goes continuous over the studs — same R, different jobs. The type decides how the material installs and what else it does besides slow heat.

Same R-value, different jobs: batt must be packed void-free, dense-pack flows around wires and boxes, spray foam also air-seals, and rigid board goes continuous over the studs to break the thermal bridge.Source: Building-science practice (DOE / BSC); air-sealing & continuous-insulation principlesSee the Batt vs. dense-pack vs. spray foam vs. rigid board diagram →

The thermal-bridging diagram is why a wall never performs at its batt’s label R-value. The studs are a lower-R shortcut around the insulation, so a wall with R-21 batts behaves closer to R-16 once the framing is counted. Continuous exterior foam covers the studs and breaks that bridge, which is why the calculator treats it as more than extra R in the cavity.

Heat takes the shortcut: the wood studs (≈25% of the wall at 16″ o.c., only ≈R-6.9) bypass the R-21 batt, so the whole-wall R drops to about R-16. Continuous exterior foam covers the studs and breaks the bridge.Source: ASHRAE parallel-path R-value; framing fraction per the calculator (25% at 16″ o.c.)See the Thermal bridging diagram →

What your climate zone requires

The IECC ties required insulation to where you build: zones run from warm zone 1 in the south to cold zone 8 in the north, and the colder the zone, the higher the R-value the code requires for your ceiling, walls, and floor.

The zone map is why the calculator ties its R-value targets to your location. The eight zones run warm to cold and the code minimum climbs with the zone, so your zone is what turns an insulation job into a specific R-value rather than a guess. Find your zone and the required R-values follow.

IECC climate zones run from warm zone 1 in the south to cold zone 8 in the north. Find your zone — the colder it is, the higher the insulation R-value the code requires.Source: 2021 IECC Figure R301.1 / Table R301.1See the Map of the IECC climate zones across the United States →

The assemblies diagram is why the calculator sets different R-values for the attic, walls, and floor. A house needs the most insulation overhead, so the attic target is higher than the wall or floor target in the same zone. That is why the estimate is not one R-value for the whole house but a target per assembly.

A house needs the most insulation overhead: in climate zone 4 the IECC requires R-60 in the attic, R-30 in the walls, and R-19 in the floor. The thicker the layer, the higher the R-value.Source: 2021 IECC Table R402.1.3See the How much insulation a house needs in IECC climate zone 4 diagram →

Advertisement

📚

Want to Learn More?

R-value requirements, material costs, coverage rates, and installation standards for residential insulation. Fiberglass, cellulose, and spray foam compared.

Read the Insulation R-Value Requirements by Climate Zone (IECC)

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

Related Code Guides

Building code, climate zone, and standards references that change defaults for this calculator.

2021 IECC

Climate Zone 2: R-Value Requirements (2021 IECC)

Hot-humid Climate Zone 2 R-value minimums for most of Florida, the Gulf Coast, and southern Arizona under the 2021 IECC.

2021 IECC

Climate Zone 3: R-Value Requirements (2021 IECC)

Warm Climate Zone 3 R-value minimums for the Carolinas, Georgia, central Texas, Arizona, and the Mid-South under the 2021 IECC.

2021 IECC

Climate Zone 4: R-Value Requirements (2021 IECC)

Mixed-humid Climate Zone 4 R-value minimums for the Mid-Atlantic, Ohio Valley, Kentucky, Tennessee, and northern Texas under the 2021 IECC.

2021 IECC

Climate Zone 5: R-Value Requirements (2021 IECC)

Cool Climate Zone 5 R-value minimums for Pennsylvania, New York, Michigan, Illinois, Iowa, and the Pacific Northwest interior under the 2021 IECC.

2021 IECC

Climate Zone 6: R-Value Requirements (2021 IECC)

Cold Climate Zone 6 R-value minimums for Minnesota, Wisconsin, Maine, Vermont, Montana, and North Dakota under the 2021 IECC.

2021 IECC

Climate Zone 7: R-Value Requirements (2021 IECC)

Very-cold Climate Zone 7 R-value minimums for northern Minnesota, North Dakota, and high-altitude pockets of Alaska under the 2021 IECC.

2021 IECC + Alaska BEES

Climate Zone 8: R-Value Requirements (2021 IECC)

Subarctic Climate Zone 8 R-value minimums for most of Alaska under the 2021 IECC and Alaska Building Energy Efficiency Standard.

2025 Title 24 Part 6 (effective Jan 1, 2026)

California Title 24 Part 6: Envelope Requirements

California Title 24 Part 6 envelope, cool-roof, and prescriptive insulation requirements by climate zone for residential — 2025 cycle effective Jan 1, 2026.

780 CMR 10th Edition (sole effect since June 30, 2025) + 225 CMR 22 (Stretch) / 225 CMR 23 (Specialized)

Massachusetts Stretch Energy Code

Massachusetts Stretch Energy Code envelope, HERS, and electrification requirements for residential construction in opt-in municipalities.

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

How to Use This Calculator

  1. Select location: Choose ceiling/attic, cathedral ceiling, walls, floor, basement, crawlspace, rim joist, or slab edge.
  2. Select material: Choose blown-in fiberglass or cellulose, fiberglass or mineral wool batts, spray foam, or rigid foam board.
  3. Enter your climate zone (1–8): Used for IECC 2021 code compliance check and polyiso derating.
  4. Enter area: Square footage of the space you are insulating (linear feet for slab edge).
  5. Set material options: Target R-value, thickness, stud spacing, board type, or foam type depending on the material selected.
  6. Adjust waste factor: 5–10% for flat attics; 10–15% for walls; 15–20% for spray foam and irregular surfaces.
  7. Click Calculate: See bags, sheets, or board feet needed; R-value achieved; and IECC 2021 code compliance.

Understanding Whole-Wall vs. Cavity R-Value

The cavity R-value (R-13, R-21, etc.) is NOT what your wall actually achieves. Wood studs conduct heat at R-1.25/inch — creating thermal bridges. A 2×4 wall with R-13 batts at 16" o.c. achieves only R-12.1 whole-wall (parallel path method, ASHRAE). The whole-wall R-value is what matters for energy code compliance and energy calculations. This calculator shows both values for wall assemblies.

Frequently Asked Questions

How do I use this as a fiberglass insulation calculator?

Select your location (attic, walls, floor, basement, or crawlspace), choose 'Fiberglass batts' or 'Blown-in fiberglass' as the material, enter your square footage and target R-value, and the calculator returns the exact number of batt bundles or blown-in bags you need. Coverage rates are pulled from FTC R-value Rule manufacturer charts (Owens Corning, Johns Manville, Knauf, CertainTeed). The calculator handles standard 16" and 24" stud spacing, 2×4 and 2×6 walls, and high-density R-15/R-21/R-23 batts.

Can I use this as a blown-in cellulose insulation calculator for walls?

Yes. Select 'Walls,' choose 'Blown-in cellulose,' and toggle the dense-pack option for closed wall cavities. The calculator uses dense-pack density of 3.5 lb/ft³ (vs. 1.6 lb/ft³ for open attic install) per NRCA and Cellulose Insulation Manufacturers Association guidance — that's the correct density to prevent settling in vertical cavities. Bag counts use GreenFiber INS510LD or equivalent 30-lb bag specs. For attics, switch the location to 'Ceiling/attic' and the calculator drops back to the lower open-blow density.

How do I calculate insulation by square footage?

Enter the area you're insulating in square feet — for an attic, that's the floor area below; for walls, it's the gross wall area minus windows and doors; for floors, it's the conditioned floor area above. The calculator multiplies your square footage by the manufacturer's coverage rate at your target R-value (e.g., GreenFiber blown cellulose at R-49 covers ~14.86 sq ft/bag, so 1,500 sq ft / 14.86 = 101 bags before waste). Add a 5–20% waste factor depending on material and surface complexity.

How do I check insulation requirements by climate zone or zip code?

Enter your IECC climate zone (1–8) and the calculator returns the 2021 IECC minimum R-value for ceiling, wall, floor, basement wall, slab edge, and crawlspace per Table R402.1.3. Don't know your zone? Look up your county at the DOE Building America Solution Center or ENERGY STAR Climate Zone Finder — Hawaii/deep South is Zone 1–2, Mid-Atlantic and Tennessee are Zone 4, Great Lakes/NYC are Zone 5, New England is Zone 6, far north and Alaska are Zones 7–8.

How do I find my IECC climate zone?

Climate zones are assigned at the county level by IECC Table C301.1. Zone 1–2 covers Hawaii and the deep South (Florida tip, Gulf Coast). Zone 3 is the warm South (N. Florida, N. Texas, coastal California). Zone 4 covers the Mid-Atlantic, Tennessee, and NC. Zone 5 is the Great Lakes and N. Mid-Atlantic. Zone 6 is New England and northern Great Plains. Zones 7–8 are very cold northern states and Alaska. Look up your county at the DOE Building America Solution Center or ENERGY STAR Climate Zone Finder.

What is the difference between cavity R-value and whole-wall R-value?

Cavity R-value (R-13, R-21, etc.) is the rated R-value of the insulation alone in the stud cavity. Whole-wall R-value accounts for thermal bridging through wood studs, plates, and headers — which conduct heat at only R-1.25/inch. At 16" o.c., framing occupies 25% of the wall area. A 2×4 wall with R-13 batts achieves only R-12.1 whole-wall. A 2×6 wall with R-19 batts achieves approximately R-13.7 whole-wall. Always use whole-wall R-values for energy calculations.

Should I use R-19 or R-21 in a 2×6 wall?

Use R-21 (high-density, 5.5" thick). R-19 is 6.25" thick — it must be compressed into the 5.5" 2×6 cavity, reducing the R-value to approximately R-18 per NAIMA compression formulas and manufacturer data. R-21 is specifically designed to fill a 2×6 cavity at full depth without compression, delivering the full rated R-value. R-20 (medium-density) is also a good option at R-20 with no compression loss.

How many bags of blown-in cellulose do I need for a 1,500 sq ft attic at R-49?

Using GreenFiber INS510LD (30 lb bags): At R-49, the chart shows 67.3 bags per 1,000 sq ft. For 1,500 sq ft: 67.3 × 1.5 = 100.95 bags, plus 10% waste = 111 bags. The coverage charts are already based on settled thickness per FTC requirements, so you will achieve R-49 at that bag count. Install to the labeled depth marker (14.71" installed, settles to 13.24").

What is the minimum closed-cell spray foam thickness for a vapor retarder?

Per ASTM E96 testing (BASF Walltite US data): 1" = 1.39 perms (Class III), 1.5" = ~1.0 perm (borderline Class II), 2" = 0.70 perm (Class II vapor retarder per IRC R702.7). For a definitive Class II vapor retarder — required on the interior of frame walls in Zones 5–8 — you need at least 2" of closed-cell spray foam. Do NOT add polyethylene sheeting on top of closed-cell foam; that creates a double vapor barrier that traps moisture.

Is polyiso better than XPS in cold climates?

In warm climates (Zones 1–4): Polyiso LTTR R-5.7/inch outperforms XPS at R-5.0/inch. In cold climates (Zones 5–8): Polyiso loses 30–50% of its labeled R-value as blowing agents condense below 40°F. At Zone 6 conditions, polyiso may deliver only R-4.0–4.7/inch while XPS holds R-5.0/inch (though XPS also drifts slightly over decades). NRCA recommends R-4.7/inch design value for Zone 6+ polyiso. For cold-climate continuous insulation, XPS or EPS are more predictable performers.

Can I insulate my attic with fiberglass batts instead of blown-in?

Blown-in is strongly preferred for attics. Batts require careful installation around obstructions and at truss members, and air gaps around batts eliminate most of their insulating value. Blown-in covers all surfaces uniformly including around rafters and blocking, and achieves higher density with fewer air gaps. For horizontal open attics, blown-in typically costs less and performs better. Batts are better suited for cathedral ceilings and enclosed rafter bays where blown-in cannot be easily applied.

Do I need a vapor barrier with spray foam insulation?

Closed-cell spray foam IS its own vapor retarder — do not add polyethylene sheeting over it. Adding a Class I vapor retarder over closed-cell creates a double vapor barrier that traps moisture with nowhere to go. Open-cell spray foam is highly vapor permeable (~16 perms at 3") and is NOT a vapor retarder; you may need a separate vapor retarder in Zones 5–8 depending on assembly design. Both open and closed-cell foam require a 15-minute thermal barrier (minimum ½" gypsum board) before occupancy per IRC.

Should I replace my windows when adding insulation?

Windows are usually the lowest-R-value component in a wall assembly — a typical dual-pane vinyl window runs around R-3.3 (U-0.30), while an R-19 stud bay is six times that. If your existing windows are single-pane or pre-1990 dual-pane, replacing them alongside cavity insulation typically delivers a bigger comfort and energy improvement than insulation alone. The 2021 IECC fenestration U-factor and SHGC requirements (R402.1.3) get applied at the time of permit, and replacement permits trigger current-code compliance regardless of the original window era. The Window Calculator handles per-opening IECC compliance, egress checks per IRC R310, and area-weighted U-factor averaging — useful when you're sizing the envelope upgrade as a single project.