Quick answer: a 4″ sewer or drain pipe needs a minimum slope of ⅛ inch per foot (≈1%) under the IPC and Canada's NPC. Under the UPC the minimum is ¼ inch per foot (2%) — ⅛″/ft is allowed on 4″+ pipe only with approval from the Authority Having Jurisdiction.
Four-inch is the workhorse size: building drains, building sewers, and the main line out of almost every house. It's also the size where the "which code am I under?" question starts to matter financially — over a long run, the difference between ⅛″ and ¼″ per foot is measured in feet of trench depth, not inches.
4″ pipe minimums, code by code
| Code | Minimum slope for 4″ pipe | Grade | Notes |
|---|---|---|---|
| IPC 2024 (§704.1) | ⅛″/ft | 1.04% | Applies to 3″–6″ pipe |
| UPC 2024 | ¼″/ft | 2% | ⅛″/ft permitted on 4″+ only with AHJ approval |
| NPC 2020 (Canada) | 1:100 (≈⅛″/ft) | 1% | Applies to pipe 4″ and larger |
Total drop for a 4″ line, by run length
| Run length | At ⅛″/ft (IPC/NPC min) | At ¼″/ft (UPC min) |
|---|---|---|
| 10 ft | 1.25″ | 2.5″ |
| 25 ft | 3.13″ | 6.25″ |
| 40 ft | 5″ | 10″ |
| 60 ft | 7.5″ | 15″ |
| 80 ft | 10″ | 20″ |
| 100 ft | 12.5″ | 25″ |
The UPC's AHJ exception, in plain English
The UPC wants ¼″/ft everywhere. But it recognizes that on 4″ and larger pipe, site conditions — a shallow street sewer, a long run under an existing slab — can make 2% impossible. In that case the code lets the Authority Having Jurisdiction approve ⅛″/ft (1%). Two practical consequences:
- Don't design a UPC-territory job at ⅛″/ft assuming the exception — get the approval first.
- Document it. An approved 1% main reads exactly like an unapproved one on the pipe; the paperwork is what passes inspection.
Pipe Slope Calculator models this exactly: with UPC selected and a 4″+ pipe size, the app applies the ¼″/ft standard and notes the possible AHJ exception, so the conversation with your inspector starts from the right number.
Check a 4″ line in the app
- Select your code — IPC, UPC or NPC.
- Tap 4″ on the pipe-size row.
- Find Drop: enter the run length and a slope preset (⅛″/ft or ¼″/ft) to get the exact trench fall you need. Or Find Slope: enter the length and the fall you actually have, and see whether it clears your code's minimum.
- Watch for the warning banner — it appears the moment your slope drops below the minimum for 4″ pipe under the selected code.
- Save to History with the job name so the numbers are still there at inspection time.
Reference only: building sewers are one of the most locally-amended parts of any plumbing code. Confirm slope, depth, bedding and cleanout requirements with your local AHJ before digging.
Related questions
Is ⅛ inch per foot enough for a 4-inch sewer pipe?
Under the IPC and NPC, yes — ⅛″/ft (≈1%) is the legal minimum for 4″ pipe. Under the UPC you need ¼″/ft unless your AHJ approves ⅛″/ft.
How much drop over 40 feet?
At ⅛″/ft: 5″ of drop. At ¼″/ft: 10″. Formula: run (ft) × slope (in/ft).
Should I use more than the minimum on 4″ pipe?
Where depth allows, many plumbers grade 4″ residential sewers at ¼″/ft even where ⅛″/ft is legal — extra velocity is cheap insurance against settling and minor bellies.