Sizing Horizontal Branches, Stacks, and the Building Drain (IRC 2024)
Worked examples for IRC 2024 Tables P3005.4.1 and P3005.4.2: horizontal branch vs. stack capacity, the no-water-closet notes, building drain slope columns, and P3005.3.
Code references covered
IRC 2024 Section P3005.3 · IRC 2024 Section P3005.4 · IRC 2024 Table P3005.4.1 · IRC 2024 Table P3005.4.2 · IRC 2024 Section P3005.1.6
Checked against the 2024 IRC (Second Printing) on 2026-11-06. Confirm the edition your exam and jurisdiction use, and any local amendments.
Once you have the drainage load in fixture units, sizing is a table lookup — but a table lookup with several ways to go wrong. The 2024 IRC uses two tables. Table P3005.4.1 covers horizontal fixture branches and stacks. Table P3005.4.2 covers the building drain, building drain branches and the building sewer, by slope. This guide walks through both with worked examples. If you still need the load, start with drainage fixture units explained.
Slope first: Section P3005.3
Section P3005.3 sets the minimum slope for horizontal drainage piping: 1/4 inch per foot for pipe 2 1/2 inches and smaller, and 1/8 inch per foot for pipe 3 inches and larger. That is why the 1/8-inch column of Table P3005.4.2 is blank for 2, 2 1/2 and 1 1/2 inch pipe — those sizes are never allowed at that slope.
Branches and stacks: Table P3005.4.1
Table P3005.4.1 has two columns: any horizontal fixture branch, and any one vertical stack or drain. The stack column is always higher, because vertical pipe carries more. Key rows:
| Pipe size | Horizontal branch (d.f.u.) | Stack (d.f.u.) |
|---|---|---|
| 1 1/2 in. | 3 | 4 |
| 2 in. | 6 | 10 |
| 2 1/2 in. | 12 | 20 |
| 3 in. | 20 | 48 |
| 4 in. | 160 | 240 |
Two notes control the small sizes. Note b prohibits water closets on 1 1/4 through 2 1/2 inch pipe. Note a limits 1 1/4-inch pipe to a single-fixture drain. Section P3005.4.1 adds that drain pipe below grade must be at least 1 1/2 inches and that a stack may not be smaller than the largest horizontal branch connected to it.
Example 1 — A bathroom branch
A horizontal branch serves a lavatory (1), a bathtub (2) and a 1.6 gpf water closet (3) — 6 d.f.u. by individual values. A 2-inch horizontal branch carries 6, so the load fits. But note b prohibits water closets on 2-inch pipe. The branch must be 3 inches. On the exam, the “load fits” answer is often the trap.
Example 2 — A laundry branch
A laundry group is 3 d.f.u., which a 1 1/2-inch horizontal branch can carry. But a clothes washer standpipe needs a 2-inch trap (Table P3201.7), and Section P3201.7 says a trap may not be larger than the drain it discharges into. The drain serving the standpipe has to be at least 2 inches.
Example 3 — A stack serving two upstairs baths
Two full baths upstairs make a multiple-bath group of 8 d.f.u. A 2 1/2-inch stack could carry 20, but water closets are prohibited on it, so the stack is 3 inches (good for 48).
Building drain and sewer: Table P3005.4.2
Section P3005.4.2 sizes the building drain, its branches and the building sewer from the total d.f.u. and the slope. The table has columns for 1/8, 1/4 and 1/2 inch per foot. Key rows:
| Pipe size | 1/8 in./ft | 1/4 in./ft | 1/2 in./ft |
|---|---|---|---|
| 2 in. (no water closets) | — | 21 | 27 |
| 2 1/2 in. (no water closets) | — | 24 | 31 |
| 3 in. | 36 | 42 | 50 |
| 4 in. | 180 | 216 | 250 |
Note b again rules out water closets on the small sizes. Note a limits 1 1/2-inch pipe to a building drain branch serving not more than two waste fixtures, or one if it serves a pumped discharge or a food waste disposer.
Example 4 — A typical house drain
A house totals 15 d.f.u., including water closets. The building drain will run at 1/4 inch per foot. A 3-inch drain carries 42 at that slope, so 3 inches works. At 1/8 inch per foot the 3-inch capacity drops to 36 — still enough.
Example 5 — Where slope changes the answer
A larger building has 48 d.f.u. on the building drain. At 1/8 inch per foot, 3-inch pipe carries 36 (too small). At 1/4 inch per foot it carries 42 (still too small). At 1/2 inch per foot it carries 50 (enough). So the answer is 3 inches only if the drain is laid at 1/2 inch per foot; at the lower slopes it must be 4 inches.
Don't mix up the two tables
A frequent error is using the stack column to size a horizontal pipe, or Table P3005.4.1 for the building drain. Ask which pipe the question is about: a horizontal fixture branch and a stack use Table P3005.4.1; the building drain, building drain branches and the sewer use Table P3005.4.2. Horizontal stack offsets are sized like a building drain too (Section P3006).
No reductions downstream
Drain size may not be reduced in the direction of flow (Section P3005.4). Section P3005.1.6 lists what does not count as a reduction: a 4-by-3-inch water closet flange, a 4-inch inlet by 3-inch outlet closet bend when the 4-inch leg is upright below the flange, and an offset closet flange. The exceptions to Section P3005.4.1 likewise allow a 4-by-3-inch closet bend or flange, and a 4-inch closet bend connected to a 3-inch stack tee.
Inspector checklist
- Identify the pipe: horizontal branch, stack, or building drain/sewer.
- Confirm the slope meets P3005.3 for the pipe size, then read the matching slope column.
- Any water closet downstream? Then nothing under 3 inches.
- Check traps against the drain size they discharge into.
- Stack not smaller than the largest branch; no size reduction in the direction of flow.
For the exact code language, read the sections on the official ICC Digital Codes site. We cite section identifiers and explain the logic in our own words — always confirm the current text and any local amendments there.
Practice this topic with 2024 IRC-based P1 questions
Create a free account to practice P1 questions with written explanations and 2024 IRC references.
Related guides
Drainage Fixture Units (d.f.u.) Explained, with Worked Examples
Count d.f.u. the way Table P3004.1 intends, including multiple-bath groups and the table notes.
Trap-to-Vent Distance and Fixture Trap Sizes (Tables P3105.1 and P3201.7)
Trap arm limits, minimum trap sizes, crown vents and the one-diameter fall rule.
Common P1 Mistakes: Wrong Code, Old Numbering, Exceptions, and Table Notes
Wrong code, 2021 vs 2024 numbering, skipped exceptions and table notes — and how to avoid them.
Frequently asked questions
- Can a water closet discharge to a 2-inch or 2 1/2-inch drain?
- No. Notes in both Table P3005.4.1 and Table P3005.4.2 prohibit water closets on the smaller sizes, so a branch or building drain serving a water closet must be at least 3 inches even when the d.f.u. load would fit a smaller pipe.
- What is the minimum slope for horizontal drainage pipe?
- Section P3005.3 requires at least 1/4 inch per foot for pipe 2 1/2 inches and smaller, and at least 1/8 inch per foot for pipe 3 inches and larger.