Window size calculator
Enter the size of the room and choose a rule. The calculator gives the glass and openable area the room needs, the window size that gives them and the escape opening for a bedroom, then checks your windows.
How the calculator works
- Floor area. The room length × width, or the floor area you enter.
- Daylight. The rule's share of the floor area: glass of at least 8% under the IRC, window openings of at least 1/8 in Germany and Catalonia, and 1/6 in Porto Alegre.
- Fresh air. The share that must open: 4% under the IRC, 1/20 in England, 1/8 in Italy and 1/12 in Porto Alegre. A casement opens fully, a hung or sliding window opens half, and a fixed window does not open.
- Window size. Rules that count glass leave out the frame. The calculator takes the frame as 30% of the window, which you can change under More options, and finds the smallest total window size, frame included, that meets both shares.
- Escape window. The smallest clear opening, when the window is open, and the highest its bottom may be. The clear opening is much smaller than the window, so enter it from the maker's size chart to check it.
- Your windows. Number × width × height, less the frame where the rule counts glass, and only the part that opens for fresh air.
The frame share differs between windows. In Ply Gem's vinyl single-hung chart, the frame takes 26% of a 3 × 5 ft (3050) window, 22% of a 3 × 8 ft window and 34% of a 2 ft 10 in × 3 ft window. The maker's chart gives the glass area, often called the daylight opening.
Worked example
A 10 × 12 ft bedroom in the United States with one 3050 single-hung window, 36 × 60 in, and a sill 24 in above the floor.
| Step | Calculation | Result |
|---|---|---|
| Floor area | 12 ft × 10 ft | 120 sq ft (11.15 m²) |
| Glass for daylight | 8% × 120 sq ft | 9.6 sq ft (0.89 m²) |
| Area that opens | 4% × 120 sq ft | 4.8 sq ft (0.45 m²) |
| Window size you need | 9.6 ÷ 0.70, and 4.8 ÷ (0.5 × 0.70) | 13.7 sq ft (1.27 m²) |
| Your window | 36 × 60 in = 15 sq ft; glass 15 × 0.70; half of the glass opens | 10.5 sq ft of glass, 5.25 sq ft opens: both pass |
| Escape opening | 30 7/8 × 26 5/8 in, from Ply Gem's chart | 5.71 sq ft (0.53 m²): passes 5.7 sq ft |
A 12 × 12 ft bedroom of 144 sq ft (13.4 m²) needs 11.5 sq ft of glass and 5.8 sq ft that opens, so the same window is too small. A 3060 window, 36 × 72 in, gives 12.6 sq ft of glass and 6.3 sq ft that opens.
Window rules by country
The share is of the floor area of the room. Values are for living rooms and bedrooms in homes.
| Rule | Daylight | Fresh air | Escape window |
|---|---|---|---|
| United States, IRC 2021 | Glass at least 8% (R303.1) | Openable area at least 4% (R303.1) | Clear opening at least 5.7 sq ft (0.53 m²), 20 in (51 cm) wide and 24 in (61 cm) high; bottom at most 44 in (1.12 m) above the floor (R310.2) |
| England, Approved Documents F and B | No size rule | Openings at least 1/20 for windows that open 30° or more and sash windows, 1/10 for windows that open 15° to 30° (ADF table 1.4) | Openable area at least 0.33 m² (3.55 sq ft), 450 mm (17 3/4 in) wide and high; bottom at most 1,100 mm (43 1/4 in) above the floor (ADB paragraph 2.10) |
| Germany: MBO, NRW, Brandenburg | Window openings (rough opening) at least 1/8 | No size rule | Clear 0.90 × 1.20 m (35 3/8 × 47 1/4 in); bottom at most 1.20 m above the floor |
| Germany: Bavaria | Window openings (rough opening) at least 1/8 (Art. 45) | No size rule | Clear 0.60 m (23 5/8 in) wide and 1.00 m (39 3/8 in) high; bottom at most 1.20 m (Art. 35) |
| Italy, DM 5 July 1975 | Average daylight factor at least 2% | Openable window area at least 1/8 (art. 5) | No size rule |
| Spain: Catalonia, Decree 141/2012 | Openings at least 1/8, counted up to 2.50 m (8 ft 2 in) above the floor | Direct from outside, no size rule | No size rule |
| Brazil: Porto Alegre, LC 284/1992 | Openings at least 1/6 (annex 4) | Openings at least 1/12 (annex 4) | No size rule |
- United States. Every bedroom and every basement needs an escape opening (R310.1). At grade floor, 5 sq ft (0.46 m²) is enough. Glass is not needed where artificial light and mechanical ventilation replace it (exceptions to R303.1). More in window sizes and egress window size.
- England. In a house, an escape window serves habitable rooms other than kitchens that do not open onto a hall leading to an exit, on the ground floor, and on upper floors up to 4.5 m above the ground with one stair and no protected stairway (ADB paragraphs 2.1 and 2.2). A 2026 edition of Approved Document F, with the same table, applies from 24 March 2027.
- Germany. The 1/8 rule is for rooms meant for people to stay in (Aufenthaltsräume), such as living rooms and bedrooms. It counts the rough opening in the wall, frame included. The escape window applies where a window is the second escape route, reached with the fire service's rescue equipment. In North Rhine-Westphalia, 0.80 × 1.00 m is enough where a change of use makes new living space. More in Fenstermaße (German).
- Italy. The decree does not say whether the frame counts. The calculator counts the parts that open, frame included; your town's building rules say how to measure. More in misure finestre (Italian).
- Spain and Brazil. These rules are regional and local. More in medidas de ventanas (Spanish) and medidas de janela (Portuguese).
Questions
How do you calculate the window size for a room?
Multiply the floor area by the share in your code. Under the IRC, the glass must be at least 8% of the floor area and the part that opens 4%. A 120 sq ft room needs 9.6 sq ft of glass, which a window of about 13.7 sq ft gives when 30% of it is frame.
How big does a bedroom window have to be?
Under the IRC, one window must open at least 5.7 sq ft (0.53 m²), at least 20 in wide and 24 in high, with the bottom of the opening no more than 44 in above the floor. Ply Gem's 3050 single-hung window, 3 × 5 ft, just meets this.
Does the window frame count?
Under the IRC, only the glass counts for daylight. In Germany, the rough opening in the wall counts, frame included. Italy's decree does not say, so your town's building rules decide.
Does a fixed window count?
For daylight, yes. It does not count for the area that opens, and it cannot be an escape window.
What is the 1/8 rule for windows?
In Germany, Italy and Catalonia, windows must be at least one eighth of the floor area: 2 m² (21.5 sq ft) for a 16 m² (172 sq ft) room. Germany counts the rough opening, Italy only the parts that open.
Sources
- International Code Council: Significant Changes to the IRC 2021, section R303.1 with its 2021 text
- Boulder County, Colorado: Emergency escape and rescue openings, 2021 IRC sections R310.1 to R310.2.3
- UK government: Approved Document F, volume 1, 2021 edition, paragraph 1.29 and table 1.4
- UK government: Approved Document F, volume 1, 2026 edition, table 1.4
- UK government: Approved Document B, volume 1, 2019 edition with amendments, paragraphs 2.1, 2.2 and 2.10
- Bauministerkonferenz: Musterbauordnung, version of 25 September 2020, § 37 (5) and § 47 (2) (German)
- Bavaria: Bayerische Bauordnung, Art. 45 (German)
- Bavaria: Bayerische Bauordnung, Art. 35 (German)
- North Rhine-Westphalia: Landesbauordnung 2018, §§ 37 and 46 (German)
- Brandenburg: Brandenburgische Bauordnung, §§ 37 and 47 (German)
- University of Ferrara: text of the DM Sanità of 5 July 1975, art. 5 (Italian)
- Col·legi d'Arquitectes de Catalunya: Decree 141/2012, new dwellings, opening area (Catalan)
- Porto Alegre: Lei Complementar 284/1992, art. 97 and annex 4 (Portuguese)
- Ply Gem: 1500 Vinyl Collection size guide, single-hung net clear and daylight openings
Checked on 15 November 2026. Codes change and differ between countries, states and towns. Ask your local building department before you build.