200+ free tools. No sign-up. No hidden fees.Explore the toolkit ↗
Find a tool ↗

Home›Drain Pipe Slope Calculator

Drain Pipe Slope Calculator

How much fall does a horizontal drain pipe need so the water flows and the solids don’t settle? This calculator works out the total drop in inches from the slope and the run length, in inches per foot, percent and degrees — and checks the slope against the IPC code minimum for the pipe size. The result is an estimate for planning — a licensed plumber should confirm the final layout, and the code minimum is a minimum, not a target.

Calculate your drain pipe slope

⚠︎ Estimate only. Pipe and tank sizing must be confirmed by a licensed plumber and comply with your local plumbing code (IPC/UPC in the US). Never treat a calculator result as code compliance.
Units:

The IPC minimum slope (Table 704.1) is 1/4 in per foot for pipe 2-1/2 in and smaller, 1/8 in per foot for 3 in to 6 in pipe, and 1/16 in per foot for 8 in and larger. Too little slope and the solids settle; too much slope and the water outruns the solids and leaves them behind. The usual design slope is 1/4 in per foot for small pipe and 1/8 in per foot for 3 in and up.

Your results

–
total fall
–
slope in percent
–
slope angle
–
code check

How the drain pipe slope formula works

The fall is the slope times the run — the same rise-over-run you learned in school, measured in inches per foot.

Total fall: fall (in) = slope (in/ft) × run (ft)

Percent: slope % = slope ÷ 12 × 100

Angle: angle = arctan(slope ÷ 12)

Code minimum (IPC Table 704.1): 2-1/2 in and smaller: 1/4 in/ft · 3–6 in: 1/8 in/ft · 8 in and larger: 1/16 in/ft

This uses the standard method, verified against textbook examples: a 50 ft run at 1/8 in per foot falls 50 ÷ 8 = 6-1/4 in, and a 72 ft run at 1/4 in per foot falls 18 in. The one judgement call is the slope itself: the code minimum is a minimum, and most plumbers use 1/4 in per foot on small pipe and 1/8 in per foot on 3 in and up, because a slope that is too flat leaves solids behind and a slope that is too steep lets the water outrun them.

Worked example

A 50 ft run of 3 in drain pipe at 1/8 in per foot:

Total fall: 1/8 × 50 = 6.25 in (6-1/4 in)

Slope: 0.125 ÷ 12 × 100 = 1.04% (0.60°)

Code minimum for 3 in pipe: 1/8 in/ft — PASS

Cost: 50 ft at $3.00/ft = $150 + fittings ~$25 = $175

For a 72 ft run at 1/4 in per foot: fall = 72 × 0.25 = 18 in (1.50 ft), slope 2.08% — the ExamFinch example. And a 40 ft run of 2 in pipe at 1/8 in per foot: fall = 5 in, but the code minimum for 2 in pipe is 1/4 in/ft — FAIL, so the slope must be raised to 1/4 in/ft, giving a 10 in fall.

How much does drain pipe cost? (US, 2026)

Prices are 2026 US ranges from US retail listings per linear foot for PVC DWV pipe. Fittings, hangers and a cleanout add about $25–$50 per run. Check local prices before ordering.

PipeTypical price per ft
PVC DWV, 2 in$1.50–$2.50
PVC DWV, 3 in$2.00–$4.00
PVC DWV, 4 in$3.00–$6.00
PVC DWV, 6 in$6.00–$10.00
ABS DWV, 3 in$2.00–$4.00
Cast iron, 4 in$8.00–$15.00
Fittings + cleanout (per run)$25–$50

Waste allowance

There is no waste percentage on a slope calculation — the fall is exact once the slope and the run are known. The allowance that matters is the pipe length: add 10% to the run for cuts and fittings, and buy one extra coupling if the run has more than two joints.

Frequently asked questions

How much fall does a drain pipe need?

It depends on the size: 1/4 in per foot for pipe 2-1/2 in and smaller, 1/8 in per foot for 3 in to 6 in pipe, and 1/16 in per foot for 8 in and larger (IPC Table 704.1). A 50 ft run of 3 in pipe at 1/8 in/ft falls 6-1/4 in.

What is the minimum slope for a 4 inch drain pipe?

1/8 in per foot — 1.04% grade. A 40 ft run of 4 in pipe needs 5 in of fall; a 100 ft run needs 12.5 in.

Can a drain pipe slope too much?

Yes — if the slope is too steep the water outruns the solids and leaves them behind to block the pipe. The code minimum is a minimum, but more than 1/2 in per foot on a long run is asking for trouble. The usual design slope is 1/4 in/ft on small pipe and 1/8 in/ft on 3 in and up.

How do you calculate total fall of a drain?

Multiply the slope per foot by the run length: fall = slope × length. A 50 ft run at 1/8 in/ft falls 6.25 in; a 72 ft run at 1/4 in/ft falls 18 in. Measure the fall with a builder’s level or a laser level on site.

What is the slope of a sewer pipe in percent?

1/8 in per foot is 1.04%, 1/4 in per foot is 2.08%, and 1/16 in per foot is 0.52%. Percent is the slope in inches per foot divided by 12, times 100.

Related calculators