CalcStack — free, instant, no signup. The interactive calculator loads automatically.
Half the drain is the floor. The table is the truth.
Gurgling traps and slow drains on a perfectly sized drain system almost always mean undersized vents. This calculator applies IPC Table 906.1: your vent must be at least half the drain diameter and never under 1¼ inches, and the table then caps how far it can run to open air as the DFU load climbs. Enter the stack diameter, load, and developed length — get the minimum code-compliant vent size with the conservative table row shown.
Plumbers use it when the inspector flags an island sink or a long attic run — the 1½-inch floor is not the answer once developed length enters. Pair it with the drain calculator: the DFU total from one feeds the other, and the conservative table row is shown so the plan check matches.
Friction. The vent's job is moving air freely enough to keep trap seals from siphoning, and air friction grows with pipe length the same way water friction does. Table 906.1 encodes that: at fixed DFU, every vent diameter has a maximum developed length — exceed it and the vent still "meets minimum size" on paper while failing in the walls.
Every foot of vent pipe measured along its centerline from the farthest connection at the drainage system to where it terminates in open air — vertical and horizontal runs both count. Offsets and long horizontal detours through attics are what push residential vents over the 1½-inch minimum.
Only for short runs at light loads. It is the floor, not the answer: a 3-inch stack sets a 1½-inch floor, but at 102 DFU that 1½-inch vent is legal for only 25 feet of developed length. The table lookup above is the full requirement.
The branch-vent upsize rule: any branch vent exceeding 40 feet of developed length must be increased one nominal pipe size for its entire run. It is the most-cited vent violation on island sinks and distant fixture groups.