IRC 2021 — All tools free

Building Code Compliance,
Made Simple.

Free tools for homeowners, contractors, and DIYers. Instant pass/fail results against IRC 2021 residential building code.


Minimum Ceiling Height Requirements — IRC 2021

Room-by-room minimums, sloped ceiling rules, beam and duct exceptions, and common inspection failures.

Basement Finishing Code Requirements — Complete Checklist

Every code requirement before you finish a basement: egress, ceiling height, stair, insulation, smoke alarms, and permits.

Egress Window Requirements for Bedrooms & Basements

Minimum clear opening dimensions, sill height limits, window well requirements, and the most common compliance failures.

Stair Code Requirements — Rise, Run, Handrail & Headroom

Complete IRC stair code reference including the uniformity rule, Blondel comfort formula, and common stair failures.

Deck Joist Span Guide — IRC 2021 Span Tables Explained

How to read IRC span tables, species grade groups, spacing options, and what to do when your span exceeds the maximum.


Why use these tools?

Building code requirements exist for safety — but the code itself is written in legal language that’s hard to parse on a job site. These calculators pull out the numbers that matter, let you enter your measurements, and give you an instant, readable pass/fail result against IRC 2021.

Every tool references the specific IRC section so you know exactly what you’re checking. Results are for reference — always confirm with your local AHJ before finalizing any design.

Why IRC Egress Window Requirements Exist

Egress window requirements exist for one reason: occupants need a way out of a burning building that doesn't require going through fire or smoke. The IRC R310 egress rules set the minimum opening size, maximum sill height, and location requirements for windows in sleeping rooms — the rooms where someone is most likely to be asleep and unaware of a fire until it's too late.

The numbers aren't arbitrary. The 5.7 square foot net clear opening minimum was derived from testing with adult-sized mannequins to find the smallest opening through which a person could quickly escape with minimal clothing. The 44-inch maximum sill height was set so a person of average height can swing a leg over the sill and exit without needing to climb. Both numbers are compromises between structural requirements (larger openings weaken wall sections) and emergency egress needs.

The 5.7 sq ft Rule — Net Clear Opening

"Net clear opening" means the actual open space when the window is fully open — not the frame size, not the glass size, not the rough opening. For double-hung windows, only the lower sash opens, so the net clear opening is half the visible glass area, minus frame and sash width. For casement and awning windows that open to 90°, the net opening is close to the glass area. This distinction catches a lot of homeowners off guard: a window that looks large enough may fail the net clear area check.

Basement Egress Windows

Basement sleeping rooms are the most common egress window problem in residential construction and real estate. Many existing basements were finished before current egress requirements were added, or were finished without permits. The 44-inch sill height maximum is particularly challenging in basements where the window opening may start at 48 to 60 inches above the floor. If the existing window opening is too high, a window well is often the solution — IRC allows a window well to extend below grade, and a window well with a ladder can satisfy the egress requirement.

Common Egress Window Failures

Egress Window FAQ

Does every bedroom need an egress window?

Yes, every sleeping room must have at least one egress window or exterior door that meets the minimum requirements (IRC R310.1). This applies to basement bedrooms, attic bedrooms, and upper-floor bedrooms equally. The only exception is if the room is served by a compliant exit door that opens directly to the exterior.

Can I use a sliding glass door instead of an egress window?

Yes. Any exterior door counts as an egress opening as long as it's accessible from the sleeping room. A sliding glass door with a minimum 28-inch clear opening width and no sill height restriction satisfies IRC R310. This is actually a common solution for walk-out basement bedrooms that have a door to a window well or exterior landing.

What's the difference between the bedroom and basement egress minimum?

IRC R310.2.1 allows a 5.0 sq ft minimum net clear opening for grade-floor openings (windows where the sill is within 44 inches of the finished grade outside). All other sleeping rooms — upper floors and below-grade basements — require the full 5.7 sq ft. This calculator reflects the room type you select.

Do I need a window well for a below-grade egress window?

Not always, but usually. If the window is below exterior grade, earth is against the window and the opening can't be used for escape. A window well creates the clear space needed. IRC requires the window well to have minimum horizontal dimensions of 36 inches when the sill is 44 inches or more below grade, and a permanently affixed ladder if the well is deeper than 44 inches.