Drain pipe size calculator for horizontal branches, stacks and building drains, sized from drainage fixture units and slope under the IPC tables, with total fall over the pipe run.
Pick where the drain runs, then count the fixtures that drain into it.
More Fixtures and Other DFU
Drain Pipe Diagram
Drain Pipe DFU Capacity Chart
| Pipe Size | 1/16 in/ft | 1/8 in/ft | 1/4 in/ft | 1/2 in/ft | Your Slope |
|---|---|---|---|---|---|
| 1-1/4 in | - | - | 1 | 1 | Too Small |
| 1-1/2 in | - | - | 3 | 3 | Too Small |
| 2 in | - | - | 21 | 26 | Under 3 in |
| 2-1/2 in | - | - | 24 | 31 | Under 3 in |
| 3 in | - | 36 | 42 | 50 | Fits |
| 4 in | - | 180 | 216 | 250 | Fits |
| 5 in | - | 390 | 480 | 575 | Fits |
| 6 in | - | 700 | 840 | 1,000 | Fits |
| 8 in | 1,400 | 1,600 | 1,920 | 2,300 | Fits |
| 10 in | 2,500 | 2,900 | 3,500 | 4,200 | Fits |
| 12 in | 3,900 | 4,600 | 5,600 | 6,700 | Fits |
| 15 in | 7,000 | 8,300 | 10,000 | 12,000 | Fits |
Step-by-Step Drain Sizing Math
Total load2 × 5 + 1 × 2 + 1 × 2 + 1 × 2 = 16 DFU
Table lookupTable 710.1(1) at 1/4 in per ft: 3 in carries 42 DFU ≥ 16 DFU
Toilet minimum2 toilets on this drain, so the size is at least 3 in
Slope checkTable 704.1: 3 in needs 1/8 in per ft; 1/4 in per ft passes
Fall40.00 ft × 1/4 in = 10.00 in
Drain Pipe Size Calculator Load in Drainage Fixture Units
A house with two bathroom groups, a kitchen sink, a dishwasher and a clothes washer puts 16 drainage fixture units (DFU) on its building drain. At 1/4 in per ft that load needs a 3 in drain, not because of the load but because toilets are on it.
Drain pipes are sized by DFU, not gallons per minute, in every drain pipe size calculator. Each fixture carries a code rating, the ratings add up along the pipe, and the size comes from the code table for that pipe's location and slope.
In this drain pipe size calculator formula, L is the total load in DFU, ni is the count of one fixture type and ui is its DFU rating. The smallest pipe whose table rating is at least L, and that also meets the slope and toilet rules, is the size.
| Fixture | DFU on branches and stacks | DFU on building drains (untested) |
|---|---|---|
| Bathroom group, 1.6 gpf toilet | 5 | 5 |
| Bathroom group, toilet over 1.6 gpf | 6 | 6 |
| Toilet, private, 1.6 gpf | 3 | 4 |
| Toilet, private, over 1.6 gpf | 4 | 4 |
| Toilet, public, 1.6 gpf | 4 | 6 |
| Toilet, public, over 1.6 gpf | 6 | 6 |
| Toilet, flushometer tank | 4 | 4 |
| Urinal, standard | 4 | 4 |
| Urinal, 1 gpf or less | 2 | 4 |
| Urinal, waterless | 0.5 | 0.5 |
| Shower, 5.7 gpm or less | 2 | 2 |
| Shower, 5.7 to 12.3 gpm | 3 | 3 |
| Shower, 12.3 to 25.8 gpm | 5 | 5 |
| Shower, 25.8 to 55.6 gpm | 6 | 6 |
| Lavatory | 1 | 1 |
| Bathtub | 2 | 2 |
| Kitchen sink | 2 | 2 |
| Dishwasher | 2 | 2 |
| Clothes washer, home | 2 | 2 |
| Clothes washer, commercial | 3 | 3 |
| Laundry tray | 2 | 2 |
| Floor drain | 2 | 2 |
| Service sink | 2 | 2 |
| Bidet | 1 | 1 |
| Drinking fountain | 0.5 | 0.5 |
Shower ratings follow total flow, so in a drain pipe size calculator for shower branches a 6 gpm shower counts 3 DFU, not 2. A 6 gpm shower with a lavatory puts 4 DFU on its branch, which moves it from 1-1/2 in pipe to 2 in.
Building drains follow IPC Table 709.1 note e. Low-flush 1.6 gpf toilets and 1 gpf urinals keep the higher rating on building drains and sewers unless testing confirms the lower value.
In a drain pipe size calculator for plumbing, a private 1.6 gpf toilet therefore counts 3 DFU on its branch but 4 DFU on the building drain, and a public one counts 4 on the branch but 6 on the drain.
A public restroom with six 1.6 gpf toilets, three 1 gpf urinals and four lavatories shows the effect. Its branch carries 34 DFU, but its building drain counts 52 DFU.
At 1/4 in per ft those 52 DFU give a drain pipe size calculator result of 4 in. With tested low-flush values the drain would carry 34 DFU, which fits 3 in pipe rated for 42.
A bathroom group of 1.6 gpf toilet, lavatory and tub counts as 5 DFU under the IPC, while the three fixtures added one by one come to 6. Counting the group as a group keeps a drain pipe size calculator for plumbing from over-sizing a house drain.
DFU and GPM are different measures. A DFU rating reflects how often and how hard a fixture discharges, so 16 DFU is not 16 GPM, and the Water Pipe Size Calculator handles the supply side in GPM.
Toilets Push Every Drain to 3 Inches
Any drain serving a toilet must be at least 3 in, even when the DFU load would fit a smaller pipe. One bathroom group on a branch is 5 DFU, which 2 in pipe carries at 6 DFU, yet the branch still goes to 3 in.
The same rule appears in state codes built on the same tables, such as the Louisiana plumbing code section XIV-725, which sets 3 in as the least size for a building drain, branch or stack serving a water closet.
The toilet rule is why the 16 DFU drain pipe size calculator result ends at 3 in rather than 2 in. Remove the toilets from that load and 2 in pipe at 1/4 in per ft carries 21 DFU, enough for the sinks and appliances alone.
Branch Sizes for Sinks, Showers and Laundry
For a drain pipe size calculator for shower or sink branches, a lavatory, a shower, or a tub with a lavatory all fit 1-1/2 in pipe, which carries 3 DFU. A kitchen sink with a dishwasher, or a washer with a laundry tray, is 4 DFU and needs 2 in.
| Horizontal branch serves | Load | Size by load | Size required | Branch rating |
|---|---|---|---|---|
| One lavatory | 1 DFU | 1-1/2 in | 1-1/2 in | 3 DFU |
| Shower, 5.7 gpm or less | 2 DFU | 1-1/2 in | 1-1/2 in | 3 DFU |
| Tub and lavatory | 3 DFU | 1-1/2 in | 1-1/2 in | 3 DFU |
| Kitchen sink and dishwasher | 4 DFU | 2 in | 2 in | 6 DFU |
| Clothes washer and laundry tray | 4 DFU | 2 in | 2 in | 6 DFU |
| One bathroom group | 5 DFU | 2 in | 3 in | 20 DFU |
| Two bathroom groups | 10 DFU | 2-1/2 in | 3 in | 20 DFU |
| Four bathroom groups, sink, dishwasher | 24 DFU | 4 in | 4 in | 160 DFU |
The jump from 3 in to 4 in is steep. A 3 in branch is rated for 20 DFU and a 4 in branch for 160, so a drain pipe size calculator for a bathroom wing stays at 3 in until one branch passes 20 DFU, such as four bathroom groups plus a kitchen sink.
Each branch rating in a drain pipe size calculator relies on a minimum slope. Pipes of 2-1/2 in and smaller need at least 1/4 in per ft under IPC Table 704.1.
Branches of 3 to 6 in need at least 1/8 in per ft, and 8 in and larger need 1/16 in per ft. The ratings in the table above already assume those slopes.
Slope Can Shrink or Grow the Building Drain
A 20-unit apartment building with one bathroom group, kitchen sink, dishwasher and washer per unit loads its building drain with 220 DFU. At 1/4 in per ft that needs 5 in pipe, but at 1/2 in per ft a 4 in drain carries it.
| Building drain | Load | At 1/8 in per ft | At 1/4 in per ft | At 1/2 in per ft |
|---|---|---|---|---|
| House, 2 bath groups | 16 DFU | 3 in (36) | 3 in (42) | 3 in (50) |
| House, 3 bath groups and laundry | 25 DFU | 3 in (36) | 3 in (42) | 3 in (50) |
| 8 bath groups, 2 kitchens | 52 DFU | 4 in (180) | 4 in (216) | 4 in (250) |
| 20 apartments | 220 DFU | 5 in (390) | 5 in (480) | 4 in (250) |
| 40 apartments | 440 DFU | 6 in (700) | 5 in (480) | 5 in (575) |
Figures in brackets are the drain pipe size calculator rating in DFU from IPC Table 710.1(1). Steeper slope raises the rating of every size, which is how the 20-unit load drops from 5 in to 4 in.
Going flatter works the other way. At 1/16 in per ft only 8 in and larger pipe is allowed, so the 16 DFU house drain would have to be 8 in, a size rated for 1,400 DFU, just to meet the slope rule.
Slope is often fixed by the depth of the sewer connection, so check the fall before trusting any drain pipe size calculator result. The Sewer Line Slope Calculator and Pipe Slope Calculator convert a known drop into slope.
Stacks and Branch Intervals in Taller Buildings
In drain pipe size calculator terms, a 3 in stack carries 48 DFU up to three branch intervals, but each floor's branch adds at most 20 DFU. A 4 in stack carries 240 DFU up to three intervals and 500 DFU above that, with 90 DFU per interval.
| Pipe size | Horizontal branch | One branch interval | Stack, up to 3 intervals | Stack, over 3 intervals |
|---|---|---|---|---|
| 1-1/2 in | 3 | 2 | 4 | 8 |
| 2 in | 6 | 6 | 10 | 24 |
| 3 in | 20 | 20 | 48 | 72 |
| 4 in | 160 | 90 | 240 | 500 |
| 6 in | 620 | 350 | 960 | 1,900 |
A three-storey building with two bathroom groups, a kitchen sink and a dishwasher per floor puts 42 DFU on its stack, so 3 in works. Each floor adds 14 DFU, which stays under the 20 DFU interval limit.
A six-storey version with a washer added per floor carries 96 DFU, which is past the 72 DFU rating of a 3 in stack over three intervals, so the stack goes to 4 in. Its 16 DFU per floor is far under the 4 in interval limit of 90.
Fall Over the Run in Inches and Millimeters
Next to any drain pipe size calculator result sits the fall. A 40 ft building drain at 1/4 in per ft drops 10 in from end to end, and at 1/8 in per ft it drops 5 in. Fall is slope times length, so it sets how deep the far end of the pipe must sit.
| Run | 1/4 in per ft (2.08%) | 1/8 in per ft (1.04%) | 1/16 in per ft (0.52%) |
|---|---|---|---|
| 10 ft (3.05 m) | 2.5 in (64 mm) | 1.25 in (32 mm) | 0.63 in (16 mm) |
| 20 ft (6.10 m) | 5 in (127 mm) | 2.5 in (64 mm) | 1.25 in (32 mm) |
| 40 ft (12.19 m) | 10 in (254 mm) | 5 in (127 mm) | 2.5 in (64 mm) |
| 60 ft (18.29 m) | 15 in (381 mm) | 7.5 in (190 mm) | 3.75 in (95 mm) |
| 100 ft (30.48 m) | 25 in (635 mm) | 12.5 in (318 mm) | 6.25 in (159 mm) |
A drain pipe size calculator in metric uses the same tables with nominal sizes of 40, 50, 80, 100 and 150 mm for 1-1/2, 2, 3, 4 and 6 in pipe. Slopes of 1/4 and 1/8 in per ft become 2.08% and 1.04%.
The Drainage Fall Calculator and Soil Pipe Fall Calculator run the fall for other lengths and gradients.
Choosing Sizes Across a Whole Drainage System
Each answer uses the drain pipe size calculator tables from the IPC and the house and apartment examples above, unless it names another load or slope.
How do you calculate a drainage system?
Size the system from the top down. Add the DFU on each branch, size the branch, carry the totals into the stack, size the stack for its interval count, then add all stacks onto the building drain at its slope.
In the six-storey example, each floor's 16 DFU branch is 3 in because of the toilets, the 96 DFU stack is 4 in, and the building drain at 1/4 in per ft carries 96 DFU in 4 in pipe rated for 216.
Storm, roof and yard drains are sized another way, from rainfall and pipe slope rather than fixture units. The Storm Water Runoff Calculator and Mannings Flow Calculator cover drainage pipe sizing for stormwater.
How do I choose a drainage pipe size?
Choose the smallest size that carries the DFU load, meets the minimum slope for that size, and is at least 3 in if a toilet drains into it. The most restrictive of those three rules sets the drain size.
For the 16 DFU house drain, load allows 2 in, slope at 1/4 in per ft allows 2 in, and the toilet rule demands 3 in, so 3 in wins. At 1/16 in per ft the slope rule would win instead and force 8 in.