Attic Size Calculator

Seven calculators for planning an attic conversion or upgrade: standing area from roof pitch, habitable-code checks, egress windows, insulation R-value, vent sizing, access stairs & hatches, and usable square footage. All math runs in your browser.

Pick a calculator

How attic sizing works

A gable attic is a triangle in cross-section: full height only at the ridge, zero at the eaves. Building codes draw two contour lines across that triangle. At 5 feet of ceiling height, floor area starts counting toward habitable space (IRC R304.3); below 5 ft it counts as zero. At 7 feet, the space qualifies as standing room, and at least half of the required floor area must reach it (IRC R305.1 exception 1).

The setback from each eave to a height contour is simple: setback = height ÷ (pitch/12). On an 8/12 pitch, the 7-ft contour sits 10.5 ft in from each eave. Steeper pitches buy standing area fast; shallow pitches (4/12 and under) often yield no 7-ft zone at all on a typical span.

The other calculators on this page cover the rest of an attic conversion: the egress window a sleeping room needs (5.7 sq ft net clear), the 22×30 in access opening, 1/150 vent sizing, and DOE insulation R-values by climate zone. Numbers follow the International Residential Code and U.S. Department of Energy tables; always confirm with your local building department, since amendments vary.

Attic sizing questions, answered

What is the minimum ceiling height for a habitable attic?

The International Residential Code (IRC R305.1) requires at least 7 feet (2.13 m) of ceiling height in habitable space. For rooms with sloped ceilings - the classic attic case - the exception is: every part of the required floor area must be at least 5 feet high, and at least 50% of that area must reach 7 feet or higher.

How do I calculate the standing area of an attic from the roof pitch?

Use the pitch triangle: setback from each eave = height / (pitch/12). On an 8/12 pitch over a 28-ft span, the ridge is 9.33 ft high, the 7-ft contour sits 10.5 ft in from each eave, and the standing strip (7 ft+) is 7.0 ft wide. On a 40-ft-long attic that is 280 sq ft of standing area - 25% of the 1,120 sq ft footprint. Steeper pitches widen the strip fast; shallow 4/12 roofs often have no 7-ft zone at all on a normal span.

What size egress window does an attic bedroom need?

Per IRC R310, an emergency escape window in a sleeping room needs a net clear opening of at least 5.7 sq ft (820.8 sq in) - 5.0 sq ft is allowed at grade-floor openings - with a minimum clear height of 24 in, minimum clear width of 20 in, and a sill no more than 44 in above the finished floor. Measure with the window fully open; glass size does not count.

How much attic ventilation do I need?

IRC R806.2 requires net free vent area of 1/150 of the vented attic floor area. A 1,000 sq ft attic needs 6.67 sq ft (960 sq in) at 1/150. The code allows 1/300 - 3.33 sq ft (480 sq in) for that attic - only when a Class I/II vapor retarder is installed (climate zones 6-8 per the 2021 IRC) and 40-50% of the vent area is in upper vents within 3 ft of the ridge. Split intake and exhaust 50/50.

What R-value should my attic insulation be?

The U.S. Department of Energy recommends, for an uninsulated attic: R-30 to R-49 in zone 1, R-30 to R-60 in zones 2-3, R-38 to R-60 in zone 4, and R-49 to R-60 in zones 5-8. Depth in inches = target R / R-per-inch of your material. Example: zone 5 targets R-49, and blown cellulose at R-3.5 per inch needs exactly 14 in.

What is the minimum attic access opening size?

IRC R807.1 requires a rough-framed opening at least 22 x 30 in (55.88 x 76.2 cm) in a readily accessible location, for any attic of 30 sq ft or more with at least 30 in of vertical height. Above a ceiling-mounted access you need 30 in of clear headroom at some point over the opening.

How many square feet of my attic are actually usable?

Three numbers: the full footprint, the storage area (ceiling 5 ft+), and the habitable-eligible area (ceiling 7 ft+). A 40 x 28 ft attic on an 8/12 pitch has 1,120 sq ft total, 520 sq ft of storage-grade area, and 280 sq ft eligible toward habitable space. The low strips under the eaves still hold boxes - they just cannot count toward a bedroom or office.

Can I count attic space under 5-ft ceilings as living space?

No. Under IRC R304.3, portions of a room with a sloping ceiling under 5 feet do not count toward the minimum required habitable area. The 5-ft contour is where floor area starts counting; the 7-ft contour is where standing room starts.

What size pull-down attic stair do I need?

Most off-the-shelf pull-down stairs use a 22.5 x 54 in rough opening, which fits between standard 24-in on-center framing and clears the IRC 22 x 30 in minimum. Check the stair manufacturer's rough-opening spec and keep 30 in of clear headroom above the opening.

Standing Area From Roof Pitch

Only the part of an attic with enough headroom counts as usable or habitable space. For a gable roof, height falls linearly from the ridge: at distance x from center, height = rise x (1 - x / half-span). Solve for the width where height reaches your target:

Roof pitchRise per 12 ft half-spanWidth with 7 ft+ headroom (24 ft span)
4/124 ft0 ft (ridge only reaches 4 ft)
6/126 ft0 ft (ridge below 7 ft)
8/128 ft3.0 ft
10/1210 ft7.2 ft
12/1212 ft10.0 ft

Code Requirements (IRC)

The International Residential Code sets hard minimums before an attic can be called habitable space:

RequirementIRC sectionMinimum
Ceiling heightR305.17 ft over at least 50% of required floor area
Floor area countedR305.1Only where ceiling is 5 ft or higher
Emergency egress openingR310.2.15.7 sq ft net clear opening
Egress sill heightR310.2.2Maximum 44 inches above the floor
Egress min dimensionsR310.2.124 in high x 20 in wide minimum

Ventilation and Insulation Sizing

An attic needs balanced intake and exhaust ventilation plus enough insulation for its climate zone:

RuleFormulaExample: 1,200 sq ft attic
Ventilation 1:150Attic sq ft / 150 = vent sq ft8 sq ft = 1,152 sq in net free area
Ventilation 1:300Attic sq ft / 300 (with vapor barrier)4 sq ft = 576 sq in net free area
Insulation, warm zones 1-3DOE recommendationR-38 (about 12-14 in of fiberglass)
Insulation, cold zones 4-8DOE recommendationR-49 to R-60 (about 16-20 in)
Worked example: a 30 ft x 24 ft attic with an 8/12 gable roof. Half-span = 12 ft, ridge rise = 8 ft. Width with 7 ft headroom = 2 x 12 x (1 - 7/8) = 3 ft, giving 3 x 30 = 90 sq ft of standing area. Ventilation at 1:150 for this 720 sq ft attic needs 720/150 = 4.8 sq ft of net free vent area, split evenly between soffit intake and ridge exhaust.

Tip: always confirm with your local building department: many jurisdictions amend the IRC with stricter energy or egress rules.

Frequently Asked Questions

How do you calculate attic floor area?

Measure length times width for the footprint, then determine how much of it has enough headroom. For a gable roof, usable width shrinks as pitch drops: an 8/12 pitch over a 24 ft span gives only a 3 ft wide strip with 7 ft ceilings.

What roof pitch is needed for a habitable attic?

You need the ridge to reach at least 7 ft. Over a 24 ft span that means roughly 8/12 pitch or steeper; a 12/12 pitch gives a 10 ft wide strip with full 7 ft headroom.

What is the minimum ceiling height for an attic bedroom?

IRC R305.1 requires 7 ft ceilings over at least 50% of the required floor area, and floor area only counts where the ceiling is 5 ft or higher.

Does an attic bedroom need an egress window?

Yes. IRC R310 requires an emergency escape opening of at least 5.7 sq ft, with a sill no more than 44 inches above the floor and minimum dimensions of 24 inches high by 20 inches wide.

How much attic ventilation do I need?

The 1:150 rule: 1 sq ft of net free vent area per 150 sq ft of attic floor. A 1,200 sq ft attic needs 8 sq ft (1,152 sq in), split evenly between soffit intake and ridge or gable exhaust. With a vapor barrier, 1:300 is allowed.

How much insulation does an attic need?

The DOE recommends R-38 for warm zones 1-3 and R-49 to R-60 for zones 4-8. That is roughly 12-14 inches of blown fiberglass for R-38 and 16-20 inches for R-60.

How do you measure attic square footage for flooring?

Measure the full footprint, then subtract areas under low eaves you cannot use. Storage flooring only needs to cover the central strip where you can kneel or stand.

Can I convert my attic into living space?

Structurally you need adequate ceiling height, floor joists rated for living loads (typically 30-40 psf), stairs meeting code, egress, insulation and HVAC. An engineer should verify the existing joists before you add weight.

What is the 7-foot rule for attics?

Habitable attics need 7 ft ceilings over at least half the required floor area per IRC R305.1. Sloped ceilings below 5 ft do not count toward floor area at all.

How do I calculate ridge vent length needed?

Size total exhaust vent area (half of the 1:150 or 1:300 total), then divide by the vent product's net free area per foot. A typical ridge vent provides about 18 sq in per linear foot.

Should attic vents be balanced intake and exhaust?

Yes. Roughly 50% intake at the soffits and 50% exhaust at the ridge keeps air flowing. Exhaust-only ventilation can pull conditioned air from the house through ceiling leaks.

What R-value is blown-in cellulose?

About R-3.2 to R-3.8 per inch. To reach R-49 you need roughly 13-15 inches settled depth; always install a bit extra to account for settling.

How does roof pitch affect attic storage?

Steeper pitch means more central volume. A 4/12 roof over a 24 ft span peaks at just 4 ft, useful only for flat storage bins, while 12/12 gives full standing room down the middle.

Do I need a permit to finish an attic?

In most jurisdictions, yes: converting to habitable space triggers structural, electrical, egress and energy code review. Unpermitted conversions create problems at resale and with insurance.

Is this attic calculator free?

Yes. Estimate standing area, code checks, insulation and ventilation sizing instantly in your browser with nothing uploaded.

Related Tools

Attic Insulation Calculator How much insulation your attic needs by climate zone. Roof Pitch Calculator Find roof pitch, angle and rafter lengths from rise and run. Furnace Size Calculator BTU sizing for heating the finished space below. BTU to Tons Converter Convert between BTU/h and tons of heating or cooling. Roof Cost Lab Estimate roof replacement and repair costs.

Free tool by NRTechStudio