Skip to content
Calc.

Drainage Pipe Slope Calculator

Calculates the required slope and total vertical fall of a drainage pipe to achieve self-cleaning sewage flow over a given horizontal distance. Essential for plumbers designing gravity-fed drain systems.

Last updated: September 2026

Fill in the required fields to see your result.
Compare 3 scenarios

Formula below · 2 sources (epa.gov, Wikipedia) · Updated Sep 2026

Compare with similar

About this calculator

A gravity drain must satisfy two conditions: it must meet the code minimum slope, and it must be steep enough to carry the expected flow. The International Residential Code (Table P3005.3) and International Plumbing Code (Table 704.1) set the minimum slope at 1/8 inch per foot for 3- to 6-inch pipe and 1/16 inch per foot for 8-inch and larger pipe (1/4 inch per foot applies only to 2-1/2 inch and smaller). The flow check uses Manning's equation for a pipe flowing full: Q = (1.486 / n) × A × R^(2/3) × S^(1/2), solved for the slope S = (Q × n / (1.486 × A × R^(2/3)))², where Q is the flow in cubic feet per second (GPM × 0.002228), n = 0.013 (a conservative roughness for drain pipe), A = π/4 × (D/12)² is the pipe area in square feet and R = D/48 is the hydraulic radius in feet for a full circular pipe. The calculator uses whichever slope is larger and returns the total fall: Fall (inches) = distance × max(code slope in in/ft, 12 × S). For typical household flows the code minimum governs; the flow term only takes over when a small pipe is asked to carry a large flow, which is a sign to upsize the pipe.

How to use

Say you have a 4-inch pipe, a horizontal run of 20 feet, and a flow rate of 15 GPM. Step 1: code minimum for 4-inch pipe = 1/8 inch per foot. Step 2: convert the flow: 15 × 0.002228 = 0.0334 cfs. Step 3: full-pipe area = π/4 × (4/12)² = 0.0873 ft²; hydraulic radius = 4/48 = 0.0833 ft, and 0.0833^(2/3) = 0.191. Step 4: Manning slope = (0.0334 × 0.013 / (1.486 × 0.0873 × 0.191))² ≈ 0.00018 ft/ft, or about 0.002 inch per foot. Step 5: the code minimum (0.125 in/ft) is larger, so Fall = 20 × 0.125 = 2.5 inches over the 20-foot run. The 50-foot default run needs 6.25 inches.

Frequently asked questions

What is the minimum slope required for a 4-inch drainage pipe?

The International Plumbing Code (Table 704.1) and International Residential Code (Table P3005.3) require a minimum slope of 1/4 inch per foot for drains 2-1/2 inches and smaller, 1/8 inch per foot (about 1%) for 3- to 6-inch drains, and 1/16 inch per foot for 8-inch and larger. So a 4-inch sewer lateral running 50 feet must drop at least 6.25 inches. Many installers use 1/4 inch per foot on 3- and 4-inch lines for extra margin, which is also compliant. Always verify local code requirements, as some jurisdictions mandate steeper minimums.

How does pipe diameter affect the required drainage slope?

Larger pipes can run flatter because they carry more flow at a given slope: under Manning's equation, full-pipe capacity grows with roughly the 8/3 power of the diameter, so the slope needed to carry a given flow falls very quickly as the pipe gets bigger. That is why codes allow 1/8 inch per foot for 3- to 6-inch pipe and 1/16 inch per foot for 8-inch and larger, while 2-inch and smaller branch drains need 1/4 inch per foot. In this calculator, if the flow term ever exceeds the code minimum, consider the next pipe size up.

Why is too steep a slope bad for drainage pipe performance?

When a pipe slopes too steeply, the liquid component of wastewater races ahead of the solids, leaving them stranded in the pipe and eventually causing blockages — a phenomenon called hydraulic separation. The ideal velocity range for drain lines is 2–4 feet per second; above roughly 10 ft/sec, pipe erosion and noise also become concerns. For residential drains, slopes exceeding 45° (vertical drops) should transition through a heel-inlet Y fitting rather than a sharp elbow to maintain smooth flow. Always aim for the recommended slope range rather than the steepest possible.

Related calculators

Sources & references