Drain Slope Calculator

A 20-foot horizontal run at 0.25 inch drop per foot needs 5 inches total fall. Grade is (0.25/12)×100 = 2.083%. This gives the elevation difference to coordinate with the actual pipe profile; it does not establish allowable pipe size, available sewer elevation or compliance with drainage and vent rules.

Drain Slope Calculator: inputs

Calculated result
Total drop (inches)5
Grade2.1%

Pipe run length and total drop (inches)

Drain Slope Calculator: Pipe run length and Total drop (inches)5 calculations vary the “Pipe run length” input while holding the other entered inputs constant.164184.5205225.5246

Enter horizontal run in feet and the chosen fall in inches per foot. The example 0.25 in/ft is an assumption, not a universal code minimum for every diameter. Select the actual required slope from the adopted code, run classification and design.

The calculator converts that entered geometry only.

The calculation assumes uniform fall and no sags. It does not impose a universal maximum slope or establish that water will outrun solids at a particular slope. Code rules and installation geometry must be checked for the actual fixture and pipe.

Use horizontal run, not the longer sloped pipe length, for this entered fall-per-foot convention.

Total drop (inches) from pipe run length

Pipe run length20
Slope0.25
Total drop (inches)5
Grade2.1%

Common error: Adding extra slope to be safe. A steep drain can leave solids behind, and the fall must also fit within the depth of the building.

Drain Slope: formula

Drop = pipe run length × slope (inches per foot)

IAPMO: Uniform Plumbing Code

Drain Slope: changing Pipe run length

Total drop (inches): assumed Pipe run length scenarios.
Pipe run lengthTotal drop (inches)Grade
1642.1%
184.52.1%
20 (example)52.1%
225.52.1%
2462.1%

Drain Slope: compare input ranges

Drain Slope Calculator: Total drop (inches) with each input moved on its own, every other input held at the worked-example value.
InputTested fromToTotal drop (inches): low inputTotal drop (inches): high inputSwing
Pipe run length18224.55.51 (20%)
Slope0.2250.2754.55.51 (20%)

Drain Slope: individual input comparisons

Drain Slope Calculator: change one input at a time; other values remain at the stated example.
InputValueTotal drop (inches)Grade
Pipe run length1642.1%
184.52.1%
2052.1%
225.52.1%
2462.1%
Slope0.241.7%
0.2254.51.9%
0.2552.1%
0.2755.52.3%
0.362.5%

Total drop (inches): Pipe run length against Slope

Drain Slope: Total drop (inches) at combined Pipe run length and Slope settings.
Pipe run length / Slope0.20.250.3
163.244.8
183.64.55.4
20456
224.45.56.6
244.867.2

Drain Slope: values and definitions

Worked-example inputs and the results they produce for the Drain Slope Calculator.
Quantity and definitionValue used
Pipe run length — Horizontal length of the drain run, in feet.20
Slope — Entered fall in inches per horizontal foot. Select the slope from the applicable adopted code and design; this input does not determine a legal minimum.0.25
Total drop (inches)5
Grade2.1%

Pipe run length: half and double

Drain Slope scale comparison; assumed inputs.
Pipe run lengthTotal drop (inches)
102.5
205
4010

A drain must fall enough for water to carry solids along, and too little or too much slope both cause trouble. A quarter inch per foot is the slope commonly required for small drain lines, and over a 20 foot run it drops 5 inches, a grade of about 2.1 percent. Too little slope lets solids settle and clog.

Too much can let water outrun the solids and leave them behind. The pipe size and the local code set the allowed range.

Confirm the slope your local plumbing code requires for the pipe size, and check the total drop against the height available between the fixture and the main line.

Size the pipe with the drainage fixture unit calculator, calculate the volume on the pipe volume page and flow on the flow rate calculator. The distance and slope and right triangle calculators handle the geometry, and the stair and rafter pages use similar slope math.

Is 1/4 inch per foot mandatory for every drain?

No. Required fall depends on the applicable adopted code, diameter and run classification. This tool does not choose the required minimum.

Does the calculator test a maximum allowed slope?

No. It converts a chosen slope to total fall and percent grade. Applicable restrictions require the actual design and code.

Why does 0.25 in/ft become 2.083%?

Divide the quarter-inch fall by 12 inches of horizontal run, then multiply by 100.

What slope should a drain pipe have?

The required slope depends on the adopted plumbing code, pipe size and installation. Enter the actual design slope to calculate drop, then verify the requirement with the responsible authority or design professional. A general inch-per-foot rule does not establish every pipe’s permitted grade.

Can a drain slope too much?

Grade must be considered with pipe size, layout, venting, connections and applicable requirements. This geometric calculator only converts slope to drop. It does not simulate transport of solids or establish a universal maximum slope; use the installation design and adopted code.

What is grade as a percent?

The drop divided by the length times 100. A quarter inch per foot is about a 2.08% grade.