Plumbing
Running Drain, Waste and Vent
Every DWV rule on a plumbing job exists to protect one of two things: continuous fall to the sewer, or free air behind the flow.
Published · Last reviewed
Two invariants, and why the code reads the way it does
Strip the plumbing code of its numbering and what remains is a defence of two physical conditions. The first is fall: waste moves because gravity moves it, and any length of pipe that loses its downhill slope becomes a settling basin for solids. The second is air: water leaving a fixture must be replaced by air entering behind it, or the moving slug will pull the trap seal out with it and open the drain to the room.
Fixture unit tables, cleanout spacing, offsets, wet vents, air admittance devices, trap arm limits, hanger spacing — trace any one of them back far enough and it lands on fall or on air. Learning which invariant a rule protects is worth more on site than memorising the rule, because it tells you what you are allowed to trade when the building fights you. A joist you cannot notch, a slab you cannot chase deeper, a soffit the architect wants two inches shallower: each of those is a negotiation, and knowing whether you are spending fall or spending air keeps you from spending both at once.
Neither invariant announces its own failure. A drain with lost fall runs fine for months while it is still mostly clean pipe, and a starved vent passes a rough inspection because there is no water in the system yet. Both fail later, in occupied buildings, behind finished surfaces, and both get blamed on the plumber who is easiest to find.
Invariant one — protecting fall
Fall is the cheapest thing to get right at layout and the most expensive to recover after the slab is poured. Sanitary drainage lines are pitched to hold flow in a velocity band: fast enough that solids stay entrained in the carrying water, slow enough that the water does not outrun what it is meant to carry. Over-pitch is a real defect, not a bonus. A branch dropped steeply between two fittings lets the liquid sprint ahead and strand the solids on dry pipe, which is why a vertical drop into a horizontal run under a heavy-use fixture group is a recurring source of blockages that never quite explain themselves.
Required slope varies by pipe diameter and by jurisdiction — the adopted plumbing code governs, and adoption differs by state, province and municipality, sometimes with local amendments layered on top. Confirm the figure the inspector will actually measure against before you set a single hanger, rather than working from the number you used on the last job in the next county. Where a run is long enough that the total drop matters to your ceiling or your invert at the connection, work the geometry before you cut anything.
Setting the slope is only half of holding it. Fall is lost after installation far more often than it is lost at layout — sagging between hangers, a length of PVC left unsupported through a wide bay, backfill settling under a buried line, a fitting rolled slightly out of plane by someone else's strut clamp. Support spacing in the manufacturer's instructions and the referenced material standards exists to stop bellies forming, and it tightens for plastic in warm environments where the pipe creeps. A belly does not need to be dramatic; a run that holds standing water at one low point will accumulate grease and paper at that point and nowhere else, and the resulting stoppage looks like a user problem until someone puts a camera down the line.
Cleanouts are the admission that fall will eventually be defeated by something. Place them where a drain machine can actually be worked — at the base of stacks, at changes of direction, at intervals along long horizontal runs, and at the building drain's junction with the sewer. A cleanout buried behind a finished wall or opening into eighteen inches of clearance is a code item satisfied on paper and useless the night it is needed. Think about the machine's reach and the cable's ability to negotiate the fitting you chose: a long-sweep pattern passes a cutter head; a tight pattern chosen to save an inch of ceiling does not.
Trench work carries its own version of the problem. Bedding must support the pipe continuously along the barrel, not just at the joints, and the bell holes must be excavated so the pipe is not effectively hung between its own couplings. Compaction under and beside the pipe, to the requirements of the installation standard for the material in use, is what preserves the invert elevations you surveyed. Skip it and the line settles unevenly during the first year of service, converting your careful slope into a series of shallow traps.
Where fall gets decided — the slope calculation
Before hangers go up, settle the arithmetic that governs the whole run: total drop over the developed length, the resulting invert at each end, and whether that invert clears the structure and meets the downstream connection. Run it for the worst case in the building, not the easiest branch.
Work the fall for the longest run first — if the far end fits, everything shorter will.
Minimum required drop
4.875 in of drop (minimum)
This is the code minimum slope — always check your specific local plumbing code, which may set stricter requirements in some jurisdictions.
- Pipe run length
- 19.5 linear ft
With the figures above, the minimum required drop comes to 4.88 in of drop (minimum). This is presented for United States. Building in another market? Change the selector above and the units and terminology follow.
Add the equipment this sizes
This result is a specification — 4.875 in of drop (minimum) — not a quantity. Put the thing it sizes into your project: how many, what you call it, and your supplier’s price.
Invariant two — protecting air
Air behaves in a drainage system like the second half of a two-phase flow, because that is exactly what it is. A slug of water descending a stack drags air with it and drives pressure ahead of itself; at the base of the stack, where vertical flow turns horizontal, that pressure spikes. Behind the slug, negative pressure develops. Trap seals sit between those pressure swings and the occupied space, and a two-inch column of water is not a strong barrier. Positive pressure blows the seal into the room; negative pressure siphons it down the drain. Both leave an open path for sewer gas, and the occupant reports the same thing either way — a smell that comes and goes.
Vents exist to keep those pressures near atmospheric. Every trap needs a vent within a maximum trap arm length, and that length is tied to the trap arm diameter, because the constraint is really about how far the arm can run before the flowing waste fills the pipe's cross-section and seals off the air path back to the vent. This is the one place the two invariants pull against each other: the trap arm must fall, but if it falls enough to drop the vent connection below the weir of the trap, the arm can flood and self-siphon. Hold the fall, hold the length limit, and take the vent off before the arm has dropped a full pipe diameter.
Wet venting, common venting and circuit venting are all sanctioned ways of making one pipe do two jobs, and each carries conditions about direction of flow, fixture unit loading and connection sequence. They are worth using — they save material and ceiling space — but they are unforgiving of improvisation. A wet vent that receives a fixture discharging in the wrong sequence stops being a vent at the moment it is needed most. Where an air admittance valve is permitted, treat it as a device with an installation envelope, not a universal exemption: accessibility, orientation, clearance above the flood level, and ventilated space around it are all conditions of its listing, and boxing one into a sealed cabinet voids the thing that made it acceptable.
Stack venting has a geometry all its own. Offsets in a vertical stack disrupt the annular flow that keeps air moving, and the region below a stack offset behaves like the base of a stack — pressurised, and hostile to any trap connected near it. Give that zone the same respect you give the base connection: keep branch connections clear of it by the distance the code requires, and where the building forces a branch into that region, relieve it with a yoke or a separate vent rather than hoping.
Terminations finish the air path. A vent through the roof must extend far enough above the surface to stay clear of snow and of anything walking on the roof, and must stand clear of openable windows and air intakes by the required horizontal and vertical distances — the specific dimensions are set by the adopted code and by local snow-load amendments, and cold-climate jurisdictions commonly require a larger terminal to resist frost closure. A vent that frosts shut in January produces the same symptoms as a vent that was never installed, and the callback lands in the coldest week of the year.
Traps: the seal both invariants defend
The trap is where fall and air meet, and it is the component most often defeated by neglect rather than by installation error. Seals evaporate. A floor drain in a mechanical room, a rarely used fixture in a guest suite, a trench drain in a garage that sees water twice a year — all of them dry out, and a dry trap is an open pipe regardless of how well the vent system performs. Trap primers exist to top those seals up, and the requirement for them in specific locations comes from the adopted plumbing code.
Sizing a primer line is a flow question: enough water to replace evaporation across the interval between primer cycles, delivered to every trap the primer serves through a distribution unit, without wasting potable water. Where one primer feeds several drains, the distribution has to be balanced, or the nearest trap gets everything and the far one stays dry. Protect the primer line from freezing and keep it accessible, because a primer that cannot be reached will not be maintained.
Deep-seal traps are a legitimate answer in high-evaporation environments, and so are trap seal protection devices where they are listed and accepted. What is not an answer is a floor drain left to fend for itself in a heated plant room. The failure mode is invisible until the space is occupied and someone with a sensitive nose reports it, at which point the investigation runs through the whole DWV system before arriving at a drain nobody has looked at since handover.
Sizing the primer before the walls close
Set the primer flow while the water line routing is still adjustable. Establish how many traps one primer will serve, the evaporation exposure in each location, and whether the delivered rate holds up at the furthest drain.
Size for the furthest, driest trap on the manifold — the near ones look after themselves.
Total trap primer flow needed
0.5085 CFM
With the figures above, the total trap primer flow needed comes to 0.51 CFM. This is presented for United States. Building in another market? Change the selector above and the units and terminology follow.
Add the equipment this sizes
This result is a specification — 0.5085 CFM — not a quantity. Put the thing it sizes into your project: how many, what you call it, and your supplier’s price.
Testing what you cannot see later
Rough-in testing is the only opportunity to prove both invariants while the system is still exposed. A water test on the DWV rough fills the system to a head that finds joints a smoke or air test might pass, and it does so while every joint is still reachable. Hold it for the duration the inspector requires and walk the whole run rather than watching the gauge — a weeping hub tells you more than a slow needle.
Slope verification deserves the same discipline. Shoot the inverts, or run a level along the pipe rather than eyeballing the hangers, and do it after the other trades have finished working around your lines. Ductwork and cable tray installers move things. A run that was correct on Tuesday can be sitting on a strut clamp on Thursday, and the difference is invisible in a ceiling photograph.
Final testing on the air side is the one most often skipped. A peppermint or smoke test on the completed system finds the connections that were never solvent-welded, the AAV installed upside down, and the vent terminal that was capped for a roofing operation and never uncapped. Doing it before the ceilings close costs a morning; doing it after occupancy costs finishes, access and reputation, and the diagnosis takes far longer because the evidence is behind drywall.
One last habit worth building: record what you actually installed. Marked-up drawings showing real inverts, real cleanout locations and real vent routing are worth more to the next person on the site than the design set ever was. When a stoppage appears in year three, the difference between a camera survey and a demolition exercise is usually whether somebody wrote down where the pipe went.
Before the hangers go up
Two calculations settle the geometry of a DWV rough. Do them in this order — fall determines where the pipe can go, and the primer sizing follows once the drain locations are fixed.
- Adopted code edition and local amendments — Confirm the slope, trap arm and vent terminal requirements the inspector will measure against on this jurisdiction, not the last one.
- Hanger and support spacing per the pipe material's installation standard — Tighter for plastic in warm spaces; this is what stops bellies forming after handover.
- Cleanout locations checked for machine access — Stack bases, direction changes, long horizontal intervals, and the sewer junction — with real working clearance in front of each.
- Bedding and backfill for buried runs — Continuous support along the barrel with bell holes excavated; compaction to the installation standard preserves surveyed inverts.
- Vent terminal clearances and frost sizing — Height above roof, and horizontal and vertical separation from openable windows and air intakes, per the adopted code.
- Trap primer line routing and accessibility — Freeze protection, a reachable distribution unit, and every served drain identified before the walls close.
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 D2665 Standard Specification for Poly(Vinyl Chloride) (PVC) Plastic Drain, Waste, and Vent Pipe and Fittings
- ASTM D2321 Standard Practice for Underground Installation of Thermoplastic Pipe for Sewers and Other Gravity-Flow Applications
- ASTM A74 Standard Specification for Cast Iron Soil Pipe and Fittings
- ASSE 1018 Performance Requirements for Trap Seal Primer Valves — Potable Water Supplied
- ASSE 1072 Performance Requirements for Barrier Type Floor Drain Trap Seal Protection Devices
- ASSE 1051 Performance Requirements for Individual and Branch Type Air Admittance Valves for Sanitary Drainage Systems
- PDI-G101 Testing and Rating Procedure for Grease Interceptors with Appendix of Sizing and Installation Data
Guidance, not a specification. Local codes, the engineer of record and the product manufacturer’s instructions govern where they differ from anything written here.