Doors, Windows & Trim: Calculators, Diagrams & Guides
6 calculators · 24 diagrams · 5 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.
- Board & Batten CalculatorFree board and batten calculator: exact even batten spacing with a batten in every corner, plus wainscoting box sizes and a full bill of materials.
- Shiplap CalculatorFree shiplap calculator: exact board or pack count from the real exposed coverage width, not nominal size. Horizontal, vertical & ceiling runs.
Cost guides
Budget-level price ranges per room, computed from a dated cost model — wide brackets by design, updated on an annual review.
Guides & references
Doors, Windows & Trim · 24 diagrams
- Doors, Windows & Trim
The order a baseboard run goes on
A baseboard run goes on in order: mark studs and set a square-butt first piece into the corners, cope each next piece to lap the one before it, fasten two nails per stud (low into the plate, high into the stud), then fill the nail holes and caulk the top seam — not the floor gap.
- Doors, Windows & Trim
Baseboard layout order — where to start and which way to cope
In plan view the order is simple: start on the wall opposite the door with a piece square-butt on both ends, then work one direction around the room, butting each next piece into the far corner and coping it over the one before — so every cope faces the same way.
- 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
How to measure a window for replacement — three widths, three heights, use the smallest
Measure width at top, middle, and bottom and height at left, center, and right, then use the smallest of each — openings are rarely square. Insert units measure to the existing frame; full-frame measures to the rough opening.
- Doors, Windows & Trim
Base shoe vs. quarter round — profile and proportion compared
Quarter round is a symmetric quarter-circle (equal depth and height, ~¾×¾″); base shoe is taller and thinner (~½″ deep × ¾″ tall) so it projects less into the room. Both hide the flooring gap under the baseboard.
- 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.
- Doors, Windows & Trim
Board and batten spacing formula on a wall elevation — a batten in every corner
With a batten at each end, n battens make (n − 1) equal gaps. Solve the count from your target, then read the true spacing: gap = (L − n·w) ÷ (n − 1).
- Doors, Windows & Trim
Wainscoting height by the rule of thirds — 8, 9, and 10-ft ceilings, and the avoid-at-half rule
Cap the wainscot at about ⅓ of the wall height (32–36″ on an 8-ft wall) and scale it up with taller ceilings. Never land the rail at exactly half the wall.
- Doors, Windows & Trim
Picture-frame box wainscot anatomy — baseboard, margins, box, stile, and chair-rail cap
Box wainscot parts: baseboard, bottom margin, box, stile, top margin, chair-rail cap. Box width = (L − 2·margin − (b − 1)·stile) ÷ b.
- Doors, Windows & Trim
Raised-panel wainscot anatomy — bottom rail, stiles, raised panels, top rail, and cap rail
Raised-panel parts: baseboard, bottom rail, stiles, one raised panel per bay, top rail, and a profiled cap rail. Bays = stiles − 1; run it tall for judges paneling.
- Doors, Windows & Trim
The five wainscoting styles compared — board & batten, flat panel, raised panel, picture-frame, beadboard
The five wainscoting styles: board & batten, flat panel (Shaker), raised panel, picture-frame box, and beadboard. Board and batten is one style among them.
- Doors, Windows & Trim
Shiplap profile cross-sections — nominal vs actual vs net coverage width
No “1×6” covers 6″: rabbeted pine covers 5″, nickel-gap T&G covers 4⅝″, pattern T&G covers 5⅛″. Rows = wall span ÷ net coverage — always the exposed face, never the nominal size.
- Doors, Windows & Trim
Shiplap row math — wall height ÷ coverage width, rounded up, and the last-row rip
Rows = ⌈wall height ÷ coverage⌉: 96″ ÷ 4⅝″ → 21 rows; × 12-ft wall = 252 LF before waste. The last row rips to 3½″ — split the difference with the first row instead of leaving a sliver.
- Doors, Windows & Trim
Shiplap butt-joint stagger — landing joints on studs when the wall outruns the stock
When a wall outruns the stock, land every butt joint on a stud and stagger so no joint repeats within ~3 rows — never stack them into an “H.” Staggering holds waste at a 12% minimum.
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. The rough opening diagram shows the door-plus-2-inch rule.
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. The egress and glazing diagram shows the R310 clear-opening minimums.
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. The baseboard take-off diagram shows room perimeter minus the door openings.
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. The garage-door clearances diagram shows headroom, backroom, and side room around the opening.