About the Egress Window Calculator
This egress window calculator checks whether a bedroom or basement window can serve as an emergency escape and rescue opening under the International Residential Code (IRC). Enter the net clear opening width and height — the actual open space you could climb through with the sash fully open — plus the sill height, and it tests the opening area, minimum width, minimum height and maximum sill height, then checks the window well if the sill is below grade.
It is for homeowners finishing a basement, buyers checking whether a “bedroom” is legally a bedroom, and contractors choosing a replacement window. The rules used are the IRC minimums for emergency escape and rescue openings: at least 5.7 sq ft of net clear opening (5.0 sq ft for grade-floor openings), at least 24 inches high and 20 inches wide, a sill no more than 44 inches above the floor, and window wells of at least 9 sq ft with 36 inches of width and projection, with a permanent ladder or steps once a well is deeper than 44 inches.
The rules are taken from the 2021 IRC, Section R310, and are unchanged in the 2024 IRC, where the section is renumbered R319. A grade-floor opening is one whose sill (the bottom of the clear opening) is no more than 44 inches above or below the finished ground outside; it needs only 5.0 sq ft. Deeper basement windows and upper-floor windows need 5.7 sq ft. Your state or city may use an older edition or local amendments, so confirm with your building department before buying a window.
How to use the egress window calculator
- 1Open the window fully and measure the clear width and height of the opening, not the frame or rough opening.
- 2Measure from the finished floor to the bottom of the clear opening for the sill height.
- 3Choose whether the window is in a basement, at grade level or on an upper floor.
- 4If the sill is below ground, enter the window well width, projection and depth.
- 5Review the pass/fail table and fix any failing item before you buy or install.
Formula and method
Net clear opening is the unobstructed space when the window is opened normally from inside — for a casement that is the clear width and height with the sash swung open, for a double-hung or slider only the open half counts. Multiply clear width by clear height in inches and divide by 144 to get square feet. The IRC requires every emergency escape and rescue opening to have at least 5.7 sq ft (5.0 sq ft at grade-floor level), and independently at least 24 inches of clear height and 20 inches of clear width, so a 20 × 24 opening (3.3 sq ft) is not enough on its own: one dimension must be larger.
The calculator also reports the smallest height that works with your width (and vice versa): the larger of the dimensional minimum and the required area divided by the other dimension. The sill — the bottom of the clear opening — may be no more than 44 inches above the finished floor. Where the sill is below ground, a window well must give at least 9 sq ft of floor area with at least 36 inches of width and projection, and wells deeper than 44 inches need a permanently fixed ladder or steps.
- W, H
- Net clear opening width and height (in)
- Sill
- Finished floor to bottom of clear opening (in)
- Ww, Wp
- Window well width and projection (in)
Worked examples
Basement casement in a 4-ft-deep well
A 24 × 36 in clear opening is 864 ÷ 144 = 6.0 sq ft, above the 5.7 sq ft minimum, and both dimensions exceed 20 and 24 in. At 24 in wide the height could be as small as 5.7 × 144 ÷ 24 = 34.2 in. The 40 × 36 in well is 10 sq ft, but at 48 in deep it needs a permanent ladder or steps.
Double-hung upper-floor bedroom window that falls short
The open lower sash gives 28 × 22 = 616 sq in, only 4.28 sq ft, and 22 in is under the 24 in minimum height. With a 28-in width you would need 5.7 × 144 ÷ 28 = 29.3 in of clear height — a casement or a taller unit is the usual fix.
Grade-floor slider with a high sill
At grade level only 5.0 sq ft is required, and 30 × 24 = 720 sq in is exactly 5.0 sq ft. The opening passes on size, but the 46-in sill is 2 in above the 44-in limit, so it fails until the sill is lowered or a permanent step is added.
Frequently asked questions
What size does an egress window need to be?+
Under the IRC the net clear opening must be at least 5.7 sq ft (5.0 sq ft for grade-floor openings), at least 24 inches high and at least 20 inches wide, with the sill no more than 44 inches above the floor. Those are clear-opening dimensions with the window open, so the window unit itself is larger.
Does a basement bedroom need an egress window?+
Yes. The IRC requires basements with habitable space and every sleeping room to have at least one emergency escape and rescue opening; where a basement has bedrooms, each bedroom needs its own. A basement used only for mechanical equipment and no larger than 200 sq ft is exempt, and in a home with an automatic sprinkler system basement bedrooms can skip their own openings if the basement has two means of egress, or one means of egress plus one escape opening.
How big does an egress window well have to be?+
The well must have a horizontal area of at least 9 sq ft, with a width and projection of at least 36 inches each, and must let the window open fully. Wells deeper than 44 inches need a permanently attached ladder or steps with rungs at least 12 inches wide, projecting 3 inches and spaced no more than 18 inches apart.
Can a double-hung window be an egress window?+
It can, but only the open sash counts toward the clear opening, so it needs to be large: for example, a clear opening 34 inches wide must be at least 24.1 inches high to reach 5.7 sq ft. Casement windows give nearly their whole frame as clear opening, which is why they are popular for egress.
Do replacement windows have to meet current egress sizes?+
Not always. The IRC (R310.5 in 2021, R319.5 in 2024) exempts a replacement window from the size and sill rules if it is the manufacturer’s largest standard size that fits the existing frame or rough opening, is the same operating style or a style with an equal or larger opening, and is not part of a change of occupancy. New openings, such as a window cut in to create a new basement bedroom, must meet the full rules.
Is the egress opening measured from the rough opening?+
No. Egress is based on the net clear opening — the actual space you can pass through with the window opened normally from the inside, measured between the sash, stops and frame. Window manufacturers list the clear opening dimensions and area for egress-rated units.
Results are general estimates and not legal advice. Laws vary by jurisdiction — consult a qualified attorney.
Sources
- International Residential Code 2021, Section R310 Emergency Escape and Rescue Openings (UpCodes, Utah adoption)
- International Residential Code 2021, Chapter 2 definition of grade-floor emergency escape and rescue opening (UpCodes)
- Residential Code of New York State 2025 (adopts IRC 2024), Section R319 Emergency Escape and Rescue Openings (UpCodes)