Pipe Slope Calculator
Calculate the perfect slope for drain pipes to ensure proper flow and code compliance. Ideal for plumbing, drainage systems, and construction projects.
Calculator Inputs
Determines minimum recommended slope per plumbing codes
Calculation Results
Enter pipe length and slope values to see results
How to Use the Pipe Slope Calculator
Select Pipe Diameter
Choose the diameter of your drain pipe. This determines the minimum recommended slope per IPC/UPC plumbing codes.
Enter Pipe Length
Input the horizontal length (run) of your pipe. You can use feet, inches, or meters.
Choose Calculation Method
From Slope: Enter a known slope value (in/ft, %, or ratio) to calculate the total drop.
From Elevation: Enter start and end elevations to calculate the slope.
View Results Instantly
Results update automatically as you type. Check if your slope meets plumbing codes and view the visual representation.
Total Drop (Fall):
Drop (inches) = Length (feet) × Slope (inches/foot)
Slope Percentage:
Slope (%) = (Drop ÷ Run) × 100
Slope Ratio:
Ratio = 1 : (12 ÷ Slope in/ft)
Example: 1/4" per foot = 1:48 ratio
Slope Angle:
Angle (°) = arctan(Rise ÷ Run) × (180 ÷ π)
Per the International Plumbing Code (IPC) and Uniform Plumbing Code (UPC):
| Pipe Diameter | Minimum Slope | Equivalent |
|---|---|---|
| 2.5" or smaller | 1/4" per foot | 2.08% or 1:48 |
| 3" to 6" | 1/8" per foot | 1.04% or 1:96 |
| 8" or larger | 1/16" per foot | 0.52% or 1:192 |
Important: Slopes that are too steep (greater than 1/2" per foot) can cause liquids to flow too fast, leaving solids behind and potentially causing clogs.
