From this site

One project, every trade

Each calculator adds its lines to a single estimate — consolidated BOM, schedule and cash-flow included.

Open My Project

Openings

Installing Windows and Exterior Doors

Windows and exterior doors fail at the sill before they fail anywhere else, so build the pan first and work outward from it to the casing.

Published · Last reviewed

Why the Pan Governs the Whole Opening

Water gets past cladding, and past glazing seals, on every wall that faces weather long enough. Fenestration standards accept this: a laboratory test such as ASTM E331, Standard Test Method for Water Penetration of Exterior Windows, Skylights, Doors, and Curtain Walls by Uniform Static Air Pressure Difference, measures how much water gets through under pressure rather than proving that none arrives. The question an installed opening actually answers is not whether water reaches the sill, but where it goes in the minute after it lands. A pan collects that water, holds it off framing and sheathing, and hands it back to the drainage plane. No bead of sealant does that job, and no amount of care with the cladding removes the need for one.

Picture the detail as three walls and a floor. A back dam stands between the water and the interior finishes. Two end dams close the jamb corners so nothing runs sideways into the stud bays. The floor slopes, or drains, toward the exterior face of the wall. Take away any one of those four elements and you have built a tray with a hole in it. Forensic work on leaking walls keeps turning up the same three causes: no end dams, a back dam shorter than the head of water that builds behind a plugged sill, or a pan sealed continuously along its outboard edge so the collected water has nowhere to leave.

Getting it wrong is not a trim repair. Rot at a sill plate means cladding off, sheathing out, temporary support under the header while the king studs are replaced, then rebuilding the drainage plane you disturbed on both sides of the opening. Every trade that touched the wall after the window comes back. That asymmetry — an hour of pan work against a week of reconstruction — is the whole argument for sequencing the opening around the pan and refusing to let a schedule push a unit into a hole that has not been prepared.

Reading the Rough Opening Before Anything Is Fastened

Measure the opening in three places each way: width at head, middle and sill; height at both jambs and the centre. Pull both diagonals. Rough opening size follows the manufacturer's installation instructions, which set the shim space the frame needs on each side — that document, not habit, is what an inspector and a warranty claim both refer back to. An opening cut tight enough to pinch a vinyl frame will bind the sash the first hot afternoon; one cut generous enough to swallow the flange leaves the fasteners with nothing solid to reach.

Flatness at the sill matters more than any of those numbers. Lay a straightedge across it and look for a crown at the centre, a common gift from a cupped plate or a proud jack stud. A pan built over a hump drains backwards to the corners and pools against the end dams. Check the plane too: run a string diagonally across the four corners of the opening, or hold a straightedge from the sheathing face at one jamb to the other. Framing that is out of plane will twist the frame when the flange is fastened flat, and a twisted frame is why the lock will not engage on one corner.

Correct all of it before any flashing is applied. Plane the crown down, sister or shim a bowed jamb, add blocking where the sill lacks continuous bearing, then tape the sheathing joints inside the opening and vacuum out the dust and swarf. Self-adhered flashing bonds to clean, dry, sound substrate and nothing else. Half an hour spent here is the difference between a pan that seats flat and one carrying fishmouths at both corners.

Cutting the Weather Barrier So Water Has Somewhere to Go

The drainage plane has to be opened and reassembled in a shingle-lap order, and that order runs bottom to top without exception. A modified I-cut is the usual approach: cut the barrier horizontally at the head and vertically down the centre, fold the two side flaps into the opening and fasten them to the jambs, trim the sill flap in, and hold the head flap up and out of the way with a temporary fold. ASTM E2112, Standard Practice for Installation of Exterior Windows, Doors and Skylights, sets out the sequences that keep those laps draining outward.

Materials for this are covered by their own specifications, and mixing them without checking is how a detail fails at the chemistry rather than the geometry. Self-adhered flashings are specified under AAMA 711, Voluntary Specification for Self Adhering Flashing Used for Installation of Exterior Wall Fenestration Products; liquid-applied products under AAMA 714. Mechanically attached sheet barriers fall under ASTM E2556. Butyl, asphalt and acrylic adhesives behave differently against a given barrier, and against the sealant you will run later — compatibility comes from the manufacturers involved, not from the fact that both products were on the same truck.

Temperature and pressure decide adhesion. Cold substrates need a primer, and the primer needs its flash-off time. Every square inch of membrane gets rolled, corners hardest, because an unrolled lap is a lap that has not bonded. Where the membrane turns a corner, relieve it and patch rather than stretch it; stretched flexible flashing creeps back and lifts the corner it was meant to seal.

Building the Pan: Three Dams and a Slope

Four approaches are in common use, and the corners separate them. A preformed pan, injection-moulded or extruded with end dams and back dam integral, removes the joint entirely at the two places most likely to leak. A site-formed metal pan gives full control of the back dam height but demands soldered, welded or fully sealed corners — folded and caulked corners on metal are a maintenance item, not a detail. Flexible sheet flashing dressed over a bevelled shim works well on residential wood framing when the corners are patched rather than stretched. Liquid-applied flashing suits irregular substrates and reinforced corners, provided the film thickness the manufacturer calls for is actually achieved.

Whatever the method, the geometry stays fixed. The floor slopes to the exterior so the pan empties itself. The back dam stands tall enough to hold the head of water that can develop before drainage clears — the unit's own installation instructions, and the pan manufacturer's, govern that height, and the figure varies with exposure and with the fenestration performance grade specified under AAMA/WDMA/CSA 101/I.S.2/A440, the North American Fenestration Standard. End dams turn up at both jambs and get lapped over by the jamb flashing that goes on later, never the other way round.

One rule overrides convenience on a busy site: the pan goes in before the unit, every time. Retro-fitting a pan under a set window is not possible, and the substitute — a heavy bead of sealant along the sill and a hope that the cladding never lets anything through — is exactly the assembly that shows up in claims. If the pan cannot be built today, the unit does not go in today.

Dry-Set, Shim and Square the Unit Into the Pan

Dry-fit first. Set the unit into the finished pan with no sealant, check that it sits on the shim stack without rocking, confirm the reveal at both jambs, and look at how the flange lands on the flashed substrate. Pull it back out and only then run sealant. Beads go on the back of the nailing flange, or the back of the brickmould, along both jambs and the head — and the sill is deliberately left unsealed. Selecting and tooling those beads follows ASTM C920 for the sealant itself and ASTM C1193, Standard Guide for Use of Joint Sealants, for the joint.

Leaving the sill dry is the detail most often reversed by someone trying to be thorough. A continuous bead across the sill turns the pan into a sealed box: water that gets past the glazing or the jamb has no exit and rises until it clears the back dam. Where the sill needs support beneath the frame, use discontinuous bed pads or shims with clear gaps between them, so bearing is provided while drainage stays open.

Fastening comes after the geometry is proved, not before. Shim only at anchor points, plumb both jambs, level the head, and confirm the diagonals match before a single fastener goes home. Operate the sash or the panel through its full travel and check the lock engagement while adjustment still costs nothing. On vinyl and clad frames, resist the urge to add a fastener at mid-span of the head — it bows the frame down onto the sash and the binding shows up on the first warm day, long after the crew has moved on.

Exterior Doors: A Pan That Carries Boot Traffic

A door sill pan does everything a window pan does while a hundred people a day stand on it with wet boots. Support underneath must be continuous and solid: flexible flashing bridging a gap in the sub-sill will eventually punch through, and a threshold that flexes breaks the seal between sill and pan every time it moves. Where the framing steps down or the finished floor changes level at the opening, build the sub-sill up in solid material first and flash over a surface that will not move.

Swing direction changes the water strategy. An out-swing door leans on its sill gasket and threshold seal, with the pan catching what gets past; an in-swing relies more heavily on the pan and on the drainage channels moulded into the sill, which must be left clear when the unit is bedded. Sealant applied under an in-swing sill in an unbroken line blocks those channels, and the first thing the owner notices is water inside on the finish floor with the door apparently shut tight.

Anchoring is a separate discipline from sealing. Hinge-side screws long enough to reach the king stud, strike-side reinforcement to the same depth, and the shims held tight to the fasteners so the frame does not draw in when the screws are pulled. Threshold height at an accessible entrance is limited by the code as adopted locally and by the referenced accessibility standard, ANSI/ICC A117.1, Accessible and Usable Buildings and Facilities — check what your jurisdiction has adopted and amended before you build the pan up, because pan thickness is part of that dimension.

Openings That Arrive Unglazed

Not every unit shows up glazed. Storefront and commercial entrances, shop-built sash, and replacement lites in existing frames all arrive as an opening and a stack of glass, and the gasket work moves onto your critical path. Setting blocks go at the quarter points on the sill leg, sized for the lite thickness and the frame bite; side and top blocks control centring and rattle. Dry-glazed systems then take a wedge or roll-in gasket on both faces of every lite, which is where quantities get away from people — the run is per lite, per side, and both numbers double faster than a mental tally.

Never stretch a wedge gasket to make a run reach. It retracts overnight and opens the corners exactly where the water sits. Cut generously, roll it in from the centre of each leg toward the corners, and mitre or butt the corners the way the system manufacturer specifies. Order gasket for the whole opening in one go with an allowance for corner waste and trial cuts; running short mid-elevation means a part-glazed wall standing overnight under temporary protection.

Where a system is wet-glazed instead, the same discipline applies to the heel bead and cap bead: continuous, tooled, and applied to primed surfaces at temperatures the sealant manufacturer allows. A cold-weather cap bead that never developed cohesion looks perfect from the ground and lets water through every joint it covers.

Gasket runs are counted per lite and per side, so work the linear footage out here, before the glass goes in, rather than discovering the shortfall halfway along an elevation.

Who is doing the work?

Waste is set to 5% by hand. Pick a tier above to replace it, or keep your own figure.

Total gasket needed

315 ft

High confidence

With the figures above, the total gasket needed comes to 315 ft. This is presented for United States. Building in another market? Change the selector above and the units and terminology follow.

Estimated cost — your price

This site holds no price list for this material — local prices vary too much to publish honestly. Enter your supplier's price and the result is costed with it.

Sealing the Perimeter Without Damming the Drain

The gap between frame and framing has two separate jobs to satisfy, and they pull in opposite directions. It must be air-sealed and insulated so the opening is not a thermal hole, and it must remain free to drain at the sill so the pan can empty. Low-expansion foam rated for windows and doors, or backer rod with sealant, handles the jambs and head. Foam that is not low-expansion, or a jamb cavity packed solid in one pass, bows the jamb inward and binds the sash — the damage is done before the foam has finished curing, and trimming it back afterwards does not straighten the frame.

At the sill, restraint is the whole technique. Insulate lightly, leave the drainage path from pan to exterior clear, and never pack the pan cavity solid. Interior air sealing can be continuous across the head and jambs and still stop short of blocking the sill drainage; a bead of sealant on the interior face of the frame against the finished return gives you the air barrier continuity without touching the pan.

The exterior joint follows the same logic. Backer rod and sealant at both jambs and across the head, sized to the joint width and depth relationship set out in ASTM C1193, and the sill left open so the pan drains to daylight. Check the sealant against the WRB, the flashing membrane and the frame finish for compatibility; an incompatible pairing shows up as a peeling bead a season later, usually at the head, usually after the scaffold has gone.

Head Flashing, Drip Cap and the Casing Outside It

Above the unit, water has to be intercepted and thrown clear before it can reach the head joint. A drip cap or head flashing with a positive kick, turned up at both ends into end dams, does that; the weather barrier's head flap then folds down over its vertical leg and is taped, so the lap sheds outward. Head flashing that stops flush with the casing ends, with no end dam, simply delivers concentrated water to the top corners of the opening — the two spots least able to cope with it.

Casing and exterior brickmould go on last and carry no waterproofing responsibility, which is precisely why they must not be relied upon for any. Back-prime every piece including the cuts, hold the bottom of vertical trim slightly off horizontal surfaces so end grain is not sitting in water, and fasten into solid material rather than into the frame itself where the manufacturer prohibits it. Keep reveals consistent around each opening; a reveal that wanders is the one defect the client will see from the drive every day.

Quantity for trim is a per-opening calculation that punishes eyeballing, because mitred corners waste stock and every opening in the schedule needs its own allowance.

Casing is the last thing bought and the first thing to run short, so size the order against the actual opening schedule before the trim package is released.

3 ft
Schematic, drawn to the proportions you entered — not to scale on screen.

Casing needed

17.6 linear ft

High confidence
Casing needed (before waste)
16 linear ft
Sticks needed
3 x 7 ft sticks

Running these inputs gives 17.6 linear ft as the casing needed. Casing needed (before waste) carries the most weight in this calculation, at 16 linear ft. Currently reading for United States — pick a different market above and the figures re-cast accordingly.

Estimated cost — your price

This site holds no price list for this material — local prices vary too much to publish honestly. Enter your supplier's price and the result is costed with it.

Proving the Opening Before It Is Covered

Test the first unit of each type, in the wall, before any cladding covers the flashing. Field testing is described in AAMA 502, Voluntary Specification for Field Testing of Newly Installed Fenestration Products, which references the spray-rack and pressure procedure of ASTM E1105, Standard Test Method for Field Determination of Water Penetration of Installed Exterior Windows, Skylights, Doors, and Curtain Walls, by Uniform or Cyclic Static Air Pressure Difference. A test on unit one finds a systemic sequencing error while the fix is a single opening; the same error found at handover is an elevation.

Photograph every pan before it disappears. A dated image of the finished pan, the end dams and the jamb laps for each opening is the cheapest evidence available if a leak is ever blamed on your scope, and it is what an investigator following ASTM E2128, Standard Guide for Evaluating Water Leakage of Building Walls, or a forensic tester working to AAMA 511 will ask for first.

Close out on operation and paperwork together. Adjust hinges, strikes, sweeps and adjustable thresholds after the wall is loaded and the building has settled onto its framing, not on the day of install. Keep the manufacturer's installation instructions with the job record for each unit type — code compliance and warranty both lean on that document, and it is the one thing nobody can reconstruct after the fact.

Opening takeoff and pre-cover checks

Count these per opening, not per elevation — mixed unit types and swing directions break any averaged number you carry across a job.

  • Sill pan units, by opening size and typePreformed pans are ordered to the rough opening width; site-formed and liquid-applied need substrate area plus corner reinforcement.
  • Flashing membrane, sill / jambs / headSill piece runs past both jambs, jamb pieces run past the head; add corner patches rather than stretching the membrane.
  • Glazing gasket, per lite per sideBoth faces of every field-glazed lite, plus corner waste — cut long, never stretched to fit.
  • Perimeter sealant and backer rodJambs and head only; the sill stays open so the pan drains.
  • Casing and exterior brickmouldPer-opening mitre allowance; back-prime all faces and cuts before installation.
  • Pre-cover photo recordEvery finished pan photographed with end dams and jamb laps visible, before cladding.
Open this as a workspace →

Opens the calculators above on one screen with the dimensions from this article already filled in. Quantities only — this site publishes no price list, because local prices vary too much to publish honestly.

Drawn from

  • ASTM E2112, Standard Practice for Installation of Exterior Windows, Doors and Skylights
  • ASTM E1105, Standard Test Method for Field Determination of Water Penetration of Installed Exterior Windows, Skylights, Doors, and Curtain Walls, by Uniform or Cyclic Static Air Pressure Difference
  • ASTM E331, Standard Test Method for Water Penetration of Exterior Windows, Skylights, Doors, and Curtain Walls by Uniform Static Air Pressure Difference
  • ASTM E2128, Standard Guide for Evaluating Water Leakage of Building Walls
  • ASTM C920, Standard Specification for Elastomeric Joint Sealants
  • ASTM C1193, Standard Guide for Use of Joint Sealants
  • ASTM E2556, Standard Specification for Vapor Permeable Flexible Sheet Water-Resistive Barriers Intended for Mechanically Attached Application
  • AAMA 502, Voluntary Specification for Field Testing of Newly Installed Fenestration Products
  • AAMA 511, Voluntary Guideline for Forensic Water Penetration Testing of Fenestration Products
  • AAMA 711, Voluntary Specification for Self Adhering Flashing Used for Installation of Exterior Wall Fenestration Products
  • AAMA 714, Voluntary Specification for Liquid Applied Flashing Used to Create a Water-Resistive Seal Around Exterior Wall Openings in Buildings
  • AAMA/WDMA/CSA 101/I.S.2/A440, North American Fenestration Standard/Specification for Windows, Doors, and Skylights
  • ANSI/ICC A117.1, Accessible and Usable Buildings and Facilities

Guidance, not a specification. Local codes, the engineer of record and the product manufacturer’s instructions govern where they differ from anything written here.