Free Construction Tool

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.

Net clear opening width (operable)
in
Net clear opening height (operable)
in
IRC max 44" from finished floor
in
How the window opens
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.

RequirementIRC MinimumNotes
Net clear opening area5.7 square feetGrade-floor windows: 5.0 sq ft minimum
Net clear opening width20 inchesMust be achievable simultaneously with height
Net clear opening height24 inchesMust be achievable simultaneously with width
Maximum sill height44 inches above finished floorMeasured 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:

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.

WELL DEPTH: 48" PROJECTION: 36" NET H: 24" SILL: 36" GRADE GRAVEL BASEMENT FLOOR FOUNDATION WALL
A below-grade egress window at default calculator values: 24" net clear height, 36" sill, 36" well projection, 48" well depth.

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

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:

For framing material estimates, use our lumber calculator and drywall calculator. For total project budgeting, see our project cost estimation guide.

Frequently Asked Questions
What is the minimum size for an egress window? ▾
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.