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.
Total fall
Calculations run in your browser. Inputs are not sent to our servers; anything you Save stays in this browser only.
Saved results (0)
How to Use the Drain Pipe Slope Calculator
- Enter the length of the pipe run in feet.
- Enter the slope in inches per foot. Convert fractions first: 1/4 is 0.25 and 1/8 is 0.125.
- Read the total fall in inches, then the slope as a percent and as a ratio.
| Result | What it means |
|---|---|
| Total fall | How far the pipe drops from the high end to the low end, in inches. |
| Percent slope | The drop per foot as a percent of the 12 inches in a foot. |
| Slope ratio | The 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?
Total fall (in) = Length (ft) x Slope (in per ft), Percent = Slope / 12 x 100, Ratio = 12 / Slope, as 1:N- Convert any unit that is not already in the stated unit.
- Apply the formula to the values you entered.
- 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
| Slope | Percent (our arithmetic) | Ratio | Fall over 40 feet |
|---|---|---|---|
| 1/8 inch per foot | 1.04 percent | 1:96 | 5 inches |
| 1/4 inch per foot | 2.08 percent | 1:48 | 10 inches |
| 1/2 inch per foot | 4.17 percent | 1:24 | 20 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
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
- NIST Guide to the SI, Appendix B.8 (conversion factors) (Inch to meter, 2.54 x 10^-2; foot to meter, 3.048 x 10^-1. Created Feb 1, 2016, updated Aug 18, 2025.)
- NIST Special Publication 811, Guide for the Use of the SI (Official SI unit guide; updated Dec 8, 2025. The factors are on Appendix B.8.)
Related Calculators
Laying out a drain run?
Explore all framing calculatorsThis 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.