Drain Slope Calculator
Drain pipes rely entirely on gravity to move waste — the slope (or grade) must be steep enough to carry solids in suspension, but not so steep that liquids race ahead and leave solids behind. The IPC and UPC minimum is 1/4 inch per foot for pipes 3 inches and smaller, and 1/8 inch per foot for 4-inch and larger pipes. The maximum slope before self-scouring becomes a problem is typically 1/2 inch per foot. Enter pipe run length and diameter to get the code minimum total drop, slope percentage, flow velocity (using Manning's formula), and code compliance status. Total drop is what the plumber sets the pipe grade to during rough-in — typically measured with a 4-foot level and ruler at each pipe support.
Quick Fill
Buy MaterialsAD
Top Pick4" PVC Sewer Pipe 10 ft — Home Depot~$12.98/10 ft* Affiliate links — we may earn a commission at no cost to you.
Related Calculators
How to Use This Calculator
- 1Enter your measurements in the fields above. Use the units shown next to each field (ft, in, etc.).
- 2Click Calculate to get your material estimate instantly.
- 3Review the highlighted result — it shows the key quantity you need to order.
- 4Use Copy Results to save your estimate, or bookmark the URL — your inputs are encoded in the link.
Pro tip: Always add 10% to your material order to account for waste, cuts, and defects.
Frequently Asked Questions
What is the minimum drain slope required by code?
The International Plumbing Code (IPC) requires a minimum slope of 1/4" per foot (2%) for drain pipes 3" diameter and smaller, and 1/8" per foot for 4" and larger pipes. Slopes steeper than 1/2" per foot can cause solids to separate from liquids, causing blockages.
How do I measure drain slope in the field?
Use a 4-foot level with a ruler: place the level on the pipe, raise one end until it reads level, then measure the gap at the low end. A 1" gap over 4 feet = 1/4" per foot slope. A digital level/inclinometer reads slope percentage directly.
What happens if a drain pipe is too steep?
If the slope exceeds approximately 1/2" per foot, the water drains faster than the solids can follow — liquids race ahead, leaving waste behind in the pipe. This is called self-scouring failure and leads to chronic blockages. For very long horizontal drain runs, keep slope between 1/8" and 1/4" per foot to maintain proper flow velocity.
What pipe material should I use for drain lines?
PVC (white, Schedule 40) is the standard for new construction drain lines — durable, lightweight, easy to cut, and solvent-welded. ABS (black) is common in older construction and in some western states. Cast iron is used in multi-family and commercial buildings for noise reduction. For underground sewer lines running outside the foundation, use SDR-35 PVC or Schedule 40 PVC — never use DWV-only pipe (orange markings) underground.