Skip to content

Free · No sign-up · US + Europe

Wall insulation calculator

Enter your wall area and stud size to see what fits in the cavity, how close it gets to your zone's target and how many bags of batts to buy.

What are you insulating?

How big is it?

ft
ft

Net area 982 sq ft

What's there now?

Where do you live?

We look up your 2021 IECC climate zone.

How far do you want to go?

DOE / ENERGY STAR recommended

The 2021 IECC levels that ENERGY STAR recommends for existing homes.

What will you use?

More options

Insulation inside a closed wall or rafter cavity can't be deeper than the cavity.

%

Add on top of what you have

3.5 in

R-0 → R-15

Target R-30
Now R-0
To buy16 bags
Material cost$747 – $1,096
  • 16bags · Fiberglass batts, 15 in wide (16 in o.c. walls) — R-15, 3.5 in
  • This much insulation won't fit in the cavity. You'd need to add continuous insulation boards to reach the target.
Show the math
  1. Target: R-30 of insulation.
  2. Already there: R-0.
  3. To add: R-30.
  4. Area 982 sq ft + 10% waste = 1,080 sq ft to cover.
  5. 1 layer(s), 3.5 in total, 16 packages.
  6. Material cost $747 – $1,096.

Typical retail prices, October 2026. Excludes tools and labor. Planning estimate only. Check the coverage chart on the product you buy and your local building code before you start.

+3.5 in16 bags · $747 – $1,096See results

How the wall calculation works

1. Measure the net wall area

Choose Measure walls and enter the total length of the exterior walls (the house perimeter), the wall height, and how many doors and windows there are. The calculator works out:

Net wall area = perimeter × wall height − (doors × 21 sq ft) − (windows × 12 sq ft)

Those opening sizes are typical defaults. If you have big patio doors or picture windows, measure them and use Total area instead.

2. Find your target

For walls, the calculator uses the cavity-only option from the 2021 IECC, which ENERGY STAR's table is based on:

Climate zone Wall target
1–2 R-13
3 R-20
4–8 R-30

3. Check what fits

This is where walls differ from attics. Insulation between the studs can't be deeper than the studs. A 2×4 wall has a 3.5 in cavity and a 2×6 wall has 5.5 in. Pick your stud size under Cavity depth and the calculator caps the in-wall insulation at that depth. If the target doesn't fit, it shows the best you can get and warns you.

Wall batts come sized for the cavity: R-13 and R-15 are 3.5 in thick for 2×4s, and R-21 is 5.5 in for 2×6s. The calculator uses 15 in wide batts, made for studs 16 in on center.

Worked example: a one-story house in zone 4A

A 50 × 30 ft house has a 160 ft perimeter. With 9 ft walls, 2 doors and 10 windows:

Wall and product Result To buy Cost
2×4, fiberglass batts R-15 (cavity full) 21 bags of R-15 $980–$1,438
2×6, fiberglass batts R-21 (cavity full) 21 bags of R-21 $1,818–$2,044
2×6, closed-cell spray foam R-30 at 4.62 in Installed by a pro $8,848–$14,746

Batts fall short of R-30 in both walls, and the calculator says so. Closed-cell spray foam gets there inside a 2×6, but its price is an installed cost for a professional job, and spray contractors often have a minimum charge.

The same 2×6 wall with R-21 batts in zone 3A meets that zone's R-20 target with the same 21 bags.

Why R-30 walls need continuous insulation

R-30 doesn't fit in a standard 2×4 or 2×6 cavity with batts. The usual answer is continuous insulation: rigid foam board over the outside of the studs, normally added when the siding comes off. Because it isn't interrupted by studs, the code accepts lower cavity-plus-board combinations as equal to R-30 cavity-only. The PNNL table of IECC requirements lists the combinations for each zone.

You can model this in two passes. First size the cavity insulation. Then set What's there now to "I know the R-value", enter the cavity R, and choose foam board. For the 2×6 wall above, entering R-21 and choosing polyiso gives one layer of 1.65 in R-10 board: 44 sheets, $1,649, for a total of R-31. The calculator simply adds nominal R-values, so treat that as a conservative answer, not the code minimum.

Dense-pack vs. batts

Tips and common mistakes

For depth per R-value across materials, see the R-value chart. For basement walls, use the basement insulation calculator, and check targets on insulation R-values by climate zone.

Sources

Frequently asked questions

What R-value do I need for exterior walls?

Using the 2021 IECC's cavity-only option, it's R-13 in climate zones 1 and 2, R-20 in zone 3 and R-30 in zones 4 through 8. In practice, R-30 needs deeper framing or continuous insulation on the outside of the studs.

What is the best insulation for 2×4 walls?

A 2×4 cavity is 3.5 in deep and holds R-13 or R-15 fiberglass batts, or R-15 mineral wool. Closed-cell spray foam reaches about R-23 in the same space, at a much higher installed price.

Can you put R-19 insulation in a 2×4 wall?

Not properly. An R-19 batt is 6.25 in thick, so squeezing it into a 3.5 in cavity compresses it and it won't perform at R-19. Use R-13 or R-15 batts in 2×4 walls and R-21 in 2×6 walls.

How do I calculate how much wall insulation I need?

Multiply the outside perimeter of the house by the wall height, then subtract doors and windows. The calculator does this for you, deducting 21 sq ft per door and 12 sq ft per window, and adds 10% for waste.

Can I insulate existing walls without removing the drywall?

Yes. An installer can blow dense-pack cellulose into closed cavities through small holes and then patch them. The cavity depth still sets the limit: at R-3.65 per inch, a full 2×4 cavity of cellulose works out to about R-13.

Updated October 14, 2026