Drain slope calculator

Fall = slope × length. A drain sloped 1/4 inch per foot falls 5 inches over 20 feet; at 1/8 inch per foot, 2.5 inches. The International Plumbing Code asks for at least 1/4 inch per foot on drains up to 2.5 inches and 1/8 inch per foot from 3 to 6 inches; the Uniform Plumbing Code asks for 1/4 inch per foot, with 1/8 inch allowed on 4-inch and larger drains when the inspector approves.

What to find
Drain diameter
ft
Slope
Plumbing code
Result
5 in fall

A 2 inch drain 20 ft long at 1/4 in per foot falls 5 in (2.08%); the IPC minimum for this size is 1/4 in per foot, a 5 in fall, so this slope is enough.

Slope, percent
2.08%
IPC minimum
1/4 in/ft
Minimum fall over this run
5 in
Meets the minimum
Yes
SIDE VIEW, SLOPE EXAGGERATED20 ft runfall 5 in2 in drain · 0.25 in/ft

How it is calculated

  1. Fall = slope × run = 0.25 in/ft × 20 ft = 5 in.
  2. Percent = in per foot ÷ 12 × 100 = 2.083%.
  3. IPC minimum for 0–2.5 in drains: 1/4 in/ft (NC Building Code Council).

How to calculate drain slope and fall

The worked numbers use the calculator's default: a 2 inch drain 20 ft long at 1/4 inch per foot.

Step 1: Fall over the run

Fall (in) = slope (in/ft) × length (ft)

Example 0.25 × 20 = 5 in

Step 2: Slope from a measured fall

Slope (in/ft) = fall (in) ÷ length (ft)

Percent = slope ÷ 12 × 100

Example 5 ÷ 20 = 0.25 in/ft

Example 0.25 ÷ 12 × 100 = 2.08%

Drain fall by length at 1/16, 1/8 and 1/4 inch per foot

How far a horizontal drain drops over common run lengths at each slope the codes use. Multiply the slope by the length for any other run.

Fall in inches of a horizontal drain by run length at 1/16, 1/8 and 1/4 inch per foot
Run, ft1/16 in/ft1/8 in/ft1/4 in/ft
5 ft0.31 in0.63 in1.25 in
10 ft0.63 in1.25 in2.5 in
15 ft0.94 in1.88 in3.75 in
20 ft1.25 in2.5 in5 in
25 ft1.56 in3.13 in6.25 in
30 ft1.88 in3.75 in7.5 in
40 ft2.5 in5 in10 in
50 ft3.13 in6.25 in12.5 in
75 ft4.69 in9.38 in18.75 in
100 ft6.25 in12.5 in25 in

Why drains need a minimum slope

A horizontal drain carries waste by gravity, so it needs enough fall for water to move the solids along. Smaller pipes need a steeper slope than larger ones in the codes, which is why the minimum drops from 1/4 to 1/8 inch per foot as the pipe gets bigger.

Check which code your state and city use: the minimums differ between the IPC and the UPC, and local amendments can change them. Measure the fall with a level and a tape over a known length, then use the "Check a slope" mode.

Embed this calculator

Paste this code into your site or forum post to show the calculator. It works on any page that allows iframes. Preview the widget.