Getting drain slope right is the difference between a line that self-scours and one that clogs. This calculator converts freely between slope, run length, and total fall so you can lay out and cut pipe to the correct gradient, and it checks the result against the IPC 704.1 minimum.
How it works
The three quantities are tied together by one relationship:
fall (in) = slope (in/ft) × run (ft)
slope (in/ft) = fall (in) ÷ run (ft)
run (ft) = fall (in) ÷ slope (in/ft)
percent grade = slope (in/ft) × 100 ÷ 12
The standard slopes are 1/4 inch per foot for pipe up to 3 inches and 1/8 inch per foot permitted for 3 inch and larger, with 1/2 inch per foot used where extra fall is available. The tool flags any slope below the 1/8 inch per foot floor.
Example and tips
A 20 foot run at 1/4 inch per foot drops 5 inches end to end, about a 2.08 percent grade. Set your laser or level to that target before trenching. Keep slope at or above the code minimum so solids are carried, but resist going far steeper than the 1/4 inch per foot standard on long runs, since an overly steep line can let water outrun solids and leave blockages behind.