Drainage Slope Calculator Formula
Understand the math behind the drainage slope calculator. Each variable explained with a worked example.
Formulas Used
Total Drop
total_drop_in = run_length * slope_fractionTotal Drop
total_drop_ft = run_length * slope_fraction / 12Slope Percentage
slope_percent = slope_fraction / 12 * 100Variables
| Variable | Description | Default |
|---|---|---|
run_length | Pipe Run Length(ft) | 20 |
slope_fraction | Slope(in/ft) | 0.25 |
How It Works
Drainage Slope
Total Drop = Run Length x Slope
The standard slope for most residential drain lines (3-inch and larger) is 1/4 inch per foot. Pipes smaller than 3 inches often require 1/4 in/ft as well, though codes may specify 1/8 in/ft for larger commercial mains.
Worked Example
A 20-foot drain run at the standard 1/4 in/ft slope.
- 01Drop = 20 x 0.25 = 5 inches
- 02In feet = 5 / 12 = 0.417 ft
- 03The outlet must be 5 inches lower than the inlet.
Frequently Asked Questions
Why is 1/4 inch per foot the standard slope?
This slope provides enough gravity for solids and liquids to flow together without the liquid running ahead and leaving solids behind. Steeper slopes can actually cause clogs.
What slope do I need for a 2-inch pipe?
Most codes require 1/4 inch per foot for pipes 2-1/2 inches and smaller. Check your local plumbing code for exact requirements.
Ready to run the numbers?
Open Drainage Slope Calculator