How the pipe slope calculator works
Total drop = slope (in/ft) × length (ft)
Grade % = slope ÷ 12 × 100 1/4 in per ft ≈ 2.08%
Example
A 40 ft drain at 1/4 in per foot drops 0.25 × 40 = 10 in, a 2.08% grade.
Typical minimums under the International Plumbing Code (Table 704.1): 1/4 in per ft for pipe 2½ in and smaller, 1/8 in per ft for 3–6 in, and 1/16 in per ft for 8 in and larger. Check the code your jurisdiction adopted.
Frequently asked questions
Can a drain have too much slope?
Very steep slopes can let water run ahead of solids. Most installers stay near the code minimum unless the pipe is nearly vertical.
What's 1/8 in per foot as a percent?
About 1.04%.
Results are estimates for general information. Check important figures against your project documents, codes, or a qualified professional. Updated November 2026.