Drain Slope Calculator

Pipe size and run to minimum slope and fall.

Home and DIYUpdated 2026-10-162 min read
Drain Slope Calculator
Minimum slope
...
Total fall...
Code note...

What it does

Drainpipe lives on gravity alone, so grade is everything. Too flat and solids settle into clogs; too steep without water and they strand while liquid races ahead. Code minimums encode a century of clogged lessons.

The tool above maps nominal size to IPC minimum slope and multiplies by run length for total fall in inches. Pick the diameter, enter the run, and pitch at or above the answer.

Plumbing codes in the IPC family publish these slope minimums by diameter with venting and support rules around them, while UPC tables break at slightly different points. The page follows IPC values and flags local confirmation.

Budget fall before framing closes. Long small-pipe runs eat inches fast, and bellies from missing hangers fail flatter than any average suggests. Laser the run, hang it right, and camera-check slabs.

How to use

  1. Pick nominal pipe size.
  2. Enter horizontal run in feet.
  3. Read minimum slope per foot.
  4. Read total fall in inches.
  5. Pitch at or above the minimum.
  6. Confirm code and venting locally.

Formula

Fall = minimum slope x run length, per IPC Table 704.1.
diameter
Nominal pipe diameter in inches.
run
Horizontal run length in feet.

Minimums: 1/4 in per ft at 2.5 in and under, 1/8 at 3 to 6 in, 1/16 at 8 in and up. UPC breakpoints differ slightly; the code note flags confirmation. Fall assumes straight runs at uniform grade.

Worked example

Example: 3 in over 40 ft

3-inch drain running 40 feet.

  1. 3-inch drain over a 40 ft run.
  2. IPC minimum for 3 to 6 in pipe: 1/8 in per ft.
  3. Fall: 0.125 x 40 = 5 in.
  4. Slope more, never less.
  5. Vent and support per code alongside.

Reference table

IPC minimum drainage slopes
Pipe sizeMinimumNote
2.5 in and under1/4 in per ftSmall pipe scours at steeper
3 to 6 in1/8 in per ftMost house drains live here
8 in and up1/16 in per ftBig pipe, gentle grade

Limits

  • IPC values. UPC breakpoints differ; confirm.
  • Straight uniform runs assumed.
  • Fall needs elevation the structure must have.
  • Venting and supports are separate rules.

Common mistakes

  • Pitching to average with flat bellies.
  • Using UPC memory on IPC jobs.
  • Skipping hangers under long runs.
  • Over-sloping small pipe dry.
  • Covering before checking grade.

Try it yourself

Quick checks. Answers sit tucked under each question.

Fall for 2 in pipe over 24 ft?

Minimum is 1/4 in per ft. Fall is 0.25 x 24 = 6 in.

Fall for 6 in pipe over 60 ft?

Minimum is 1/8 in per ft. Fall is 0.125 x 60 = 7.5 in.

Questions

What slope does each size need?

Small pipes up to 2.5 inches need 1/4 inch per foot; 3 to 6 inch need 1/8; 8 inch and up need 1/16, per IPC drainage tables. UPC breakpoints differ, so confirm locally.

Why does slope matter?

Solids settle in flat pipe and water outruns solids in steep ones. Minimums keep flows self-scouring without stranding waste.

How is total fall figured?

Fall equals slope times run: 1/8 inch times 40 feet is 5 inches of drop. Long runs need elevation budget before walls close.

IPC or UPC: which applies?

Yes, and this page follows IPC values with a confirm-locally note for UPC jobs. Inspectors enforce the adopted code, not the stricter rumor.

Is more slope always better?

No. Minimums are floors; extra pitch within reason drains fine. Backfall anywhere, even flat spots, fails regardless of average.

What fails inspections most?

Sags from missing hangers, bellies under slabs, and crushed pipe. Laser or water-level the run before covering; cameras settle disputes.

Sources

How this page was checked. The formula above was matched against the cited sources, and the worked example was run through the tool on this page before publishing. If you spot an error, contact us so we can fix it and note the correction.