Pipe Slope Calculator: Drain Fall, Grade & Pitch

Calculate total fall, pipe slope, maximum run, and invert elevations. Convert between inches per foot, percent, 1:n gradient, mm/m, and degrees, then drill the same math in Practice Mode.

Interactive Pipe Slope Calculator

Pick the job you are trying to solve. The calculator shows the result, equivalent slope formats, the math, and a live diagram.

Find total fall

Enter the horizontal run and the target slope.

Horizontal run

Your result

Enter values and select Calculate.

Slope diagram

Pipe slope diagram A simplified side view of a drain pipe sloping from an upstream invert to a lower downstream invert. Upstream Downstream Horizontal run Fall 1/4 in/ft · 2.083%

Diagram angle is exaggerated for clarity.

Optional model-code reference

Compare the calculated slope with a selected 2024 model-code baseline. This is not a local compliance determination.

Choose a reference after calculating a slope.

Plumbing Math Trainer

Five quick problems. Clean numbers, instant feedback, and no account required.

How to Calculate Drain Pipe Slope and Fall

Pipe slope math is simple once the units are balanced: slope = vertical fall ÷ horizontal run. The annoying part is usually that U.S. plumbing mixes feet of run with inches of fall while civil plans may show a percentage or 1:n gradient. That is why the calculator keeps all of the common formats synchronized.

Core pipe slope formulas

Slope decimalfall ÷ horizontal run
Slope percentslope decimal × 100
Inches per footslope decimal × 12
Millimeters per meterslope decimal × 1,000
Gradient 1:nn = 1 ÷ slope decimal
Total fallhorizontal run × slope
Downstream invertupstream invert − total fall
Anglearctan(slope decimal)

Use horizontal run, not diagonal pipe length

Grade is based on the horizontal distance between two points, not the slightly longer centerline distance along the sloped pipe. At ordinary drain slopes the numerical difference is small, but using the correct horizontal baseline matters when you are checking elevations or translating plan dimensions into field fall.

Common Pipe Slopes and Exact Conversions

Trade shorthand often treats 1/4 in/ft as 2% and 1/8 in/ft as 1%. They are close, but not identical. 1/4 in/ft is exactly 2.0833%. 1/8 in/ft is 1.0417%. A true 2% grade equals 0.24 in/ft, not 0.25.

Pitch Percent Gradient Metric Angle
1/16 in/ft0.5208%1:1925.208 mm/m0.298°
1/8 in/ft1.0417%1:9610.417 mm/m0.597°
1/4 in/ft2.0833%1:4820.833 mm/m1.194°
3/8 in/ft3.1250%1:3231.250 mm/m1.790°
1/2 in/ft4.1667%1:2441.667 mm/m2.386°
1.0%1.0000%1:10010.000 mm/m0.573°
2.0%2.0000%1:5020.000 mm/m1.146°

2024 IPC vs. UPC Drain Slope References

The calculator can compare your slope with two current U.S. model-code baselines. It intentionally does not label a design code compliant. Adoption and amendments are local.

Model code Pipe size Baseline shown by this tool Important caveat
2024 IPC §704.1 / Table 704.12 1/2 in or smaller1/4 in/ftGrease-interceptor upstream piping is also at least 1/4 in/ft.
2024 IPC §704.1 / Table 704.13 to 6 in1/8 in/ftUse the applicable sizing/capacity rules too.
2024 IPC §704.1 / Table 704.18 in or larger1/16 in/ftUse the applicable sizing/capacity rules too.
2024 UPC §708.1All horizontal drainage1/4 in/ft defaultFor 4 in or larger, 1/8 in/ft is a conditional exception where 1/4 is impractical and the AHJ first approves.

That IPC/UPC difference can be material. A 3-inch horizontal drain at 1/8 in/ft matches the IPC table, but it is below the UPC's default 1/4 in/ft baseline.

Worked Pipe Slope Examples

24 ft at 1/4 in/ft

24 × 0.25 = 6 inches of total fall.

80 ft with 10 in of drop

10 ÷ 80 = 0.125 in/ft = 1/8 in/ft = 1.0417% = 1:96.

48 ft from invert 100.00 ft

At 1/4 in/ft, fall is 12 in = 1.00 ft. Downstream invert = 99.00 ft.

2% over 32 ft

32 × 0.02 = 0.64 ft = 7.68 in. Using 1/4 in/ft instead would give 8.00 in.

Does Too Much Slope Make Water Outrun Solids?

The catchy field explanation is too simple to use as a universal law. Research from the Plumbing Efficiency Research Coalition (PERC) treats drainline transport as transient surge flow affected by variables such as flush volume, pipe diameter, slope, and test media. Its results do not support a blanket rule that increasing slope automatically makes liquid abandon solids.

That does not mean steeper is always better. Specific systems can have their own slope and venting constraints. For example, the 2024 IPC limits the total fall in a fixture drain before its vent to the diameter of that fixture drain, and its combination waste-and-vent rules include their own slope limits. Use the general calculator for the math, then check the rules for the actual system you are laying out.

Common Plumbing Slope Math Mistakes

  1. Mixing inches and feet. Five inches over 20 feet is 0.25 inches per foot, not 25%.
  2. Treating 1% as 1 in/ft. One percent is 0.12 in/ft. One inch per foot is 8.333%.
  3. Calling 2% exactly 1/4 in/ft. Close, yes. Identical, no.
  4. Reversing a 1:n gradient. A larger denominator means a flatter slope. 1:48 is steeper than 1:96.
  5. Adding fall to the downstream invert. For gravity drainage, downstream invert = upstream invert − fall.
  6. Using the sloped centerline length as the run. Grade uses horizontal run.

Plumbing Training: Where This Math Fits

Drainage layout is one small slice of the math and code work plumbers learn. Training can also cover plan reading, fixture-unit sizing, venting, water distribution, code lookup, safety, and field layout. If you are exploring the trade, compare plumbing school requirements, plumbing school costs, and apprenticeship requirements before choosing a route.

Sources and Technical References

Technical details and model-code references independently checked September 16, 2026. Always verify the code edition and amendments adopted by your AHJ.