Drain Pipe Slope Calculator
Calculate the correct slope and total drop for drain pipes to meet IPC/UPC code minimums and ensure proper drainage flow.
Pipe Parameters
Code minimum for 3" pipe: 0.25 in/ft
Total Drop
Slope %
rise ÷ run × 100
Slope (in/ft)
inches of fall per foot
Rise : Run
1 : X format
Flow Velocity (Manning's, full pipe)
n=0.013 (PVC), D/4 hydraulic radius
0 fps2 fps (min)8 fps (max)
Enter your pipe parameters and click Calculate Slope.
Code Minimums Reference
IPC / UPC minimum slope per pipe diameter
| Diameter | Min Slope (in/ft) | Min Slope % | Drop per 10 ft |
|---|---|---|---|
| 1½" | ¼ (0.25) | 2.08% | 2.5 in |
| 2" | ¼ (0.25) | 2.08% | 2.5 in |
| 3" | ¼ (0.25) | 2.08% | 2.5 in |
| 4" | ⅛ (0.125) | 1.04% | 1.25 in |
| 6" | ⅟₁₆ (0.0625) | 0.52% | 0.625 in |
Summary
Calculate the correct slope and total drop for drain pipes to meet IPC/UPC code minimums and ensure proper drainage flow.
How it works
- Select the pipe diameter (1.5" to 6") — the minimum code slope pre-fills automatically.
- Enter the pipe run length in feet or meters.
- Adjust the slope input if you want to check a custom grade, or use start/end heights.
- The calculator shows total drop, slope percentage, rise:run ratio, and code compliance.
- A simplified Manning's equation velocity estimate confirms self-cleaning flow (>2 fps).
Use cases
- Verify a basement drain or laundry line meets the 1/4" per foot code minimum.
- Plan a long sewer lateral and find the excavation depth at the far end.
- Check whether an existing pipe slope is sufficient before pouring a concrete slab.
- Calculate flow velocity to confirm solids will not settle in the pipe.
- Size the drop required between a floor drain and the building sewer connection.
Frequently Asked Questions
Last updated: 2026-07-23 ·
Reviewed by Nham Vu