Pipe Slope Calculator
Enter the pipe run length and total drop to estimate the slope.
What this calculator does
This calculator converts a total vertical drop into a slope per foot, and shows the drop the standard 1/4 in per foot rule would need for the same run. At the defaults—a 20 ft run with 5 in of drop—the slope is exactly 0.25 in/ft, which is the classic minimum for household drains, and the table confirms a 20 ft run at that standard needs precisely 5 in of fall. If your numbers land above or below that line, the sections below explain what each direction costs you.
How drain pipe slope is calculated
Slope is the drop per foot of run. A common drainage standard is 1/4 inch per foot. Divide the total drop by the run length for the actual slope in inches per foot.
The math is division, but the units trip people up: drop is measured in inches while the run is measured in feet, so the answer reads “inches of fall per foot of pipe.” A 2% grade—the same number in metric-friendly terms—equals exactly the 1/4 in per foot standard, because 0.25 ÷ 12 = 2.08%. Sewer codes on both sides of the Atlantic write that figure as 2%, and inspectors check it with a level and a tape in the trench before covering the pipe.
Worked example at the defaults
A 20 ft run with 5 in of total drop: 5 ÷ 20 = 0.250 in/ft, or a 2.08% grade. The reverse check gives 20 × 0.25 = 5 in, so this run exactly meets the small-pipe standard. Picture it in the trench: the pipe bellies down half an inch every 2 ft, and by the far end of the run the invert sits 5 in below where it started. Stretch the same 5 in of fall to a 40 ft run and the slope halves to 0.125 in/ft—acceptable for a 4 in pipe, marginal for a 3 in one.
Standard slopes by pipe size
| Pipe size | Common slope |
|---|---|
| 2 1/2 in and smaller | 1/4 in per ft |
| 3 to 6 in | 1/8 in per ft |
| 8 in and larger | 1/16 in per ft |
Larger pipes can run flatter because they carry proportionally more water per inch of flow depth, keeping the water shallow enough to carry solids along. A 4 in building drain at 1/8 in per foot is the most common real-world case—the code minimum for that size in most US jurisdictions—while a 1.5 in sink branch holds the full 1/4 per foot because its flows arrive in bursts that must sweep debris along every time.
Why the 1/4 in per foot rule exists
At 1/4 in per foot, water in a small pipe moves fast enough—roughly 2–3 ft per second—to carry solids along with it and to scour the pipe wall on its way past. That speed is the entire design goal: drainage pipes are self-cleaning only when the water is quick, not just present. The rule also gives plumbers a number that is easy to hold in the field—one bubble of a torpedo level per foot, or a 2% setting on a laser level—which is why it survived a century of code revisions.
Too flat or too steep
Too little slope lets water sit; too much can leave solids behind as water rushes past. Stay close to the recommended range for the pipe size.
Both failure modes show up as clogs, but for opposite reasons. A flat pipe (under about 1/8 in per foot on a 4 in line) lets water pond, solids settle out, and grease congeal into a plug that jetting machines charge $150–$500 to clear. A steep pipe—anything past roughly 1/2 in per foot on small lines—lets the water outrun the solids, leaving them stranded in a dry pipe where they accumulate until the next heavy flow flushes them into the main as a lump. Many codes cap interior branch slopes for exactly this reason.
Setting slope in the field
- String line between grade stakes at the two ends, then measure down every few feet
- Torpedo level on the pipe: one bubble-deflection per 2 ft approximates 1/8 in per foot
- Laser level set to the target grade is the fastest and most accurate method on long runs
- Check the invert at each fitting; elbows and saddles must not create low spots
The trench bottom, not the pipe, holds the grade—bedding sand smoothed to the target fall keeps the pipe from high or low spots that a stiff pipe would otherwise bridge over. Compaction matters too: backfill that settles later can turn a correct 1/4 in per foot into a bellied run with a new low point to collect debris.
Common mistakes
- Measuring the pipe length along the slope instead of the horizontal run, inflating the slope slightly on long falls
- Slope-checking only at the ends and missing a belly in the middle of the run
- Using the 1/4 in per foot rule on a 4 in pipe, wasting vertical fall the site may not have
- Letting fittings, not the pipe run, define the grade near tie-ins
- Ignoring freeze depth, which forces the fall budget into a deeper trench than the site allows
The vertical budget is usually the binding constraint: a 60 ft run at 1/4 in per foot demands 15 in of fall before the pipe even reaches the street main, and lots with less relief than that are exactly where plumbers switch to a larger pipe at 1/8 per foot to make the math fit.
Frequently asked questions
What is the standard drain slope?
Commonly 1/4 inch per foot (about a 2% grade) for pipes up to roughly 2 1/2 inches. Larger 3 to 6 in drains are permitted 1/8 in per foot in most codes, and 8 in municipal lines run at 1/16.
How much fall for a 20 foot drain pipe?
At the 1/4 in per foot standard, a 20 ft run needs 5 inches of total drop. The calculator’s default inputs—20 ft and 5 in—produce exactly that slope.
How do I measure pipe slope?
Divide the vertical drop by the horizontal run length. In the trench, a string line between stakes, a torpedo level on the pipe, or a laser level set to the target grade all verify it.
Can a drain be too steep?
Yes, very steep drains can strand solids while water flows away. Above roughly 1/2 in per foot on small pipes, water outruns the waste, which is why many codes cap branch slopes.
What happens if a drain is too flat?
Water ponds, solids settle, and grease builds into a plug. Flat runs are the leading cause of recurring clogs and often need professional jetting at $150–$500 per visit.
Is 1/8 inch per foot enough slope?
For a 3 or 4 inch building drain, most codes say yes, and it is the go-to figure when vertical fall is scarce. For 1.5 to 2.5 in branch lines, stay at the full 1/4 in per foot.
How many inches per foot is a 2% slope?
A 2% grade is about 0.24 in per foot, effectively the same as the 1/4 in per foot standard. Code documents usually write it as 2% because it converts cleanly to metric.
Does slope change with pipe material?
The standard is the same for PVC, ABS or cast iron—what changes is the fitting sweep and the interior smoothness. Smooth PVC holds velocity at flatter slopes better than older cast iron, which is why replacements sometimes survive at code minimum where the original pipe did not.
Method and sources
- Pipe slope = total drop ÷ run length; typical 1/4 in per ft for small drains.