Loft Size Calculator

Seven calculators for planning a loft or mezzanine: maximum area under the 1/3 rule, room sizing, headroom checks, stair geometry, guard sizing, floor loads, and ventilation. Built around IRC and IBC minimums. All math runs in your browser.

Pick a calculator

Maximum loft area

IBC 505.2.1: a mezzanine may be at most one-third of the room's floor area (one-half in a sprinklered dwelling unit).

Code notes

  • 1/3 rule (IBC 505.2.1): a mezzanine/loft may be at most one-third of the room's floor area; one-half in a sprinklered dwelling unit. Larger than that, it is regulated as a story.
  • Headroom (IBC 505.2, IRC R305.1): 7 ft clear above the loft deck and 7 ft clear below - a code loft needs a room at least 14 ft tall.
  • Stairs (IRC R311.7): risers at most 7.75 in, treads at least 10 in, 80 in (6 ft 8 in) headroom along the full run, stair at least 36 in wide.
  • Guards (IRC R312): required when the drop exceeds 30 in; at least 36 in high; openings must reject a 4-in sphere.
  • Loads (IRC Table R301.5): sleeping rooms 30 psf, other rooms 40 psf, limited storage 20 psf; add dead load (~10 psf).
  • Egress (IRC R310): a sleeping loft needs an escape opening of at least 5.7 sq ft (5.0 at grade), 24 in high by 20 in wide, sill at most 44 in above the loft floor.
  • Air (IRC R303.1, ASHRAE 62.2): 8% glazing and 4% openable area; whole-dwelling mechanical rate Qtot = 0.03 x floor area + 7.5 x (bedrooms + 1) cfm.

Planning values only - always confirm with your local building department, which may amend these numbers.

Frequently asked questions

How big can a loft or mezzanine be?

Under IBC Section 505.2.1, a mezzanine (the code term for a loft open to the room below) may be at most one-third of the floor area of the room it sits in. For example, a 20 x 24 ft room is 480 sq ft, so the largest code-compliant loft is 160 sq ft. In a sprinklered dwelling unit, exception 3 allows up to one-half of the room area. Anything larger stops being a mezzanine and is treated as a full story, which triggers the complete code for that story.

How much headroom does a loft need above and below?

IBC 505.2 requires at least 7 ft of clear height above the loft deck and at least 7 ft clear below it, matching the IRC R305.1 minimum ceiling height of 7 ft for habitable space. In practice that means a code-compliant loft needs a room at least 14 ft tall. For example, with a 16-ft total height and the deck at 8 ft, you get 8 ft of clearance on each side, which passes. A 12-ft ceiling cannot fit a loft that meets the 7-ft rule on both levels.

What size stairs does a loft need?

Loft stairs follow the same IRC rules as house stairs: riser height at most 7.75 in (R311.7.5.1), tread depth at least 10 in (R311.7.5.2), and at least 80 in (6 ft 8 in) of headroom along the entire stair (R311.7.2). For an 8-ft (96-in) rise to the loft deck, that works out to 13 risers at 7.38 in each and 12 treads at 10 in, for a total run of 120 in (10 ft). Keep the full run inside the 80-in headroom envelope, and allow at least 36 in of stair width.

How high must a loft guard rail be?

Guards are required on any open loft edge where the drop to the floor below exceeds 30 in (IRC R312.1.1), and the guard must be at least 36 in high measured from the loft floor (R312.1.2). Openings in the guard must be small enough to reject a 4-in sphere (R312.1.3). For a 10-ft open edge, that means spacing balusters no more than 4 in apart: 120 in divided into 30 gaps, which takes 29 balusters.

How much weight can a loft floor hold?

Design to IRC Table R301.5 live loads: 30 psf for sleeping rooms, 40 psf for rooms other than sleeping rooms, and 20 psf for uninhabitable attics with limited storage. Add roughly 10 psf of dead load for the structure itself. A 160 sq ft sleeping loft therefore carries 4,800 lb of live load plus 1,600 lb of dead load, or 6,400 lb total (40 psf). The joists and beams must be sized or engineered for that total - never guess spans.

Does a loft need ventilation or windows?

Yes. IRC R303.1 requires habitable rooms to have glazing of at least 8% of the floor area and openable area to the outdoors of at least 4%. A 160 sq ft loft needs 12.8 sq ft of glazing and 6.4 sq ft that opens. For mechanical ventilation, ASHRAE 62.2-2016 sets whole-dwelling airflow at Qtot = 0.03 x floor area + 7.5 x (bedrooms + 1) cfm - for example, a 2,000 sq ft home with 3 bedrooms needs 90 cfm, of which the loft's share is about 7.2 cfm.

Does a sleeping loft need an egress window?

If the loft is used as a sleeping room, IRC R310 requires an emergency escape and rescue opening: at least 5.7 sq ft of net clear opening (5.0 sq ft at grade level), at least 24 in of clear height and 20 in of clear width, with the sill no more than 44 in above the loft floor. A standard double-hung window often fails the clear-opening test even when the frame looks big enough, so check the net clear dimensions, not the rough opening.

Does adding a loft count as an extra story?

No - as long as it stays within the mezzanine limits, IBC 505.2 treats the loft as part of the story below rather than an additional story, so it does not change the building's story count. The loft area does count toward the fire area, and the loft must stay open to the room below: enclosure walls may be at most 42 in high (IBC 505.2.3). If the loft exceeds one-third of the room area, it is no longer a mezzanine and is regulated as a story.

Free tool by NRTechStudio