TryBuildCalc

Residential Drain Slope Calculator (3" Building Drain at 1/4" per ft)

Check fall and code minimum slope for a typical residential drain.

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.

ℹ️Inches of fall per foot of horizontal run — e.g. 0.25 for the common 1/4 inch per foot.

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.

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 meets code minimum for a 3" pipe

Mode: Calculate Fall from Slope · Line Role: Building Drain / Building Sewer

Slope & Fall

Run Length: 40 ft

Fall Over This Run: 10 in (0.833 ft)

Slope: 0.25 in/ft (2.08%)

Slope Ratio: 1 : 48

Rise/fall of 1 unit over this many units of horizontal run

Code Minimum Slope Check

Pipe Diameter: 3"

Code Minimum Slope: 0.125 in/ft

Per IPC 704.1 / UPC 708.1

Your Slope: 0.25 in/ft

Pass — meets or exceeds code minimum

Drainage Capacity

Line Role: Building Drain / Building Sewer

Pipe Diameter: 3"

Hypothetical Capacity (at 1/4" per ft): 42 DFU

Achieved Capacity (at your actual slope): 42 DFU

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: 6 DFU / 42 DFU = 14.3%

Trench / Stake Checkpoints

Cumulative fall at each point along the run, for staking or checking trench depth on site.

CheckpointDistanceCumulative Fall
25%10 ft2.5 in
50%20 ft5 in
75%30 ft7.5 in
100%40 ft10 in
Show every 10 ft checkpoint
DistanceCumulative Fall
10 ft2.5 in
20 ft5 in
30 ft7.5 in
40 ft (end)10 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.

Drain Pipe Slope ProfileMeets code minimum slope for a 3" pipeFall: 10.00 inRun: 40.0 ftSlope: 0.2500 in/ft (2.08%)Capacity: 42 DFULoad: 6.00 DFU (14.3% utilization)Slope exaggerated for clarity — actual drain slopes are far shallower than shown

Looking for the verification checklist, reference tables, or tips and mistakes?See the complete Drain Pipe Slope Calculator.

40 ft residential building drain example

This page is set up for a common residential scenario: a 3 inch building drain running 40 feet at the standard 1/4 inch per foot slope. That gives a total fall of 10.00 inches (0.83 ft) over the run — the trench needs to drop 10 inches from the high end to the low end.

A 3 inch pipe's code minimum slope is 1/8 inch per foot, so this run's 1/4 inch per foot slope passes with margin. At 1/4 inch per foot, IPC Table 710.1(1) rates a 3 inch building drain to carry up to 42 Drainage Fixture Units (DFU) — enough for a full bathroom group plus additional fixtures on most residential layouts.

  • 40 ft run at 1/4" per ft → 10.00 in (0.83 ft) total fall.
  • 3" pipe minimum slope: 1/8" per ft — this run passes.
  • DFU capacity at 1/4" per ft: 42 DFU.

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

Fall (in) = Slope (in/ft) × Run Length (ft)
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

Pass if Slope (in/ft) ≥ Minimum Slope for the selected pipe diameter

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

Building Drain/Sewer: IPC Table 710.1(1) lookup at [Pipe Diameter, Capacity Slope]
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

Total DFU Load = Σ(Fixture DFU × Quantity), or a manually entered total
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

InputValue
Line RoleBuilding Drain / Building Sewer
ModeCalculate Fall from Slope
Run Length40 ft
Slope0.25 in/ft
Pipe Diameter3"
Total DFU Load6 DFU

Step 1 — Slope ↔ Fall

CalculationSubstitutionResult
Fall0.25 in/ft × 40 ft10 in (0.833 ft)

Step 2 — Code Minimum Slope Check

CalculationSubstitutionResult
Compare0.25 in/ft vs 0.125 in/ft minimumPass

Step 3 — DFU Capacity & Step 4 — Utilization

CalculationSubstitutionResult
Achieved DFU Capacity3", Building Drain / Building Sewer42 DFU
Utilization6 DFU ÷ 42 DFU14.3%

Therefore, this 3" building drain / building sewer carries 42 DFU, and your 6 DFU load uses 14.3% of that capacity.

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.

FAQ

1/4 inch per foot is the more commonly targeted design slope for smaller residential building drains where site grade allows it, since it gives more self-cleansing margin than the bare code minimum. A 3 inch pipe's actual minimum is 1/8 inch per foot — this page's slope of 1/4 inch per foot comfortably exceeds that minimum, which is why the code check passes.
Fall scales directly with run length at a fixed slope: 20 ft × 0.25 in/ft = 5.00 inches of total fall, half of this page's 10.00 inch example. The slope itself (0.25 in/ft) and the DFU capacity (42 DFU) don't change — only the total drop does.