Skip to content
Calcapedia
Trades

Pipe Slope Calculator

Work out how much a drain pipe drops over a run at a given slope, or the slope from a measured drop. See it in inches per foot, percent and ratio.

Level: Grades 6–7

Printable worksheet

Pipe Slope Calculator

Know the answer you need? Pick an input to work backward.

Inputs
Find

1/4 in per foot is 0.25; for a ratio such as 1:48, enter 48.

Measured horizontally along the pipe.

Result

Fall over the run

5 in

0.25 in per foot (2.083%) over 20 ft drops 5 in. Local plumbing code and the inspector govern.

Fall over the run
127 mm
Slope
2.083%
Slope
0.25 in/ftMeets the 0.25 in/ft minimum that IPC Table 704.1 sets for 2½ in and smaller drain pipe.
Slope as 1 in N
48
Angle below level
1.193 °

See the step-by-step solution ↓

Step-by-step solution

  1. Turn inches per foot into a percent: divide by the 12 inches in a foot, then multiply by 100

    0.2512×100=2.083333%
  2. Multiply the slope by the length to get the fall, in inches (1 ft = 12 in)

    2.083333100×20×12=5 in
  3. Turn the percent into inches per foot: divide by 100, then multiply by 12

    2.083333100×12=0.25 in/ft
  4. Find the angle below level from the slope, using arctan (which turns a slope into an angle)

    θ=arctan 0.020833=1.1935 °

Test yourself

20 quick questions built from this calculator's formula: work out results, predict what happens when an input changes, and work backward from an answer. Every answer comes with the working.

What this calculator does

Find out how much lower the far end of a drain pipe needs to sit, or check the slope of a pipe you've already laid. Drain, waste and sewer pipes work by gravity. So every sideways run has to slope down toward the outlet. With too little slope, solids settle and block the pipe. That's why plumbing codes set a minimum. For the small pipes inside a house, it's most often 1/4 in of drop for every foot of run. Plumbers write the same slope in several ways: inches per foot, a percent, or a ratio such as 1 in 48.

This pipe slope calculator converts between them and does the math for a whole run. Give the slope and the length to find how far the far end must sit below the near end. Or give a measured drop and length to find the slope you actually have. It also compares the result with the minimum slopes that the International Plumbing Code (IPC) sets for small, medium and large drain pipes. Your local code decides what's acceptable, along with your inspector. That code may be a different plumbing code, or an amended one.

Where it's used

Why this math matters outside the classroom:

  • Bathroom remodel. A plumber running a 2 in drain 8 ft to the stack sets the far end 8 × 0.25 = 2 in lower.
  • Checking old work. A home inspector measures 3 in of drop over 24 ft and finds 0.125 in per foot, too shallow for a 2 in pipe.
  • Site sewer lines. Builders lay a 4 in building sewer at 1/8 in per foot, which is 1 in 96, or about 1.04%.
  • Metric plans. A 2% fall over a 6 m run means the outlet sits 120 mm below the start.
  • Unit practice. Students turn 1/4 in per foot into a percent by dividing by 12 and multiplying by 100, getting 2.08%.

Grade level and standards: Grades 6–7; Common Core State Standards for Mathematics 7.RP.A.2.c, 6.RP.A.3.d. © Copyright 2010. National Governors Association Center for Best Practices and Council of Chief State School Officers. All rights reserved.

How to use it

  1. Choose whether you want the fall over a run, or the slope from a fall you've measured.
  2. Enter the slope in inches per foot, percent, or as 1 in N (for 1:48 enter 48). Or enter the measured drop.
  3. Enter the horizontal length of the run in feet or meters.
  4. Pick the drain size to compare against the minimum slope, then read the fall or the slope.

What the inputs mean

Slope
Common drain slopes are 1/4 in per foot (0.25, about 2.08% or 1 in 48) and 1/8 in per foot (0.125, about 1.04% or 1 in 96).
Length of the run
Use the level distance between the two points. For example, from a fixture's trap arm (the pipe running out of the U-shaped trap) to the stack, or along a building drain.
Drop from start to end
The difference in height between the start and the end of the run. Measure both ends to the same point on the pipe, for example the bottom inside, called the invert.
Compare with the minimum slope for
The minimum slope depends on the pipe's width. Smaller pipes need more slope to keep the flow moving fast enough to carry solids.

Formula and method

percent slope = inches per foot ÷ 12 × 100
percent slope = 100 ÷ N        (for a slope of 1 in N)
fall = percent ÷ 100 × length
slope = fall ÷ length × 100     (fall and length in the same unit)
angle = arctan(percent ÷ 100)

The fall is how much lower one end is than the other, and the length is the level distance between them. N is the number in a "1 in N" ratio. arctan (arc tangent) turns a slope into an angle in degrees.

Every way of writing a slope is the same ratio of drop to run. Inches per foot compares a drop in inches with a run of 12 in. So dividing by 12 gives the ratio, and multiplying by 100 gives a percent. A ratio of 1 in N means one unit of drop for every N units of run, which is 100 ÷ N percent.

The fall over a run is that ratio times the length, with care over units. A length in feet is multiplied by 12 to give a fall in inches. A length in meters is multiplied by 1000 to give millimeters.

Worked example

A 2 in branch drain must run 20 ft at 1/4 in per foot.

  1. Percent slope: 0.25 ÷ 12 × 100 = 2.083333%.
  2. Fall: 2.083333 ÷ 100 × 20 × 12 = 5 in (127 mm).
  3. As a ratio: 100 ÷ 2.083333 = 1 in 48, an angle of about 1.19° below level.

Result: The far end must be 5 in lower than the near end. That meets the 1/4 in per foot minimum for pipes 2½ in and smaller.

Understanding the result

A result that meets the minimum slope satisfies the slope part of the drainage rule for that pipe size. Building drains and sewers can often use 1/8 in per foot when they're 3 in or larger. But trap arms and small branches usually need 1/4 in per foot.

Codes set minimums, not ideal values. Very steep runs are generally allowed. But on long, nearly flat stretches, they can let water run ahead of solids. That's why big drops are usually made with a vertical section and fittings, rather than a steeply sloped pipe.

Assumptions and limitations

  • The slope is even along the whole run.
  • Length is the level distance. At drainage slopes, it differs from the pipe's own length by less than 0.1%.
  • Minimum slopes are those in International Plumbing Code Table 704.1.
  • It doesn't size the pipe for fixture units (a code measure of how much each fixture drains). It doesn't check trap-arm length, venting or cleanouts either.
  • Other plumbing codes, such as the Uniform Plumbing Code, and local amendments may set different minimums or exceptions. One example is steeper piping upstream of a grease interceptor.
  • Local codes and the inspector govern. Have a licensed plumber design or approve drainage work, especially sewer connections.

Frequently asked questions

How much fall does a 10 ft drain need?

At 1/4 in per foot, 10 ft needs 2.5 in of fall. At 1/8 in per foot it's 1.25 in. Which applies depends on the pipe size and your local code.

What is 1/4 in per foot as a percent?

About 2.08%, since 0.25 ÷ 12 = 0.0208. It's also a ratio of 1 in 48. 1/8 in per foot is about 1.04%, or 1 in 96.

Can a drain pipe have too much slope?

Codes set a minimum rather than a maximum for most drains. But on long, nearly flat runs, a very steep slope lets liquid outrun solids. Large changes in height are usually made with a vertical drop and suitable fittings.

Does the minimum slope depend on pipe size?

Yes. Under the International Plumbing Code, pipes 2½ in and smaller need 1/4 in per foot. Pipes from 3 to 6 in need 1/8 in per foot, and 8 in and larger need 1/16 in per foot.

Sources

How this calculator is checked

Method: Slope conversions (in/ft ÷ 12, 100 ÷ N) and fall = slope × length; minimum slopes 1/4, 1/8 and 1/16 in/ft from International Plumbing Code Table 704.1, cited by section. The calculation is covered by automated tests with known reference values and edge cases. Last updated 2026-10-18. Found a problem? Tell us.

Embed this calculator

Put this Pipe Slope Calculator on your own website or blog for free. Paste this code where you want it to appear: