Egress Window Calculator – Code Compliance, Well Size & Gravel
Reviewed and updated: August 2026
Check IRC egress window code compliance and calculate window well dimensions, drainage gravel, and a well cover size recommendation for any basement sleeping room.
Enter your window dimensions, sill height, and window well details to get a full compliance check and materials estimate. Always verify requirements with your local building department before installation.
Window Dimensions
Net clear opening width (operable)
in
Net clear opening height (operable)
in
IRC max 44" from finished floor
in
How the window opens
Window Well
Interior width of the well
in
How far it extends from the wall
in
Top of well to bottom of well
in
Depth of gravel at well bottom
COMPLIANCE CHECK
Net Clear Area
—
sq ft (min 5.7)
Net Clear Width
—
inches (min 20)
Net Clear Height
—
inches (min 24)
Sill Height
—
inches (max 44)
Overall Compliance
—
Well Compliance
—
Well Area
—
sq ft
Gravel Needed
—
cu ft / 50 lb bags
Cover Size
—
well cover (approx)
What Is an Egress Window and Why Is It Required?
An egress window is a window large enough for an occupant to escape through in an emergency and for a firefighter to enter. The International Residential Code (IRC) requires egress windows in every sleeping room, including basement bedrooms. Without a code-compliant egress window, a basement room cannot legally be classified or sold as a bedroom in most jurisdictions.
The requirement exists because basements present a specific life-safety risk: in a fire, smoke and heat rise, cutting off stairway access quickly. A properly sized egress window provides a secondary means of escape when the primary exit is blocked and allows emergency responders to reach occupants from outside.
Egress window installation involves cutting through a foundation wall, framing the opening, installing the window unit, and building a window well with drainage. For the framing lumber needed, use our lumber calculator. For drywall around the interior opening, see our drywall calculator.
IRC Egress Window Requirements
The IRC sets four minimum requirements that must all be met simultaneously. Passing three out of four is not sufficient; all four must be satisfied for the window to qualify as egress.
Requirement
IRC Minimum
Notes
Net clear opening area
5.7 square feet
Grade-floor windows: 5.0 sq ft minimum
Net clear opening width
20 inches
Must be achievable simultaneously with height
Net clear opening height
24 inches
Must be achievable simultaneously with width
Maximum sill height
44 inches above finished floor
Measured to the bottom of the opening
"Net clear opening" means the actual unobstructed space available when the window is fully opened. It is not the rough opening or the frame size. Window screens, grilles, and stops do not count toward the opening. For double-hung and sliding windows, only the operable sash area counts, typically 50% of the overall unit area. Casement and awning windows that open fully can count the full opening area.
Local codes may be more restrictive than the IRC. Some jurisdictions require a larger minimum area or a lower maximum sill height. Always verify with your local building department before purchasing the window unit. For the companion framing calculation, see our window rough opening calculator.
How Net Clear Opening Is Calculated
Net clear opening area depends on both the window dimensions and how the window operates:
Casement and awning windows: The full operable sash width and height count toward net clear opening area.
Double-hung windows: Only the lower sash opens fully; the usable net clear area is approximately 50% of the total unit area. To meet the 5.7 sq ft minimum with a double-hung, the overall unit must be roughly 11.4 sq ft or larger.
Single-hung windows: Same as double-hung; only one sash is operable, so 50% of the total area is usable for egress purposes.
Sliding windows: One panel slides open, approximately 50% of the total unit area is available for egress. The net clear width is also reduced to roughly the width of the operable panel, not the full frame width, since the fixed panel blocks the other half. A sliding window needs a noticeably wider overall frame than a casement window to hit both the 20" net clear width and the 5.7 sq ft area minimums at the same time.
This is one of the most common mistakes in egress window planning: selecting a double-hung window based on its overall dimensions and assuming it meets egress requirements, when the actual net clear area is only half the visible opening.
Window Well Requirements and Sizing
When an egress window is below grade, a window well must be installed to provide clearance for the window to open and for an occupant to exit. The IRC requires that window wells allow the window to be fully opened and provide a minimum horizontal projection and width.
A below-grade egress window at default calculator values: 24" net clear height, 36" sill, 36" well projection, 48" well depth.
Minimum horizontal projection: The well must extend at least 36 inches from the foundation wall to allow the occupant to stand and exit comfortably.
Minimum width: The well must be at least as wide as the window opening, with enough room on each side to allow egress movement. A minimum of 36 inches wide is standard practice for most installations.
Well depth and ladder requirement: If the window well is deeper than 44 inches below grade, a permanently affixed ladder or steps must be provided inside the well. The ladder must not encroach on the required well area.
Well covers: Window well covers are optional under the IRC but strongly recommended for safety and drainage. If a cover is installed, it must be openable from inside without a key or special tool and must support 750 pounds of live load.
Drainage and Waterproofing for Window Wells
A window well that collects water and directs it toward the foundation wall defeats its purpose and causes basement water intrusion. Proper drainage is not optional.
Gravel Drainage Layer
The bottom of every window well should have a minimum 6-inch layer of clean crushed stone or gravel to collect and disperse water away from the foundation. A 12-inch gravel layer is recommended in areas with heavy rainfall or clay soils. The gravel should connect to a perforated drain pipe if the soil drainage is poor, directing water to daylight or to a sump system.
Foundation Waterproofing
The foundation wall within the well should be waterproofed below grade. If the original foundation was not waterproofed, the well installation is a good opportunity to apply a coat of foundation waterproofing membrane or crystalline waterproofing to the exposed wall area. The window unit itself must be flashed and sealed at the rough opening perimeter with a self-adhering flashing tape before the window is set.
Well Wall Materials
Window wells are available in galvanized steel, aluminum, and plastic in standard sizes. Corrugated galvanized steel is the most common and most affordable. For a more finished appearance, precast concrete or masonry block wells provide a permanent, attractive solution. Custom-sized wells can be fabricated from galvanized sheet metal by a local metal shop.
Common Egress Window Mistakes
Selecting a double-hung or sliding window and calculating net clear area from the full frame size instead of 50% of the operable area
Meeting three of the four IRC requirements but missing the fourth: all four must be met simultaneously
Installing the window with a sill height above 44 inches: even if the window size passes, sill height is a separate requirement
Building a window well shallower than the window requires to fully open: the sash must clear the top of the well
Skipping the gravel drainage layer at the well bottom: water will pool and eventually infiltrate the foundation or window frame
Not pulling a permit: egress window installation requires a building permit in virtually every jurisdiction, and unpermitted work creates problems at resale
Planning Egress Window Costs
Egress window installation costs vary significantly based on foundation type. Cutting through a poured concrete foundation costs more than cutting through concrete block. Typical cost ranges:
Window unit (egress-rated casement): $300 to $800
Foundation cutting and framing: $500 to $1,500
Window well (standard galvanized): $100 to $400
Gravel drainage and installation: $100 to $300
Interior finishing (drywall, trim): $200 to $600
Total professional installation: $2,000 to $5,000 typical
The IRC requires a minimum net clear opening area of 5.7 square feet for basement egress windows (5.0 sq ft for grade-floor windows). The opening must also be at least 20 inches wide and 24 inches tall when fully open, and the sill must be no more than 44 inches above the finished floor. All four requirements must be met at the same time. A window that passes the area test but fails the sill height test does not qualify as egress.
What is net clear opening area? ▾
Net clear opening area is the actual unobstructed space available when the window is fully opened, not the frame size or rough opening size. For casement and awning windows that open fully, the net clear area equals the operable sash area. For double-hung, single-hung, and sliding windows, only half the unit area is usable for egress because only one sash or panel opens. This distinction is critical: a 36" x 48" double-hung window has a total area of 12 sq ft but only 6 sq ft of net clear opening.
Does every basement bedroom need an egress window? ▾
Yes. The IRC requires at least one egress window or door in every sleeping room, including basement bedrooms. A room without a code-compliant egress opening cannot legally be used or sold as a bedroom. This applies even in older homes; if a basement room is used as a bedroom, it needs an egress window regardless of when the house was built. Some jurisdictions may have additional requirements or grandfathering provisions for existing construction; check with your local building department.
Do I need a permit for an egress window? ▾
Yes, in virtually every jurisdiction. Egress window installation involves cutting through a structural foundation wall, which requires a building permit and inspection. The permit process ensures the opening is correctly sized, the framing is adequate, and the window meets egress requirements. Installing an egress window without a permit creates problems at resale; buyers and their lenders increasingly require that basement bedrooms have permitted egress windows. The permit and inspection process also protects you by confirming the work meets code before the wall is patched and finished.
How deep does a window well need to be? ▾
The window well must be deep enough to allow the window to fully open and for an occupant to exit comfortably. At minimum, the well should extend at least 6 inches below the window sill and provide at least 36 inches of horizontal projection from the wall. If the well is deeper than 44 inches below grade, a permanently installed ladder or steps must be provided inside the well. The bottom of the well should always have a gravel drainage layer of at least 6 inches to prevent water accumulation.