How the Egress Window Size Checker works
Check a bedroom or basement window against the code size rules for an emergency escape opening, one rule at a time, before you frame the opening or order the window.
How this is calculated
The residential code calls an egress window an emergency escape and rescue opening. Section R310 of the 2021 IRC requires one in every sleeping room, in a basement and in a habitable attic (with a few exceptions this tool does not evaluate), and sets four size rules for it. This tool checks each rule separately, because passing three of them tells you nothing about the fourth.
- Area. The net clear opening must be at least 5.7 sq ft. For a grade-floor opening the minimum is 5 sq ft. The code defines that as an opening whose bottom is no more than 44 in above or below the finished ground next to it.
- Height. The net clear opening must be at least 24 in high.
- Width. The net clear opening must be at least 20 in wide.
- Height off the floor. The bottom of the clear opening must be no more than 44 in above the floor.
Where the bottom of the clear opening is below the ground outside, the code also requires a well in front of it, which the 2021 IRC calls an area well. Its horizontal area must be at least 9 sq ft, and its width and its projection from the wall must each be at least 36 in. A well with a vertical depth of more than 44 in needs a permanently fixed ladder or steps, which may reach up to 6 in into those dimensions.
net clear area (sq ft) = clear width (in) × clear height (in) ÷ 144
passes when area ≥ 5.7 sq ft (5 sq ft where the bottom is 0 to 44 in above the ground)
and clear height ≥ 24 in
and clear width ≥ 20 in
and floor to bottom of opening ≤ 44 in
and below the ground: the window well passes too
least height at your width = the larger of 24 in and (minimum area × 144 ÷ width)
well area, rectangular = width × projection ÷ 144
well area, rounded = π ÷ 4 × width × projection ÷ 144The trap is in the first three rules. An opening exactly 20 in wide and 24 in high meets both dimension rules and has only 3.33 sq ft, far short of either area. One dimension has to be well over its minimum. The table gives the least clear height for a range of clear widths. Both figures in a cell are rounded up, the fraction to the next 1/16 in and the decimal to the next 0.01 in, so the checker on the tool page passes every number in it.
| Clear width | Least clear height, 5.7 sq ft | Least clear height, 5 sq ft (grade floor) |
|---|---|---|
| 20" | 41 1/16" (41.04") | 36" |
| 22" | 37 5/16" (37.31") | 32 3/4" (32.73") |
| 24" | 34 1/4" (34.2") | 30" |
| 26" | 31 5/8" (31.57") | 27 3/4" (27.7") |
| 28" | 29 3/8" (29.32") | 25 3/4" (25.72") |
| 30" | 27 3/8" (27.36") | 24" |
| 32" | 25 11/16" (25.65") | 24" |
| 34" | 24 3/16" (24.15") | 24" |
| 36" | 24" | 24" |
What to measure. The code says the net clear opening dimensions are those that result from normal operation of the opening, and that the opening has to work from inside without keys, tools or special knowledge. It does not define the term any further. This tool takes it as the free hole left when the window is opened the way it is meant to open: the space between whatever is still in the way, such as a sash that does not move, the frame, the stops and the hardware. Measure it on the window itself or take it from the manufacturer's clear opening figure. It is not the same as the frame size or the size on the label.
Where the wording can be read two ways, this tool takes the reading that fails more, and the form enforces it:
- The 5 sq ft minimum, above the ground only. The code's definition of a grade-floor opening reaches 44 in below the adjacent finished ground as well as above it. Beside a window well, the ground next to the opening could mean the floor of the well or the yard around it, and the code does not say which. So this tool gives the 5 sq ft minimum only to an opening you say is at or above the ground, with no well, and only once you enter a height of 44 in or less from the ground up to its bottom. Every opening below the ground is held to 5.7 sq ft. That can fail an opening of 5 to 5.7 sq ft behind a shallow well that a building department might accept; the result says so when it happens. The 2018 edition gave the smaller minimum to any below-grade opening; the 2021 and 2024 editions do not.
- Below the ground, the well is part of the answer. The form asks whether the bottom of the opening is below the ground outside. Until that is answered and the height off the floor is entered, the result reads "Not checked yet", never a pass. If the answer is yes, every well field is required and a failing well fails the window.
- Well depth, the deepest way. The code says "vertical depth" and gives no point to measure from. This tool asks for the depth from the highest point of the well's top edge (the rim of the well wall, or the ground beside it if that is higher) to the lowest point of the well floor. A well 43 in below the ground with a 3 in rim is 46 in deep here and needs a ladder.
- No rounding in your favour. Both handouts listed under Sources print 20 in by 41 in as a 5.7 sq ft opening. It is 5.694 sq ft, 0.8 sq in short, and this tool fails it and says why; your inspector may accept the handout figure, so ask. Areas are shown rounded down, required dimensions rounded up, and your own measurements as you typed them.
- Exactly at a limit passes, anything past it does not. The sill rule is a maximum that 44 in itself satisfies, and the ladder rule applies only to a well deeper than 44 in, so a 44 in sill passes and a 44 in deep well needs no ladder. A sill of 44 1/16 in fails.
- Numbers that might be in the wrong unit are refused. Every field is in inches. A bare number under 12 for the height off the floor, the height above the ground or the well depth could be feet, and a bare number over 72 for the clear opening (over 96 for the well) could be centimetres; in each case reading it as inches would be the kinder mistake. The field asks you to type the unit, as in 4' or 4", and every value is repeated under the verdict as it was read. These bounds are this tool's, not the code's.
Curved wells. The code does not say how width and projection apply to a well that is not a rectangle. This tool supports two shapes. A rectangular well has an area of width times projection. A rounded well is taken as half an oval with its flat side on the house wall, with an area of π ÷ 4 (0.785) × width × projection, and the 36 in minimums are checked at its widest and deepest points. That last choice is this tool's reading, not the stricter one, so a rounded well never gets a plain pass on those two lines: they are tagged Assumed, and the verdict reads "Meets the size rules if your building department accepts a rounded well measured at its widest points". The shape matters: a rounded well 40 in by 36 in has 7.85 sq ft, not the 10.00 sq ft of a rectangle that size. For any other shape, get the horizontal area from the maker or measure it; this tool cannot work it out.
Not checked here. Size is only part of the section. The tool does not check that the window opens without keys or tools; bars, grilles, covers or screens over the opening or the well; window opening control devices; the clear path required under a deck or porch; that the opening leads to a yard or public way; that the well lets the window open fully; that the ladder or steps reach no more than 6 in into the required well dimensions and are not blocked by the open window; their rung and tread sizes; or well drainage. A separate rule (R312.2.1) requires window fall protection where the bottom of an opening is less than 24 in above the floor and more than 72 in above the ground outside; the result points to it for a low sill but does not check it.
What the tested examples cover. The examples marked Published come from two building department handouts: a warning that the two minimum dimensions do not make the area, one drawn opening, six pairs from their width and height charts, and one well size. Neither handout prints a worked example for the sill limit, the ladder rule, a below-ground opening or a rounded well; those are tested against examples worked by hand from the code text.
Scope. Windows in one- and two-family dwellings and townhouses built under the International Residential Code, checked against the 2021 IRC. The 2018 and 2024 texts were read as well. They give the same figures; the 2018 edition numbers them differently and words the grade-floor exception more broadly, and the 2024 edition moves the whole section to R319. The edition your jurisdiction has adopted, with its local amendments, is what governs, so confirm with your building department before you cut a foundation wall. This tool does not cover buildings under the International Building Code, doors used as the escape opening, or the separate provisions for replacement windows and for existing basements, which can allow a smaller opening.
What this calculator is tested against
This tool cannot be published unless it reproduces every example below. 9 are copied from a published source. 20 were worked by hand from the cited rule.
| Example | Expected | Basis |
|---|---|---|
| Minimum width with minimum height, 20 in by 24 in: the handout warns this does not give the area | width passes, height passes, area fails | Published Jersey County, IL, Building Handout: Emergency Escape and Rescue Openings (IRC R310) |
| The handout drawing: 34 1/2 in wide by 24 in high, bottom 44 in above the floor | area, height, width and sill all pass | Published Jersey County, IL, Building Handout: Emergency Escape and Rescue Openings (IRC R310) |
| Chart pair 24 in wide by 34.2 in high, for 5.7 sq ft | least height 34.2 in, and the pair passes the area | Published Jersey County, IL, Building Handout: Emergency Escape and Rescue Openings (IRC R310) |
| Chart pair 22 1/2 in wide by 36.5 in high, for 5.7 sq ft | least height 36.5 in on the chart (36.48 to two decimals), and the pair passes the area | Published Jersey County, IL, Building Handout: Emergency Escape and Rescue Openings (IRC R310) |
| Chart pair 30 in wide by 27.4 in high, for 5.7 sq ft | least height 27.4 in on the chart (27.36 to two decimals), and the pair passes the area | Published Jersey County, IL, Building Handout: Emergency Escape and Rescue Openings (IRC R310) |
| Grade-floor chart pair 20 in wide by 36 in high, bottom 44 in above the ground | 5 sq ft minimum, least height 36 in, and the pair passes the area | Published City of Spearfish, SD, Egress/Escape Windows and Window Wells (2021 IRC) |
| Grade-floor chart pair 24 in wide by 30 in high, bottom 44 in above the ground | 5 sq ft minimum, least height 30 in, and the pair passes the area | Published City of Spearfish, SD, Egress/Escape Windows and Window Wells (2021 IRC) |
| Grade-floor chart pair 30 in wide by 24 in high, bottom 44 in above the ground | 5 sq ft minimum, least height 24 in, and the pair passes the area | Published City of Spearfish, SD, Egress/Escape Windows and Window Wells (2021 IRC) |
| Rectangular window well 36 in by 36 in (the window and the depth are not from the handout) | 9 sq ft | Published City of Spearfish, SD, Egress/Escape Windows and Window Wells (2021 IRC) |
| 20 in wide by 41.04 in high: exactly 5.7 sq ft | 820.8 sq in = 5.70 sq ft, exactly at the limit, passes | By hand 2021 IRC R310.2.1 (5.7 sq ft) and R310.2.2 (24 in high, 20 in wide) |
| 20 in wide by 41 in high, the first entry of both handout charts cited here | 820 sq in = 5.69 sq ft, 0.8 sq in short of 5.7, fails (the handouts list it as 5.7) | By hand 2021 IRC R310.2.1 (5.7 sq ft) and R310.2.2 (24 in high, 20 in wide) |
| 36 in wide by 24 in high: height exactly at its minimum | 6.00 sq ft, passes. At 24 in high the width must be at least 34.2 in | By hand 2021 IRC R310.2.1 (5.7 sq ft) and R310.2.2 (24 in high, 20 in wide) |
| 36 in wide by 23 15/16 in high: enough area, not enough height | 5.98 sq ft passes the area, but the height is under 24 in, fails | By hand 2021 IRC R310.2.1 (5.7 sq ft) and R310.2.2 (24 in high, 20 in wide) |
| 19 15/16 in wide by 48 in high: enough area, not enough width | 6.64 sq ft passes the area, but the width is under 20 in, fails | By hand 2021 IRC R310.2.1 (5.7 sq ft) and R310.2.2 (24 in high, 20 in wide) |
| 30 in by 24 in, bottom 44 in above the ground outside | grade-floor opening: 5.00 sq ft against 5 sq ft, exactly at both limits, passes | By hand 2021 IRC R310.2.1 Exception (5 sq ft at a grade-floor opening) and R202 (within 44 in of the ground) |
| The same 30 in by 24 in opening, bottom 44 1/4 in above the ground | not a grade-floor opening: 5.00 sq ft against 5.7 sq ft, fails | By hand 2021 IRC R310.2.1 Exception (5 sq ft at a grade-floor opening) and R202 (within 44 in of the ground) |
| The same 30 in by 24 in opening, height above the ground not measured | held to 5.7 sq ft until the height is entered, fails | By hand 2021 IRC R310.2.1 Exception (5 sq ft at a grade-floor opening) and R202 (within 44 in of the ground) |
| Below-ground 30 in by 24 in opening behind a rectangular well 40 in by 36 in, 90 in deep, with a ladder | 5.00 sq ft against 5.7 sq ft, fails, although the well itself passes | By hand 2021 IRC R310.2.1 and its Exception, read strictly: no 5 sq ft minimum for an opening below the ground |
| Below-ground opening with no well described | fails: the well is required and there is nothing to check | By hand 2021 IRC R310.4 (a below-grade opening must have an area well) |
| Position against the ground not answered | not a pass: the well question is still open | By hand 2021 IRC R310.4 (a below-grade opening must have an area well) |
| Height above the floor not entered | not a pass: the sill rule has not been checked | By hand 2021 IRC R310.2.3 (44 in above the floor) |
| Bottom of the clear opening exactly 44 in above the floor | exactly at the limit, passes | By hand 2021 IRC R310.2.3 (44 in above the floor) |
| Bottom of the clear opening 44 1/4 in above the floor | 1/4 in too high, fails | By hand 2021 IRC R310.2.3 (44 in above the floor) |
| Rectangular well 36 in by 36 in, 44 in deep, no ladder | 9.00 sq ft, every well limit met exactly, no ladder needed at 44 in, passes | By hand 2021 IRC R310.4.1 (9 sq ft, 36 in each way) |
| Rectangular well 48 in wide projecting 30 in | 10.00 sq ft is enough area, but the projection is under 36 in, fails | By hand 2021 IRC R310.4.1 (9 sq ft, 36 in each way) |
| Rounded well 40 in wide projecting 36 in | 1131 sq in = 7.85 sq ft, under 9, fails (a rectangle that size would be 10 sq ft) | By hand 2021 IRC R310.4.1 (9 sq ft), with the area of half an oval: π ÷ 4 × width × projection |
| Rounded well 46 in wide projecting 36 in | 1300.6 sq in = 9.03 sq ft, passes | By hand 2021 IRC R310.4.1 (9 sq ft), with the area of half an oval: π ÷ 4 × width × projection |
| Well 45 in deep with no ladder or steps | deeper than 44 in, so a permanent ladder or steps is required, fails | By hand 2021 IRC R310.4.2 (ladder or steps over 44 in deep) |
| The same 45 in deep well with a permanent ladder | passes | By hand 2021 IRC R310.4.2 (ladder or steps over 44 in deep) |
Sources
- 2021 International Residential Code, Section R310, Emergency escape and rescue openingsRead on UpCodes, on the page it titles "Texas IHB Residential Code 2021", which adopts the 2021 IRC with amendments; none of the R310 sections is marked there as amended. Every limit used here comes from R310.2.1, R310.2.2, R310.2.3, R310.4, R310.4.1 and R310.4.2 of this text. The window fall protection rule mentioned in the notes, R312.2.1, is on the same page. UpCodes is a third-party copy and was not compared with the ICC edition.
- 2021 International Residential Code, Section R202, definition of a grade-floor emergency escape and rescue openingSame UpCodes publication. Source of the 44 in band, above or below the adjacent finished ground, that decides whether the 5 sq ft minimum applies. This tool applies only the "above" half; see How this is calculated.
- 2018 International Residential Code, Section R310Read for comparison on the UpCodes page titled "Texas State Residential Code Board of Plumbing Examiners 2018", listed as adopting the 2018 IRC without amendments. Same figures under different numbers (area, height and width in R310.2.1; sill height R310.2.2; window wells R310.2.3). Its exception gives the 5 sq ft minimum to below-grade openings as well as grade-floor ones; the 2021 text does not.
- 2024 International Residential Code, Section R319, Emergency escape and rescue openingsRead for comparison on the UpCodes page titled "Texas Windstorm Insurance Association Residential Code 2024", listed as adopting the 2024 IRC without amendments. The section moved from R310 to R319; the figures used in this tool are the same.
- Jersey County, Illinois, Building Handout: Emergency Escape and Rescue OpeningsCounty handout. It warns that the minimum width and the minimum height together do not give the minimum area, draws a 34 1/2 in by 24 in opening, and prints a chart of width against height for 5.7 sq ft. Five of the tested examples are taken from it. Its drawing and its chart also give 20 in by 41 in as a 5.7 sq ft opening; that size is 820 sq in, 5.69 sq ft, and this tool differs from the handout by failing it.
- City of Spearfish, South Dakota, Egress/Escape Windows and Window Wells (2021 IRC)City handout with charts of width against height for 5.7 and 5.0 sq ft and the 36 in by 36 in, 9 sq ft window well. Four of the tested examples are taken from it: three pairs from the 5.0 sq ft chart and the well. Its 5.7 sq ft chart is printed to the quarter inch and lists 41.00 in at 20 in wide and 24.00 in at 34 in wide, where 5.7 sq ft needs 41.04 in and, rounded up to the hundredth, 24.15 in (820.8 ÷ 34 = 24.14...); that chart is not used.
- Boulder County, Colorado, publication B10: Emergency Escape and Rescue Openings (2021 IRC)Read as a second copy of the 2021 wording. It gives the same figures for the opening and for area wells. It has no worked example.