Doors, Windows & Trim: Calculators, Diagrams & Guides
4 calculators · 12 diagrams · 2 guides
Openings are where framing, weatherproofing, and finish carpentry meet — and each has its own math. A window order needs rough openings and egress compliance; an interior door needs the R.O. formula (slab plus 2 inches wide, plus 2½ tall); trim needs linear footage that accounts for every cased side of every opening plus the waste that coping and mitering create. The four calculators in this hub produce those takeoffs: window counts and glazing area, interior door schedules with hinges and hardware, garage door clearances and spring sizing, and room-by-room trim lists.
The diagrams carry the details that pass or fail inspections and keep water out: flashing sequence at window openings (sill pan first, jambs over, head last — order is everything), rough-opening anatomy, IRC egress minimums for bedroom windows, garage door headroom and side-room clearances, and the cope-versus-miter joint choice with crown spring angles.
The rules come from the IRC — R310 egress (5.7 sq ft clear opening, 24-inch minimum height, 44-inch maximum sill), R308 safety glazing zones — and from WMMPA millwork conventions on trim profiles. The classic estimating shortcut, 17 linear feet of casing per cased door side, is built into the trim math — a published convention, not our invention. Every calculator in this hub is free with no signup required.
Doors, Windows & Trim calculators
- Window CalculatorPer-window egress (IRC R310), safety glazing (R308), IECC U-factor & SHGC, flashing materials & 25C tax credit status. Free, no signup.
- Interior Doors CalculatorPer-door rough openings, hinge counts, locksets, pocket / barn / bifold / bypass / French / Dutch hardware, casing LF, and IRC code flags. Free, no signup.
- Garage Door CalculatorSize garage door springs (IPPT), cables, opener HP, hinges, struts & wind DP — per DASMA, UL 325, IRC R309.4, FBC §1620, CA SB 969. Free.
- Trim & Baseboards CalculatorCalculate baseboard, crown, casing & shoe in linear feet, sticks, fasteners & caulk — plus crown miter angles. WMMPA WM-LWM profiles. Free.
Guides & references
Doors, Windows & Trim · 12 diagrams
- Doors, Windows & Trim
Window flashing order — sill pan, jambs, head, then WRB, lapped to shed water
Flash a window bottom-up so each layer laps the one below: (1) sill pan first, turned up the jambs, (2) set the window, (3) jamb flashing, (4) head flashing, (5) WRB lapped down over the head. Reverse the order and water gets behind the wall.
- Doors, Windows & Trim
Insert vs. full-frame window replacement compared
Same rough opening, different result: an insert keeps the old jambs (no flashing, but less glass — only if the frame is sound), while full-frame tears out to the studs for a new flanged, fully flashed window with the most glass.
- Doors, Windows & Trim
Window code rules — bedroom egress (R310) and safety glazing (R308)
Two window code rules the calculator flags: a bedroom egress window needs a net clear opening ≥ 5.7 sq ft, ≥ 24″ high, ≥ 20″ wide, with the sill ≤ 44″ off the floor (R310); and tempered glass is required near doors, low panes, and wet/stair areas (R308).
- Doors, Windows & Trim
Inside trim corners — cope the joint instead of mitering it
Join inside corners with a coped joint, not a miter: the first piece butts into the corner and the second is back-cut to its profile. A mitered inside corner opens up because no drywall corner is truly square.
- Doors, Windows & Trim
Baseboard take-off — room perimeter minus the door openings
Trim take-off starts from the perimeter 2×(L+W). Baseboard = perimeter − door widths; crown stays the full perimeter (no door deduction). A 14×12 room with one 32″ door = 52 LF perimeter, 49.33 LF base run.
- Doors, Windows & Trim
Crown moulding spring angle and the compound miter it needs
Crown springs off the wall at a fixed angle (a WM 49 is 52°/38°), so corners are compound cuts. Cut flat on the saw table, a 38° crown at a 90° corner is MITER 31.62° / BEVEL 33.86°. Cope inside corners; miter outside ones.
- Doors, Windows & Trim
Garage-door clearances — headroom, backroom, and side room around the opening
A garage door needs room around the opening, not just the opening. Headroom above (12″ standard, 14″ with an opener, 4–6″ with a low-headroom kit), backroom behind for the horizontal track (door height + 18″), and ~3.75″ of side room at each jamb. This is exactly the fit-check behind the calculator’s headroom result.
- Doors, Windows & Trim
Torsion vs. extension garage-door springs — and the required safety cable
The spring counterbalances the door’s weight; the opener just guides it. Torsion springs mount on a shaft above the header (balanced, longer-lived, contained failure — today’s standard, needs ~10″ headroom). Extension springs run beside the tracks for low headroom — and every one MUST have a safety cable threaded through it (UL 325 / 16 CFR 1211) or a break flies loose.
- Doors, Windows & Trim
Garage-door section construction — single, double, and triple layer R-values
Two same-size doors can have wildly different R-values because the section construction differs, not the thickness. Single-layer steel = bare skin, R-0, lightest. Double-layer = steel + polystyrene + vinyl backer, R-6 to R-9. Triple-layer = steel + polyurethane + steel, R-12 to R-20 (the attached-garage standard — quietest and strongest, but heaviest).
- Doors, Windows & Trim
Interior door rough opening — door size plus 2 inches wide and 2½ inches tall for a pre-hung
The hole in the wall is bigger than the door. A standard pre-hung / slab needs a rough opening = door width + 2″ wide × door height + 2½″ tall — the extra inch each side and 2½″ at the head are the jamb plus shim gap that lets the frame be set plumb and level. Order the door by nominal size; frame to the RO.
- Doors, Windows & Trim
Interior door hinge schedule — how many hinges and the 5/10 placement rule
Hinge count is set by height: ≤60″ = 2, 61–90″ = 3, 91–120″ = 4 — so a standard 80″ door takes 3. Placement is the 5/10 rule: top hinge 5″ from the top, bottom hinge 10″ from the bottom, middle centered. Go ball-bearing for solid-wood / glass / fire-rated or any leaf over ~50 lb; add a hinge over 200 lb or 48″ wide.
- Doors, Windows & Trim
Door slab and track size vs. the opening — swing, barn, bypass, and pocket compared
The slab is not the opening. A swing door fills it (RO = door + 2″). A barn door is 4–6″ wider than the opening so it overlaps the gap, and its track runs ≥ 2× the slab width. A bypass uses two doors, each ≈ opening ÷ 2 + ½″ overlap. A pocket door needs RO ≈ 2 × door + 1″ because the slab hides inside the wall.
Frequently Asked Questions
How much bigger should a rough opening be than the door or window?
Interior doors: add 2 inches to the slab width and about 2½ to the height, leaving roughly ½ inch of shim space around the jamb. Windows: follow the manufacturer’s R.O. table, typically ½ to ¾ inch over the unit in both directions. The interior doors calculator outputs the R.O. per door alongside hinge and hardware counts.
What are the egress requirements for bedroom windows?
IRC R310: at least one openable window per sleeping room with 5.7 sq ft of clear opening (5.0 at grade floor), minimum 24 inches clear height and 20 inches clear width, and a sill no more than 44 inches above the floor. Replacement windows can silently violate this — the window calculator checks glazing and egress as it counts units.
How do I estimate baseboard and casing for a room?
Baseboard is perimeter minus openings; casing runs about 17 linear feet per cased door side (both sides of a passage door = 34 LF) and window casing follows the frame perimeter plus a stool and apron. Add 10 percent for miters and 15 where you will cope inside corners. The trim calculator itemizes each profile per room.
How much headroom does a garage door need?
Standard torsion-spring hardware wants about 12 inches between the top of the opening and the ceiling; low-headroom kits squeeze into 4½ to 9½ inches with a double-track conversion. Side rooms need about 3¾ inches per side. The garage door calculator checks all three clearances plus spring sizing from the door’s weight.