Drain Pipe Slope Calculator

Calculate the correct slope and total drop for drain pipes to meet IPC/UPC code minimums and ensure proper drainage flow.

Pipe Parameters

Code minimum for 3" pipe: 0.25 in/ft

Enter your pipe parameters and click Calculate Slope.

Code Minimums Reference

IPC / UPC minimum slope per pipe diameter

Diameter Min Slope (in/ft) Min Slope % Drop per 10 ft
1½" ¼ (0.25) 2.08% 2.5 in
2" ¼ (0.25) 2.08% 2.5 in
3" ¼ (0.25) 2.08% 2.5 in
4" ⅛ (0.125) 1.04% 1.25 in
6" ⅟₁₆ (0.0625) 0.52% 0.625 in

Summary

Calculate the correct slope and total drop for drain pipes to meet IPC/UPC code minimums and ensure proper drainage flow.

How it works

  1. Select the pipe diameter (1.5" to 6") — the minimum code slope pre-fills automatically.
  2. Enter the pipe run length in feet or meters.
  3. Adjust the slope input if you want to check a custom grade, or use start/end heights.
  4. The calculator shows total drop, slope percentage, rise:run ratio, and code compliance.
  5. A simplified Manning's equation velocity estimate confirms self-cleaning flow (>2 fps).

Use cases

  • Verify a basement drain or laundry line meets the 1/4" per foot code minimum.
  • Plan a long sewer lateral and find the excavation depth at the far end.
  • Check whether an existing pipe slope is sufficient before pouring a concrete slab.
  • Calculate flow velocity to confirm solids will not settle in the pipe.
  • Size the drop required between a floor drain and the building sewer connection.

Frequently Asked Questions

Last updated: 2026-07-23 · Reviewed by Nham Vu