Calculators
Check clear opening width, height, sill height, and net area for bedrooms and basement sleeping rooms. Live diagram updates as you type.
Check rise, run, headroom, handrail height, and stair width against IRC 2021 residential building code requirements.
Verify minimum ceiling heights for habitable rooms, hallways, bathrooms, and basements — including sloped ceiling compliance.
Allowable joist spans from IRC 2021 Table R507.6 for 4 lumber species groups, 3 spacings, and all joist sizes. Live plan and cross-section diagrams.
Build a wall assembly with dropdowns and get an instant IECC 2021 climate zone pass/fail. Covers basements, above-grade walls, attics, and floors.
Code Guides & Articles
Room-by-room minimums, sloped ceiling rules, beam and duct exceptions, and common inspection failures.
Every code requirement before you finish a basement: egress, ceiling height, stair, insulation, smoke alarms, and permits.
Minimum clear opening dimensions, sill height limits, window well requirements, and the most common compliance failures.
Complete IRC stair code reference including the uniformity rule, Blondel comfort formula, and common stair failures.
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
- Sill height over 44 inches. The most common basement failure. When foundation walls are 8 feet tall and the window sits near the top of the wall, the finished floor puts the sill at 50+ inches. A window well and ladder is typically the fix.
- Net clear width too narrow. The minimum 20-inch clear width is easy to miss with double-hung windows that have wide sash rails. Measure the actual opening, not the glass.
- Minimum opening height not met. At least 24 inches of net clear height is required. Some older slider windows fall just short when partially obstructed by a screen or frame.
- Net clear area passes individually but fails combined. The minimum is 5.7 sq ft for most rooms, except ground-floor rooms at grade which require only 5.0 sq ft. Run the area calculation even if width and height individually pass — a 20″ × 36″ window is 720 sq in = 5.0 sq ft, which passes the 5.0 threshold but fails the 5.7 sq ft basement requirement.
- Egress window in a bathroom or closet. The window must be in the sleeping room itself — a window in an adjacent bathroom doesn't satisfy the egress requirement for the bedroom.
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.