Calculate the total vertical drop and grade for a gravity drain line.
Usage Tip
Too little slope and solids settle; too much and water outruns solids. 1/4 in per foot is the sweet spot.
• Confirm against local code
How much slope does a drain pipe need?
A drain has to fall just enough to carry waste away on a film of water — not too little, or solids settle and clog; not too much, or the water races ahead and leaves the solids stranded. For most household drains 2.5 inches and smaller, the standard is a quarter inch of fall per foot of run. Larger pipes can use less. This calculator turns your pipe length and slope into the total drop, checks it against the code minimum for the pipe size, and draws the profile so you can see the fall before you cut and glue anything.
Drain slope chart
Minimum slope by pipe diameter (Uniform and International Plumbing Code, residential):
| Pipe size | Minimum slope | Percent |
|---|---|---|
| 1.25 to 2.5 in | 1/4 in per ft | 2.08% |
| 3 to 6 in | 1/8 in per ft | 1.04% |
| 8 in and larger | 1/16 in per ft | 0.52% |
Slope conversions: 1/8 in/ft = 1.04% = 1:96 · 1/4 in/ft = 2.08% = 1:48 · 1/2 in/ft = 4.17% = 1:24.
1/4 inch per foot, explained
A quarter inch per foot is the everyday drain slope — the right balance of speed for small pipes. It carries solids without letting the water outrun them, and it is easy to set with a level and a tape. It adds up fast over distance: a quarter inch per foot across a 40-foot run is 10 inches of total drop, which is why long runs need planning so the far end does not end up below where it has to connect.
Too little, too much, and bellies
Below the minimum, flow is too slow and solids drop out and build up. Steeper than about a half inch per foot, the liquid can run ahead of the solids and leave them behind — the same clog from the opposite cause. The worst case is a belly: a sag where the pipe dips and rises again, creating a low pocket that traps water and waste. Support the pipe evenly along its whole run so it holds a constant grade and never dips below the line.
Do not forget the traps, vents and cleanouts
- Traps — every fixture needs a P-trap to hold a water seal against sewer gas.
- Vents — drains need air behind the flow or the traps siphon dry; keep vent distances within code.
- Cleanouts — add accessible cleanouts at changes of direction and along long runs so a clog can be cleared.
Frequently asked questions
What is the slope for a 4 inch drain pipe?
The code minimum is 1/8 in per foot, though many installers use 1/4 in per foot on residential laterals for extra carry.
Can a drain pipe be too steep?
Yes. Past about 1/2 in per foot the water can outrun the solids, leaving them behind to build up, the same as too little slope.
How much fall over 20 feet?
At 1/4 in per foot, that is 5 inches of total drop over a 20-foot run.
What is the minimum slope for a sewer line?
For a 4-inch line, 1/8 in per foot meets code; 1/4 in per foot is common and gives a safety margin.
What does a belly in a drain mean?
A low sag where the pipe dips and rises, trapping water and waste. It causes recurring clogs and usually means re-supporting or re-laying the pipe.
How do I measure slope?
Slope in inches per foot is the drop divided by the run. A level with a bubble, or a laser level, sets it as you lay the pipe.
Pipe Volume Calculator · Project Cost Calculator · Material Estimator Calculator · More plumbing calculators
Estimates apply common UPC/IPC minimum-slope rules for planning and education only. Actual requirements depend on pipe material, fixture units, developed length, venting, and your local code and inspector. Confirm with the adopted code in your area and pull a permit where required; have drainage work inspected.
