Basement Drain Slope Calculator (Limited-Fall, 4" Pipe Example)
Check whether a basement drain's limited fall meets code minimum slope.
🕒 Last updated: July 31, 2026
Line Role & Units
ℹ️Sets which code table and slope rules apply — Stacks are vertical, so no slope requirement applies.
ℹ️Capacities always use IPC tables — UPC / Local Code just adds a reminder to confirm against your local table (see FAQ).
ℹ️Switching units converts your existing values too, so their real-world meaning stays the same.
Slope & Fall
ℹ️Choose which quantity is unknown — the slope you want to hold, or the slope you get from a fixed available fall.
ℹ️Horizontal developed length of this straight run, not a straight-line site distance.
ℹ️Total vertical drop actually available between the two ends of this run.
Code Check & Drainage Capacity
ℹ️Sets the code-minimum slope and the DFU capacity table row used below.
ℹ️The DFU capacity table (IPC 710.1(1)) only publishes values at these four standard slopes — this is a separate lookup from your actual slope above, so pick the slope you're actually designing to.
⚠️ Your actual slope (0.08 in/ft) is shallower than 1/8" per ft — the DFU capacity shown below is not achieved by this design.
DFU Load
Add your fixture list, or enter a known total DFU load directly, to compare against this line's capacity.
Fixture 1
Fixture 2
Fixture 3
Up to 30 fixture rows total.
⚠️ Slope is below the 0.125 in/ft code minimum for a 4" pipe — increase the fall or reduce the run length.
Mode: Calculate Slope from Available Fall · Line Role: Building Drain / Building Sewer
Slope & Fall
Run Length: 50 ft
Slope Required: 0.08 in/ft
Slope: 0.08 in/ft (0.67%)
Slope Ratio: 1 : 150
Rise/fall of 1 unit over this many units of horizontal run
Code Minimum Slope Check
Pipe Diameter: 4"
Code Minimum Slope: 0.125 in/ft
Per IPC 704.1 / UPC 708.1
Your Slope: 0.08 in/ft
Drainage Capacity
Line Role: Building Drain / Building Sewer
Pipe Diameter: 4"
Hypothetical Capacity (at 1/8" per ft): 180 DFU
Achieved Capacity (at your actual slope): None — not achieved by this design
⚠️ The hypothetical 180 DFU figure above is not achieved by this design.
At your actual slope, this diameter has no code-tabulated capacity at all. Increase the fall/slope to reach the required minimum, or use a larger diameter.
DFU Load & Utilization
Water Closet, Private (1.6 gpf) (x1): 3 DFU
Lavatory (x1): 1 DFU
Bathtub / Combo Bath-Shower (x1): 2 DFU
Total DFU Load: 6 DFU
Utilization: N/A — capacity not achieved by this design
Trench / Stake Checkpoints
Cumulative fall at each point along the run, for staking or checking trench depth on site.
| Checkpoint | Distance | Cumulative Fall |
|---|---|---|
| 25% | 12.5 ft | 1 in |
| 50% | 25 ft | 2 in |
| 75% | 37.5 ft | 3 in |
| 100% | 50 ft | 4 in |
Show every 10 ft checkpoint
| Distance | Cumulative Fall |
|---|---|
| 10 ft | 0.8 in |
| 20 ft | 1.6 in |
| 30 ft | 2.4 in |
| 40 ft | 3.2 in |
| 50 ft (end) | 4 in |
Design Notes
Building Drain/Sewer capacity uses IPC Table 710.1(1) (slope-dependent). Horizontal Fixture Branch and Stack capacity use IPC Table 710.1(2) (fixed by diameter, and by branch-interval count for stacks — not slope-dependent). These are different tables answering different sizing questions for different pipe segments.
The minimum size of any building drain serving a water closet is 3 inches, regardless of DFU load. Confirm the exact table and slope requirements adopted by your local jurisdiction (IPC, UPC, or a local amendment) before finalizing a design.
Approximate results for planning only. Verify with a professional.
Looking for the verification checklist, reference tables, or tips and mistakes?See the complete Drain Pipe Slope Calculator.
50 ft basement drain with only 4 in of available fall
This page illustrates a common basement constraint: only 4 inches of vertical fall available between the basement fixture and the sewer connection point, over a 50 foot run. That works out to a slope of just 0.0800 inches per foot (4 ÷ 50) — well below the 4 inch pipe's 1/8 inch per foot (0.125) code minimum.
This is a Fail on the code-minimum slope check — the available fall genuinely isn't enough for a standard-slope 4 inch gravity drain over this distance. Common fixes include shortening the run, raising the fixture connection point, using a larger-diameter pipe (which has a lower minimum slope requirement), or installing an ejector/sump pump system to lift the discharge instead of relying on gravity alone.
- 50 ft run, 4 in available fall → 0.0800 in/ft slope.
- 4" pipe minimum slope: 1/8" (0.125) per ft — this run fails the check.
- A larger diameter, shorter run, or a sewage ejector pump are the common fixes.
How Drain Pipe Slope Is Calculated
The calculation happens in four parts — slope/fall geometry, a code-minimum slope check, a DFU capacity lookup for the selected line role, and utilization against your actual DFU load.
Step 1 — Slope ↔ Fall Conversion
Slope (in/ft) = Available Fall (in) ÷ Run Length (ft)
Both directions are pure geometry — this section accepts any slope or fall value, not just the four code-tabulated slopes used in Step 3. In metric mode the same math runs in mm/m and meters, converted at the boundary (1/4 in/ft ≈ 20.8 mm/m). This step doesn't apply to a Stack, which is vertical and has no slope.
Step 2 — Code Minimum Slope Check
Per IPC 704.1 / UPC 708.1: pipes 2-1/2 inches and smaller need at least 1/4 inch per foot, pipes 3 through 6 inches need at least 1/8 inch per foot, and pipes 8 inches and larger need at least 1/16 inch per foot. This applies to the Building Drain/Sewer and Horizontal Branch line roles; a Stack has no slope requirement.
Step 3 — DFU Capacity Lookup
Horizontal Branch / Stack: IPC Table 710.1(2) lookup at [Pipe Diameter, Line Role, Branch Intervals]
Both are direct table lookups, not formulas. Table 710.1(1) is slope-dependent (four tabulated slopes); Table 710.1(2) is a flat number per diameter/role, unaffected by slope. Some diameter/slope/role combinations have no entry at all — the calculator flags those as "not permitted" or "not tabulated" rather than inventing an interpolated number the code doesn't provide.
Step 4 — DFU Load & Utilization
Utilization % = Total DFU Load ÷ Achieved Capacity × 100
Utilization is only computed against the achievedcapacity (the figure your actual slope/design honestly delivers per Step 3), never against a hypothetical capacity your design doesn't reach — if the achieved capacity is null (not achieved), utilization is shown as not applicable rather than a misleading percentage.
Worked Example
This example uses the active inputs above and follows the same steps as the Formula section.
Input Values Used
| Input | Value |
|---|---|
| Line Role | Building Drain / Building Sewer |
| Mode | Calculate Slope from Available Fall |
| Run Length | 50 ft |
| Available Fall | 4 in |
| Pipe Diameter | 4" |
| Total DFU Load | 6 DFU |
Step 1 — Slope ↔ Fall
| Calculation | Substitution | Result |
|---|---|---|
| Slope | 4 in ÷ 50 ft | 0.08 in/ft |
Step 2 — Code Minimum Slope Check
| Calculation | Substitution | Result |
|---|---|---|
| Compare | 0.08 in/ft vs 0.125 in/ft minimum | Fail |
Step 3 — DFU Capacity & Step 4 — Utilization
| Calculation | Substitution | Result |
|---|---|---|
| Achieved DFU Capacity | 4", Building Drain / Building Sewer | None — not achieved |
| Utilization | 6 DFU ÷ — DFU | N/A |
Therefore, this 4" building drain / building sewer does not achieve a code-tabulated capacity as currently configured — adjust slope, diameter, or line role.
This does not include venting, cleanouts, or fittings along the run. Cross-check against the Reference Tables in the complete Drain Pipe Slope Calculator.
This page keeps things focused on the calculation above. For the full construction guide — verification checklist, reference tables, usage steps, tips, common mistakes, and limitations.See the complete Drain Pipe Slope Calculator.