WaterCalculator

Pipe Slope Calculator

Enter the drop and run of a drain line to get its slope, check it against IPC/UPC code minimums, and see how much it can carry. Results update as you type.

Your drain line

Enter the vertical drop and horizontal run over the same section of pipe.

Smooth plastic pipe (PVC or ABS) is the standard for new residential drains and carries the most flow at a given slope.

Pipe slope

4 in pipe · n 0.009
2.08 %

Tap a unit to make it the main figure

Copied to clipboard

In short: slope is just drop ÷ run. Most codes want at least 1/4 inch of fall per foot for pipe up to 2 1/2 inches, 1/8 inch per foot for 3–6 inch pipe, and 1/16 inch per foot for 8-inch and larger pipe. Enter your numbers above to check compliance and see how much water the line can actually carry.

This is a planning aid based on the IPC/UPC and Manning's equation. Confirm slope and sizing against your local plumbing code and a licensed plumber or engineer before installing.

How to calculate pipe slope

Pipe slope compares how far a drain line falls (the drop) to how far it runs horizontally over that same stretch (the run). Once you have both measured in the same unit, the calculation is one division:

slope = drop ÷ run Multiply by 100 for percent, or by 12 for inches of fall per foot of run (when drop and run are both in feet). This calculator converts whatever units you enter into a single ratio first, so the units you pick don't change the result.

This tool takes your drop and run, converts them to a common length unit, and reports the ratio as a percent, inches-per-foot figure, feet-per-foot ratio, or angle in degrees — whichever you tap to see. It then checks that slope against the IPC/UPC minimum for the pipe diameter you selected, and uses Manning's equation to estimate how much water the pipe can carry running full.

Worked example. A 4-inch PVC drain falls 2 inches over an 8-foot run. Two inches is 0.1667 feet, so the ratio is 0.1667 ÷ 8 = 0.02083, which is 2.08% or 0.25 inch of fall per foot. The code minimum for 4-inch pipe is 1/8 inch per foot (1.04%), so this line clears it with room to spare. Running full, Manning's equation puts its capacity at about 178 gallons per minute at a velocity of roughly 4.5 feet per second — comfortably above the 2 ft/s usually recommended to keep solids moving.

Full-flow is a ceiling, not a design target. The capacity and velocity figures assume the pipe is flowing completely full, which real drain lines rarely do. Treat them as an upper bound for comparing pipe sizes, slopes and materials — not as the flow you should expect to see day to day.

Why diameter and material change the answer

Slope alone only tells you how steeply a pipe falls — it doesn't tell you how much water can move through it. That's where Manning's equation comes in: Q = (1.486/n)·A·R^(2/3)·S^(1/2) in US units, where A is the pipe's cross-sectional area, R is its hydraulic radius (a quarter of the diameter when a circular pipe runs full), S is the slope as a decimal, and n is the Manning roughness coefficient for the pipe material.

A bigger pipe has more cross-sectional area, so it carries more water at the same slope. A smoother pipe — lower n — lets water move with less internal friction, so it also carries more at the same slope and size. That's why a smooth PVC line needs less slope than a rough concrete or corrugated pipe to move the same flow, and why code minimums exist at all: they guarantee enough velocity to keep solids suspended even in the roughest permitted material.

Minimum drain slope by pipe size

The IPC/UPC minimums this calculator checks against. These are floors, not targets — most residential lines are built steeper than the minimum where the layout allows it.

Minimum slope for horizontal drainage piping (IPC Table 704.1 / UPC).
Pipe diameterMinimum slope (in/ft)Minimum slope (%)
2 1/2 in or smaller1/42.08%
3 in to 6 in (most fixture drains)1/81.04%
8 in or larger1/160.52%

Worked examples

4-inch PVC branch line

2.08% slope

A 2-inch drop over 8 feet (0.25 in/ft) on 4-inch PVC clears the 1/8 in/ft minimum easily. Full-flow capacity is about 178 GPM at 4.5 ft/s.

6-inch cast iron main

1.25% slope

A 3-inch drop over 20 feet (0.15 in/ft) still clears the 1/8 in/ft minimum for 6-inch pipe. Full-flow capacity is about 282 GPM at 3.2 ft/s — self-cleansing.

3-inch PVC laid too flat

0.42% slope

A 1/2-inch drop over 10 feet (0.05 in/ft) falls short of the 1/8 in/ft minimum for 3-inch pipe. Velocity comes out to only 1.7 ft/s — below the 2 ft/s self-cleansing target, which is exactly why the code sets a floor.

What else affects the result

Real flow depth. The capacity and velocity figures above assume the pipe is running completely full. In practice, drain lines usually flow partly full, and velocity actually peaks at around 80% full rather than 100% — so a pipe can be self-cleansing at typical flows even though these full-flow numbers look close to the 2 ft/s line.

Fittings, offsets and vents. Elbows, cleanouts and changes in direction add friction the simple slope-and-diameter picture doesn't capture, and inadequate venting can restrict flow regardless of slope.

Local amendments. Many jurisdictions adopt the IPC or UPC with local amendments that can tighten minimum slopes or restrict maximum slopes for specific pipe sizes or uses. Always check with your local building department before finalizing a design.

Frequently asked questions

What is a good slope for a drain pipe?

For most residential drain lines, 1/4 inch of fall per foot of run (about 2.08%) is the traditional rule of thumb, and it comfortably clears the code minimums for pipe up to 6 inches. Larger pipe, 8 inches and up, can drain adequately on much flatter slopes — as little as 1/16 inch per foot.

What's the minimum slope for a 4-inch drain pipe?

Under the IPC and UPC, drain pipe 3 to 6 inches in diameter — including 4-inch pipe — needs a minimum slope of 1/8 inch per foot, about 1.04%. Pipe 2 1/2 inches or smaller needs double that, 1/4 inch per foot (2.08%), and pipe 8 inches or larger only needs 1/16 inch per foot (0.52%).

Can a drain pipe be sloped too much?

Yes. Codes set a minimum slope, but a line that is far too steep can let liquid outrun solid waste, leaving debris behind to clog the pipe. Many plumbers treat about 1/2 inch per foot (roughly 4.2%) as a practical ceiling for smaller waste lines, though it is not a hard code limit the way the minimum is.

How do I convert inches per foot to percent slope?

Divide the inches-per-foot figure by 12, then multiply by 100. For example, 1/4 inch per foot works out to 0.25 ÷ 12 × 100 = 2.08%. To go the other way, multiply the percent by 12 and divide by 100.

Does pipe material affect drainage capacity?

Yes. Smoother pipe walls carry more water at the same slope and diameter. In Manning's equation this shows up as a lower roughness coefficient, n — smooth PVC (n ≈ 0.009) carries noticeably more flow than the same size cast iron, clay or concrete pipe (n ≈ 0.013) at an identical slope.

Sources & references

  1. International Code Council. International Plumbing Code (IPC), Table 704.1 — Slope of Horizontal Drainage Piping.
  2. IAPMO. Uniform Plumbing Code (UPC).
  3. Manning, R. (1891). On the Flow of Water in Open Channels and Pipes. Transactions of the Institution of Civil Engineers of Ireland, 20, 161–207.
John Mac, PE

John Mac, PE

Water Systems Specialist · Austin, Texas

Texas-licensed Professional Engineer with 13+ years in residential water systems and 180+ completed projects. Writes and reviews the calculators on watercalculator.us. Read full bio

Texas PE (2016) · BS Civil Engineering, Hydraulics (2013)

Updated Methodology Editorial policy