Skip to content

Insulation Calculator

Calculate insulation with instant, accurate results and clear step-by-step output.

By CalcGenius Editorial TeamLast reviewed August 28, 20253 min read
Insulation Calculator

For walls: length × height. For attics: length × width.

0 for uninsulated; R-4 for a 2×4 wall with drywall only.

Attic floors (warm climates).

Fiberglass batt (R-3.5/in).

$/ft²

Material only — excludes labor and air sealing.

📊
Enter your values and click Calculate

About

Insulation estimation is the math of figuring out how much insulation material — and what thickness — you need to reach a target R-value for a given area. R-value is the measure of thermal resistance, expressed in hr × ft² × °F / Btu (one square foot of an R-13 material resists heat flow at the rate of 1 Btu per hour per degree Fahrenheit difference). The DOE recommends R-13 to R-21 for walls, R-30 to R-49 for attics, and R-19 to R-30 for floors, depending on climate zone. The calculation is straightforward: target R-value ÷ per-inch R-value = required thickness in inches.

Different insulation materials have different R-values per inch of thickness, which affects both the required thickness and the cost. Fiberglass batt: R-3.5/in, the cheapest and easiest for DIY in standard wall cavities ($0.50–$1.80/sq ft depending on R-value). Cellulose (loose-fill): R-3.5/in, ideal for attic floors blown in for complete coverage. Closed-cell spray foam: R-6.0/in, the most efficient — about half the thickness of fiberglass for the same R-value, plus it acts as an air barrier and vapor retarder ($1.30–$4.90/sq ft). Mineral wool: R-4.0/in, fire-resistant and good around chimneys and in sound-rated walls.

Vapor barriers prevent moisture from condensing inside walls and attics, which causes mold, rot, and reduced insulation effectiveness. In cold climates (zone 4+), install a vapor retarder on the warm (interior) side — kraft paper facing on batts, polyethylene sheet, or low-perm paint. In hot-humid climates (zone 1–3), put it on the exterior side. Mixed climates may not need one. Closed-cell spray foam is its own vapor retarder (perm rating under 1.0). Always check IRC Section R702.7 for your climate zone requirements.

Air sealing matters more than R-value. Air leakage accounts for 30–40% of heating and cooling loss in a typical home — more than inadequate insulation. Seal gaps around windows, doors, electrical outlets, plumbing penetrations, and attic hatches with caulk, expanding foam, or weatherstripping before insulating. Fiberglass and cellulose do not stop air leakage (air passes through them); only closed-cell spray foam and rigid foam boards provide their own air barrier. For a complete retrofit, air-seal first, then add insulation — the air sealing alone often saves more energy than upgrading insulation R-value.

This calculator handles the core math — recommended thickness (target R ÷ per-inch R), total material cost (area × price per sq ft), and an approximate BTU savings estimate. The BTU savings formula is a heuristic: (target − current R) × area × climate factor (45 Btu/sq ft/year per R-unit in moderate climate). Actual savings depend on HVAC efficiency, climate, air sealing quality, and homeowner behavior. For precise energy modeling, use a tool like BEopt or EnergyPlus, which account for thermal mass, solar gain, and infiltration rates.

How to Use

  1. 1
    Measure the area to insulate
    For walls: length × height (minus doors and windows for precision). For attics: the ceiling area (length × width). For floors: the floor area. Use sq ft or sq m, and enter as either length+width or total area.
  2. 2
    Select the target R-value
    Choose R-13 (2×4 walls), R-19/R-21 (2×6 walls), or R-30/R-38/R-49 (attic floors) based on climate zone and DOE recommendations. Cold climates (zone 5+) want R-49 in attics; warm climates (zone 1–3) want R-30.
  3. 3
    Pick the insulation type
    Fiberglass batt for DIY walls and standard cavities, cellulose for attic floors (blown in), spray foam for tight spaces and air sealing, mineral wool for fire resistance and sound control.
  4. 4
    Verify the price per square foot
    The calculator defaults to typical prices for the chosen insulation type and target R-value. Adjust based on your actual quotes — spray foam especially varies widely by region and installer.
  5. 5
    Read the recommended thickness and cost
    The hero shows the recommended thickness in inches. The breakdown shows the area to insulate, total material cost, and the BTU savings estimate per year based on climate and HVAC use.
  6. 6
    Air-seal before insulating
    Air sealing matters more than R-value — seal gaps with caulk, foam, or weatherstripping before installing insulation. Fiberglass and cellulose do not stop air leakage; only spray foam and rigid foam boards provide their own air barrier.

Formula

Insulation thickness and cost formulas:

Recommended thickness (in) = Target R-value ÷ Per-inch R-value
Total cost = Area (sq ft) × Price per sq ft
BTU savings/yr ≈ (Target R − Current R) × Area × Climate factor (≈ 45 Btu/sq ft/yr per R-unit, moderate climate)

Per-inch R-values by insulation type:

  • Fiberglass batt: R-3.5/in (R-13 in 3.5-in 2×4 wall, R-19 in 5.5-in 2×6 wall)
  • Cellulose (loose-fill): R-3.5/in (similar to fiberglass)
  • Open-cell spray foam: R-3.5/in (cheaper, less dense)
  • Closed-cell spray foam: R-6.0/in (highest — also air barrier + vapor retarder)
  • Mineral wool (rock wool): R-4.0/in (fire-resistant)
  • Rigid XPS foam board: R-5.0/in (exterior sheathing)
  • Rigid polyiso: R-6.0/in (exterior sheathing, highest per inch)

Target R-values by application (DOE recommendations):

  • Walls: R-13 (2×4) to R-21 (2×6) — diminishing returns above R-21
  • Attics (warm climate): R-30 minimum
  • Attics (mixed climate): R-38
  • Attics (cold climate): R-49 to R-60
  • Floors: R-19 to R-30 over unconditioned spaces

Worked Example

Example 1 — A 500 sq ft attic floor, target R-30, fiberglass batt at $1.10/sq ft:

  • Per-inch R for fiberglass = 3.5
  • Recommended thickness = 30 ÷ 3.5 = 8.57 inches
  • Total cost = 500 × $1.10 = $550
  • BTU savings (from R-0) = (30 − 0) × 500 × 45 = 675,000 Btu/yr
  • ~$30/year in gas heat savings, ~$60/year in electric heat (payback 9–18 years)

Example 2 — Same 500 sq ft attic, target R-49, closed-cell spray foam at $4.90/sq ft:

  • Per-inch R for closed-cell spray foam = 6.0
  • Recommended thickness = 49 ÷ 6.0 = 8.17 inches
  • Total cost = 500 × $4.90 = $2,450
  • BTU savings (from R-0) = (49 − 0) × 500 × 45 = 1,102,500 Btu/yr
  • Higher cost, but spray foam also provides air sealing and vapor retarder

Example 3 — A 2×4 wall, target R-13, fiberglass batt at $0.50/sq ft (300 sq ft wall):

  • Recommended thickness = 13 ÷ 3.5 = 3.71 in (fits standard 2×4 cavity)
  • Total cost = 300 × $0.50 = $150
  • BTU savings (from R-4 drywall-only wall) = (13 − 4) × 300 × 45 = 121,500 Btu/yr
  • ~$25/year savings, payback in 6 years

Tips

  • Air sealing saves more energy than insulation upgrades — seal gaps with caulk, foam, or weatherstripping before adding insulation. Fiberglass and cellulose do not stop air leakage.
  • For tight spaces (vaulted ceilings, finished attics), use closed-cell spray foam (R-6.0/in) — half the thickness of fiberglass for the same R-value, plus it acts as its own vapor retarder.
  • Always check IRC Section R702.7 for vapor retarder requirements by climate zone — wrong placement causes condensation, mold, and rot inside walls.
  • Insulation only works if installed properly — compressed fiberglass batts lose 30–50% of their R-value; gaps around outlets and electrical boxes halve effective R-value. Hire a pro for spray foam.
  • Diminishing returns above R-38 in walls — better to invest in high-quality windows (low-e, argon) and air sealing than to push wall R-value higher.

Common Mistakes

Warning

Common mistakes: (1) installing fiberglass batts in compressed form — compression reduces R-value by 30–50%; (2) skipping air sealing before insulating — air leakage reduces effective R-value by 30–40%; (3) putting the vapor barrier on the wrong side for the climate (interior in cold, exterior in hot-humid); (4) using closed-cell spray foam in hot-humid climates without considering that it can trap moisture in walls if not properly detailed; (5) leaving gaps around outlets, electrical boxes, and plumbing penetrations — these gaps can halve the effective R-value of a wall.

Frequently Asked Questions

What is R-value and why does it matter?
R-value measures thermal resistance — how well a material resists heat flow. Higher R-value = better insulation. The unit is hr × ft² × °F / Btu, meaning one square foot of an R-13 material resists heat flow at the rate of 1 Btu per hour per degree Fahrenheit difference. The DOE recommends R-13 to R-21 for walls, R-30 to R-49 for attics, and R-19 to R-30 for floors, depending on climate zone. Higher R-value saves energy but costs more upfront — diminishing returns above R-38 in walls.
What R-value per inch does each insulation type provide?
Fiberglass batt: R-3.5 per inch (R-13 in a 3.5-in 2×4 wall, R-19 in a 5.5-in 2×6 wall). Cellulose (loose-fill): R-3.5 per inch (similar to fiberglass). Spray foam closed-cell: R-6.0 per inch (highest, also acts as air barrier and vapor retarder). Spray foam open-cell: R-3.5 per inch (cheaper, less dense). Mineral wool (rock wool): R-4.0 per inch (fire-resistant). The calculator uses these per-inch values to compute the required thickness to hit a target R-value.
How thick should my insulation be?
Thickness = Target R-value ÷ Per-inch R-value. For R-30 with fiberglass batt (R-3.5/in): 30 ÷ 3.5 = 8.57 inches. For R-49 with fiberglass: 49 ÷ 3.5 = 14 inches. For R-30 with closed-cell spray foam (R-6.0/in): 30 ÷ 6.0 = 5 inches — half the thickness for the same R-value. Thinner insulation is critical in tight spaces (vaulted ceilings, finished attics) where cavity depth is limited.
Which insulation type is best?
It depends on the application. Fiberglass batt is cheapest ($0.50–$1.80/sq ft) and easiest for DIY in standard 2×4 or 2×6 wall cavities, but allows air leakage through gaps. Cellulose (loose-fill) is ideal for attic floors — blown in for complete coverage, R-3.5/in, and very cheap. Closed-cell spray foam is the most expensive ($1.30–$4.90/sq ft) but provides the best R-value per inch (R-6), acts as an air barrier, vapor retarder, and adds structural rigidity. Mineral wool is fire-resistant and good around chimneys and in sound-rated walls.
Do I need a vapor barrier with my insulation?
In cold climates (zone 4 and colder), yes — install a vapor retarder (kraft paper facing on batts, polyethylene sheet, or low-perm paint) on the warm (interior) side to prevent moisture from condensing inside the wall. In hot-humid climates (zone 1–3), the vapor retarder goes on the exterior side. Mixed climates may not need one at all. Closed-cell spray foam is its own vapor retarder (perm rating under 1.0). Always check the IRC Section R702.7 vapor retarder requirements for your climate zone.
How much does insulation save on energy bills?
Depends on climate, existing R-value, and target R-value. Upgrading an uninsulated 2×4 wall (R-4, just drywall+sheathing+air film) to R-13 typically saves 30–50% on heating/cooling costs for that wall. Upgrading an R-13 attic to R-49 saves another 20–30% on overall energy use. The BTU savings estimate in this calculator is approximate — actual savings depend on HVAC efficiency, climate, and air sealing. A typical 1,500 sq ft house upgrading from R-4 walls to R-13 saves about $300–$600/year in moderate climates, paying back the insulation cost in 2–5 years.

R-value basics

R-value is the measure of thermal resistance — how well a material resists heat flow. Higher R-value = better insulation. The unit is hr × ft² × °F / Btu (one square foot of an R-13 material resists heat flow at the rate of 1 Btu per hour per degree Fahrenheit difference). The DOE recommends R-13 to R-21 for walls, R-30 to R-49 for attics, R-19 to R-30 for floors, depending on climate zone. Above R-38 in walls, you hit diminishing returns — better to focus on air sealing and high-quality windows.

Per-inch R by material

Insulation materials have different R-values per inch of thickness: fiberglass batt R-3.5/in, cellulose R-3.5/in, mineral wool R-4.0/in, open-cell spray foam R-3.5/in, closed-cell spray foam R-6.0/in (highest), rigid XPS foam board R-5.0/in, rigid polyiso R-6.0/in. Closed-cell spray foam is the most efficient — for the same target R-value, it's about half the thickness of fiberglass. Important in vaulted ceilings and finished attics where cavity depth is limited. Mineral wool is fire-resistant and good around chimneys.

Vapor barriers

Vapor barriers prevent moisture from condensing inside walls and attics, which causes mold, rot, and reduced insulation effectiveness. In cold climates (zone 4+), install a vapor retarder on the warm (interior) side — kraft facing on batts, poly sheet, or low-perm paint. In hot-humid climates (zone 1–3), put it on the exterior side. Mixed climates may not need one. Closed-cell spray foam is its own vapor retarder (perm rating under 1.0). Always check IRC Section R702.7 for your climate zone requirements.

Air sealing matters most

Air leakage accounts for 30–40% of heating and cooling loss in a typical home — more than inadequate insulation. Seal gaps around windows, doors, electrical outlets, plumbing penetrations, and attic hatches with caulk, expanding foam, or weatherstripping before insulating. Fiberglass and cellulose do not stop air leakage (air passes through them); only closed-cell spray foam and rigid foam boards provide their own air barrier. For a complete retrofit, air-seal first, then add insulation — the air sealing alone often saves more energy than upgrading insulation R-value.

Insulation types compared for a target R-30 (typical warm-climate attic). Closed-cell spray foam is half the thickness of fiberglass but 3–4× the cost per square foot.
Insulation typeR per inchThickness for R-30Cost per sq ft
Fiberglass battR-3.58.57 in$1.10/ft²
Cellulose (loose-fill)R-3.58.57 in$1.30/ft²
Spray foam (closed-cell)R-6.05.00 in$3.00/ft²
Mineral woolR-4.07.50 in$1.75/ft²
Info

The insulation calculation is fundamentally a unit-conversion problem: target R-value ÷ per-inch R-value = required thickness. The complication is choosing the right material for the application — fiberglass for DIY walls, cellulose for attic floors, closed-cell spray foam for tight spaces and air sealing, mineral wool for fire resistance. Always pair insulation with proper air sealing — together they reduce energy bills 30–50%.

Pro tip

For tight spaces (vaulted ceilings, finished attics, 2×4 walls in cold climates), use closed-cell spray foam at R-6.0 per inch — it's about half the thickness of fiberglass for the same R-value, and it acts as its own air barrier and vapor retarder. For DIY in standard cavities, fiberglass batts remain the cheapest and easiest option.

Authoritative References

Try our other free calculators

CalcGenius has 1,200+ free, ad-free, browser-based calculators for finance, health, math, science, and everyday life. No sign-up required.

Compare Insulation — Side-by-Side Numbers & Key Totals