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

CodeMinimum slope for 4″ pipeGradeNotes
IPC 2024 (§704.1)⅛″/ft1.04%Applies to 3″–6″ pipe
UPC 2024¼″/ft2%⅛″/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 lengthAt ⅛″/ft (IPC/NPC min)At ¼″/ft (UPC min)
10 ft1.25″2.5″
25 ft3.13″6.25″
40 ft5″10″
60 ft7.5″15″
80 ft10″20″
100 ft12.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:

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

  1. Select your code — IPC, UPC or NPC.
  2. Tap 4″ on the pipe-size row.
  3. 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.
  4. Watch for the warning banner — it appears the moment your slope drops below the minimum for 4″ pipe under the selected code.
  5. Save to History with the job name so the numbers are still there at inspection time.
Pipe Slope Calculator code reference and pipe size selection for a 4 inch sewer pipe Find Drop mode calculating total drop for a 4 inch drainage run
Pick the code and pipe size, then read the required drop — checked against the 4″ minimum.

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.

4″ main line? Get the number before you dig

Slope, drop and code compliance for every standard pipe size — offline, on your iPhone, $2.99 once.

Download on the App Store