InfyCalculator
🔨

Drain Pipe Slope Calculator

Work out the fall of a drain or sewer line — total drop, slope from a measured drop or two invert elevations, or the longest run your available drop allows — and check it against the IPC/IRC or UPC minimum slope for the pipe size, with flow velocity, full-pipe capacity and a drop-by-station table.

Calculate
Pipe diameter
Horizontal run
Slope
Custom slope
Total drop
Upstream invert elevation
Downstream invert elevation
Plumbing code
Pipe material (for flow velocity)
Table interval
Loading calculator…

How it works

Total drop = slope (in/ft) × run (ft) · slope % = drop ÷ run × 100 = in/ft ÷ 12 × 100 · run = drop ÷ slope · fall from elevations = upstream invert − downstream invert · velocity (Manning, full pipe) V = (1.486 ÷ n) × (D ÷ 4)^(2/3) × √S

A gravity drain needs a steady fall so the water carries the solids with it. Codes set the minimum by pipe size: the IPC (Table 704.1) and IRC (Table P3005.3) ask for 1/4 inch per foot (about 2%) for pipe 2½ inches and smaller, 1/8 inch per foot (about 1%) for 3 to 6 inch pipe and 1/16 inch per foot (about 0.5%) for 8 inch and larger. The UPC (Section 708.1) asks for 1/4 inch per foot on every horizontal drain and lets 4 inch and larger pipe drop to 1/8 inch per foot only where the steeper slope is impractical and the authority having jurisdiction approves. The calculator works in either direction — the drop for a slope, the slope for a measured drop or two invert elevations, or the longest run a given fall allows — and checks the result against the chosen code. It also estimates the flow velocity with Manning’s equation; about 2 ft/s (0.6 m/s) is the self-cleansing speed designers aim for. Codes set no maximum slope, but much steeper than about 1/2 inch per foot the water can outrun the solids on long runs.

Worked example

A 3 in drain running 20 ft at 1/4 in per foot falls 0.25 × 20 = 5 inches, a 2.08% grade (1:48). The IPC minimum for 3 in pipe is 1/8 in per foot, which would need only 2.5 in of fall, so the line passes. In PVC it flows at about 3.4 ft/s — above the 2 ft/s self-cleansing speed — and can carry about 74 gpm running full. If the inverts were 100.00 ft and 99.50 ft over the same 20 ft, the fall would be 6 in and the slope 0.3 in/ft (2.5%).

Sources: International Plumbing Code 2021 — Section 704.1 and Table 704.1 · Uniform Plumbing Code (as adopted in the 2022 California Plumbing Code) — Section 708.1 · Engineering ToolBox — Horizontal drainage pipe required slopes

Frequently asked questions

What is the minimum slope for a drain pipe?

Under the IPC and IRC: 1/4 inch per foot for 2½ inch and smaller pipe, 1/8 inch per foot for 3 to 6 inch pipe, and 1/16 inch per foot for 8 inch and larger. The UPC asks for 1/4 inch per foot on all horizontal drains, allowing 1/8 inch per foot for 4 inch and larger pipe only with the inspector’s approval where the steeper slope is impractical.

Can a drain be too steep?

Codes do not set a maximum, but on long runs much steeper than about 1/2 inch per foot the water can race ahead and strand solids, which then build up. The usual fix for a big drop is a 45° or vertical section, with the horizontal parts kept near the minimum slope.

How do I convert 1/4 inch per foot to a percentage?

Divide by 12 and multiply by 100: 0.25 ÷ 12 × 100 = 2.08%. 1/8 inch per foot is 1.04% and 1/16 inch per foot is 0.52%. In metric, 2% is 20 mm of fall per metre of pipe.

How do I find the slope from two elevations?

Subtract the downstream invert (inside bottom of the pipe) from the upstream invert to get the fall, then divide by the horizontal run. 100.00 ft and 99.50 ft over 20 ft is a 0.5 ft fall — 6 in ÷ 20 ft = 0.3 in per foot, or 2.5%. Choose “From elevations” and the calculator does this and lists the invert at each station.

How do I set the slope in the field?

Use the drop-by-station table: set a string line or laser at the start and lower the pipe by the listed amount at each mark. A 20 ft run at 1/4 in per foot is 1 1/4 in lower every 5 ft and 5 in lower at the end. Check each joint with a level as you go.

Related calculators

This calculator is for educational purposes. Double-check important results before acting on them.