Drain Pipe Slope Calculator

Quick answer

A drain pipe slope calculator finds how far a pipe must drop over its length. Multiply the length in feet by the slope in inches per foot to get the total fall in inches. It also shows the slope as a percent (slope divided by 12) and as a ratio. A 40 foot run at 1/4 inch per foot falls 10 inches.

Updated 2026-10-17By Shakeel Muzaffar | Reviewed by Prof. Dr. Khalil Mudassar, PhD
Try
Your details
Plumbing
ft
The horizontal length of the pipe run, in feet.
in/ft
The drop in inches for each foot of length. Enter 1/4 as 0.25.
Your results

Total fall

—
Percent slope—
Slope ratio—

Calculations run in your browser. Inputs are not sent to our servers; anything you Save stays in this browser only.

Saved results (0)
Calculator GuideMethod, worked examples, factors and FAQ

How to Use the Drain Pipe Slope Calculator

  1. Enter the length of the pipe run in feet.
  2. Enter the slope in inches per foot. Convert fractions first: 1/4 is 0.25 and 1/8 is 0.125.
  3. Read the total fall in inches, then the slope as a percent and as a ratio.
ResultWhat it means
Total fallHow far the pipe drops from the high end to the low end, in inches.
Percent slopeThe drop per foot as a percent of the 12 inches in a foot.
Slope ratioThe slope written as 1 inch of drop for N inches of length.

What Is Drain Pipe Slope?

Drain pipes carry water downhill by gravity, so each foot of pipe must sit slightly lower than the one before it. The drop per foot is the slope, and it is often written in inches per foot.

The same slope can be written as a percent or a ratio. A drop of 1/4 inch per foot is about 2.08 percent, or 1 inch of drop for every 48 inches of length.

How Does the Drain Pipe Slope Calculator Work?

Formula: Total fall (in) = Length (ft) x Slope (in per ft), Percent = Slope / 12 x 100, Ratio = 12 / Slope, as 1:N
  1. Convert any unit that is not already in the stated unit.
  2. Apply the formula to the values you entered.
  3. Convert the result to the other units shown.

The conversion between inches and meters uses the NIST factor of 0.0254 meters per inch, which gives the metric total fall in the working line. Twelve inches per foot is our derivation from the NIST inch and foot factors (0.3048 divided by 0.0254).

Drain Pipe Slope Example

A drain run is 40 feet long and you plan a slope of 1/4 inch per foot, which is 0.25.

Total fall = 40 x 0.25 = 10 inches. Percent = 0.25 / 12 x 100 = 2.08. Ratio = 12 / 0.25 = 48, written 1:48.

Our arithmetic checks the calculator. The 1/4 inch per foot is an example, not a code requirement.

Units Compared: How the Results Relate

SlopePercent (our arithmetic)RatioFall over 40 feet
1/8 inch per foot1.04 percent1:965 inches
1/4 inch per foot2.08 percent1:4810 inches
1/2 inch per foot4.17 percent1:2420 inches

The three columns describe the same slope. The percent and ratio values are our arithmetic from the inches per foot.

Factors That Change Your Result

Length

The total fall grows with the length. A long run needs a bigger total drop for the same slope per foot.

Slope per Foot

A steeper slope gives more fall but may be limited by the depth available at the low end.

Code and Design

Plumbing codes set minimum slopes for different pipes and uses. This calculator does not state them, so check your local code and the pipe maker.

When to Use It

Planning a Trench

Find the depth difference between the two ends of a drain run.

Checking a Layout

Confirm that the low end has enough depth for the fall you need.

Converting a Slope

Write one slope as inches per foot, percent and a ratio.

Common Mistakes

1. Entering a Fraction as Written

Type 1/4 as 0.25. A value typed as 1.4 is a very different slope.

2. Using the Pipe Length Along the Slope

Use the horizontal run. For gentle slopes the difference is small, but keep to one method.

3. Forgetting the Low-end Depth

Add the total fall to the depth at the high end to find the depth at the low end.

4. Assuming a Code Minimum

The calculator uses the slope you enter. It does not check it against a code.

Accuracy and Limitations

The calculator is exact for the arithmetic of slope and length. Whether a slope is allowed or works for a given pipe depends on the code and the design, which this page does not cover.

What it calculates accurately

  • Total fall from a length and a slope per foot
  • Conversion of the slope to percent and ratio

What it does not account for

  • Minimum slopes set by plumbing codes
  • Pipe size, flow and soil conditions

How We Calculate the Result

Method
Total fall (in) = pipe length (ft) x slope (in per ft). Percent slope = slope / 12 x 100. Ratio = 12 / slope, written 1:N.
Inputs used
Pipe length in feet and slope in inches per foot.
Assumptions
The pipe run is straight and the slope is constant along its length.
Rounding
Fall and percent to two decimals; ratio to a whole number.
Edge cases
Zero, negative or empty inputs show a message and no result.
Sources
See Sources below.
Last reviewed
2026-11-20.

Frequently Asked Questions

How do I calculate the fall of a drain pipe?

Multiply the length in feet by the slope in inches per foot. A 40 foot run at 1/4 inch per foot falls 10 inches.

How do I convert inches per foot to a percent?

Divide the inches per foot by 12 and multiply by 100. 1/4 inch per foot is about 2.08 percent.

What is a 1:48 slope?

It is 1 inch of drop for every 48 inches of length, which equals 1/4 inch per foot.

What slope should a drain pipe have?

This calculator does not state a code minimum. Check your local plumbing code and the pipe maker for the slope required for your pipe and use.

How do I enter 1/4 inch per foot?

Enter 0.25. Divide the top of the fraction by the bottom to get the decimal.

Is the fall in inches or feet?

The main result is in inches. The working line also shows feet and meters.

Does a longer pipe need more slope?

The slope per foot stays the same, but the total fall grows with the length.

How do I find the depth at the low end?

Add the total fall to the depth at the high end of the pipe.

Is my data saved?

No. The calculator runs in your browser and nothing is stored.

Sources

Related Calculators

Laying out a drain run?

Explore all framing calculators

This calculator gives a planning result for a slope you enter. It does not state code minimums or check pipe size, flow or soil. Confirm requirements with your local plumbing code and a qualified professional. Spotted an error? Let us know.