Free tool

R Value Calculator

R-value measures how well a material resists heat flow, so a higher number means better insulation. Pick the layers of your wall, roof or floor below, enter each thickness, and the calculator adds them up to a total R-value and U-factor. It also shows what the 2021 IECC asks for in each climate zone.

R value calculator for wall, roof and floor layers

Pick a material and enter its thickness in inches for each layer, from the inside out. Leave unused layers empty.

Total R-value

R-19.9

U-factor (1 / R)

0.050

R with framing

R-16.7

U with framing

0.060

Total R is the center-of-cavity value: every layer in a row, plus air films. Wood framing conducts heat better than insulation, so the R with framing result blends the cavity path and the framed path by area. Per-inch values are typical, so check the manufacturer data for your product.

Compare with the IECC climate zone minimum

Code minimum for a wood-frame wall in zone 5: R-30, or R-20 + R-5 continuous, or R-13 + R-10 continuous. Your layers: cavity insulation R-13.0 plus continuous insulation R-5.0. Compare the two, and note that the code allows trade-offs between cavity and continuous insulation.

How to calculate the R-value of a wall, roof or floor

Heat passes through each layer of an assembly in turn, so the layers add up. Total R = R of layer 1 + R of layer 2 + and so on, including the thin films of still air on each surface. The R-value of one layer is its R per inch multiplied by its thickness in inches.

The figure shows the default wall in the calculator: drywall, a 3.5 in. fiberglass batt, OSB and one inch of XPS foam. Working it out by hand: 0.45 + 12.95 + 0.63 + 5.0 + 0.85 for the air films = about R-19.9.

INSIDEOUTSIDEWinter heat flow123451Gypsum board, 1/2 in: R-0.452Fiberglass batt in 2x4 cavity: R-133OSB sheathing, 1/2 in: R-0.64XPS foam board, 1 in: R-55Siding: adds almost no RThrough the cavity: about R-19.9Through a stud: about R-11.3
Wall layers from the inside out, with typical R-values and the 0.85 of air films included in the totals.
  1. List the layers from the inside out: finish, insulation, sheathing, any foam board and the cladding.
  2. Pick the material for each layer and enter its thickness in inches. Skip layers that add almost nothing, such as siding.
  3. Choose whether to include air films. Standard tables use 0.68 inside and 0.17 outside for a wall.
  4. Tell the tool which layer sits between the studs and what share of the area is framing, to see the whole-wall result.
  5. Read the total R and the U-factor, then compare the insulation with the climate zone minimum.

R-value per inch of common insulation and building materials

These are typical values per inch of thickness. Products vary, and foam boards lose a little R as they age, so use the label on the product when you have it.

MaterialR per inch (typical range)Used in the calculator
Fiberglass batt3.1 to 4.33.7 (wall), 3.2 (attic)
High-density fiberglass battabout 4.34.3
Mineral wool batt3.0 to 3.93.7
Cellulose, blown or dense-pack3.0 to 3.83.5
EPS foam board3.9 to 4.24.0
XPS foam board5.0 to 5.45.0
Polyiso foam board5.5 to 6.86.0
Closed-cell spray foam5.5 to 6.56.0
Open-cell spray foamabout 3.63.6
Gypsum board (drywall)about 0.9 (1/2 in. = 0.45)0.9
Plywood or OSBabout 1.25 (1/2 in. = 0.6)1.25
Softwood lumber1.25 to 1.41.25

Air films are fixed values, not per inch: about R-0.68 on a vertical interior surface, R-0.61 on a surface where heat flows up, R-0.92 where heat flows down, and R-0.17 outside in a 15 mph wind.

Recommended R-values by climate zone

The 2021 International Energy Conservation Code sets minimum insulation R-values for each of eight climate zones. The table lists the base prescriptive values for insulation only. The frame, sheathing and air films are not counted. Many states adopt a different edition, and "continuous" means unbroken foam over the studs.

IECC 2021 base minimums for new homes. Marine zone 4 uses the zone 5 floor value.
ZoneCeiling or atticWood-frame wallFloorBasement wall
1R-30R-13R-13none
2R-49R-13R-13none
3R-49R-20 or 13 + 5 continuousR-19R-5 continuous or R-13 cavity
4R-60R-30, 20 + 5 or 13 + 10R-19R-10 continuous or R-13 cavity
5 and 6R-60R-30, 20 + 5 or 13 + 10R-30R-15 continuous or R-19 cavity
7 and 8R-60R-30, 20 + 5 or 13 + 10R-38R-15 continuous or R-19 cavity

A 2x4 wall holds about R-13 to R-15 of batt, and a 2x6 wall about R-19 to R-21. That is why colder zones use the combinations with continuous foam. Local codes can differ from this table, so confirm with your building department.

R-value vs U-factor: what is the difference?

U-factor is the flip side of R-value. R-value is resistance, and U-factor is how fast heat gets through: U = 1 / R. A wall of R-20 has a U-factor of 0.05. Windows and doors are rated with U-factor, walls and attics with R-value, so you need both to compare parts of a building.

In SI units, R-value is in m2K/W and U-factor in W/m2K. Multiply a US R-value by 0.176 to get the SI value, and multiply a US U-factor by 5.68.

Why a real wall is worse than its R-value on paper

Studs, plates and headers carry heat past the insulation. Wood is about R-1.25 per inch, so a 3.5 in. stud is only R-4.4 next to an R-13 batt. If framing is about a quarter of the wall area, the default wall drops from R-19.9 in the cavity to about R-16.7 overall. This is called thermal bridging. Continuous foam outside the sheathing covers the studs and cuts it.

Path through the default wallTotal RU-factor
Through the cavity (batt)19.90.050
Through a stud11.30.088
Blended, 25% framing16.70.060
AI redesign of a dated bungalow into a contemporary home

Plan a new exterior before you add insulation

Adding foam board and new cladding changes how a house looks. Upload a photo and our AI shows the house redesigned in a new style, so you can plan the look and the retrofit together.

Try the AI house design generator

Sign in with Google or email to render. New accounts get 1 free render (watermarked).

Frequently asked questions

How do you calculate R-value?

Multiply the R per inch of each material by its thickness in inches, then add all the layers. Add the air films for a whole assembly. For example, 3.5 in. of fiberglass at R-3.7 per inch is about R-13.

How do you convert R-value to U-factor?

Divide 1 by the R-value. R-20 equals U-0.05, and R-5 equals U-0.2. To go the other way, divide 1 by the U-factor.

What is a good R-value for walls?

The 2021 IECC asks for R-13 in the warm zones 1 and 2, R-20 in zone 3 and R-30 or a cavity plus continuous combination such as R-20 + R-5 in zones 4 to 8. Higher is better, but each extra inch gives less saving.

What R-value do I need for an attic?

The 2021 IECC base minimum is R-30 in zone 1, R-49 in zones 2 and 3, and R-60 in zones 4 to 8. Adding more than the minimum usually costs little compared with the energy it saves.

Is a higher R-value always better?

A higher R-value means less heat flow, but the gain shrinks as you add more. Going from R-0 to R-13 cuts heat loss far more than going from R-30 to R-43. Air leaks and thermal bridging also matter, so seal the building as well as insulate it.

What is the R-value of a 2x4 wall and a 2x6 wall?

A 2x4 wall (3.5 in. deep) holds an R-13 to R-15 batt. A 2x6 wall (5.5 in. deep) holds an R-19 to R-21 batt. The whole-wall value is lower, because the studs insulate less than the batt.

More free tools for architects and designers

Sources: R-values per inch are typical figures within the ranges published by the US Department of Energy, Energy Star and Building Science Corporation. Climate zone minimums are the base prescriptive values from Table R402.1.3 of the 2021 International Energy Conservation Code. Air film values follow the standard ASHRAE surface resistances. Local code may differ.