Drain Pipe Calculator
Calculate drain capacity and flow velocity
Total drainage fixture units
Inside diameter of drain pipe
Total run of drain pipe
Pipe Length
—
ft
Flow Velocity
—
ft/s
Drain Capacity
—
GPM
Disclaimer: Results are estimates based on standard formulas. Not a substitute for professional advice from a licensed contractor, engineer, or architect. Verify all calculations before making purchasing or construction decisions.
How to Use This Calculator
Properly sized drain pipes prevent backups and maintain self-cleaning velocity. Our calculator estimates capacity based on pipe diameter and fixture load.
- Count total drainage fixture units (DFU) on the line
- Enter the pipe diameter in inches
- Enter total pipe length in feet
- Review capacity in GPM and flow velocity
Expert Insights
Smart analysis for your Plumbing project
DFU Loading Standards
IPC tables assign DFU values: toilet=3, sink=1, shower=2. AI helps ensure your pipe diameter matches the total fixture load per code.
Slope & Velocity Control
Flow velocity should stay between 2 and 6 ft/s. Too slow causes clogs; too fast erodes pipes. AI flags out-of-range velocities.
Pipe Sizing Guidance
3-inch mains handle most homes; 4-inch for multi-bath. AI recommends upsizing when fixture count or pipe length exceeds thresholds.
Calculation Formula
Drain Capacity (GPM) = 20 x Pipe Diameter (in)
Flow Velocity (ft/s) = Capacity / (0.0408 x Diameter x Diameter)
Pipe Length = input value
Drain Pipe Material Comparison
| Material | Common Sizes | Lifespan | Typical Use | Cost |
|---|---|---|---|---|
| PVC (Schedule 40) | 2-6 in | 50-100 years | Residential drain | Low |
| ABS | 2-6 in | 50-75 years | Residential drain | Low |
| Cast Iron | 2-15 in | 50-100 years | Commercial, quiet | High |
| HDPE | 3-48 in | 100+ years | Sewer main | Medium |
Authority References
Our calculations are based on guidelines and standards from these authoritative sources:
- International Code Council (ICC) — International Plumbing Code (IPC) — Drainage Sizing Tables. Learn more
- American Society of Plumbing Engineers (ASPE) — Plumbing Engineering Design Handbook. Learn more
- Uniform Plumbing Code (UPC) — Drainage Fixture Unit Standards. Learn more
Frequently Asked Questions
What size drain pipe do I need?
Most residential drains use 3-inch main pipes. For homes with more than three bathrooms, a 4-inch main drain is recommended to handle higher fixture unit loads.
How is drain pipe capacity calculated?
Drain capacity in GPM is estimated as 20 times the pipe diameter in inches. A 3-inch pipe handles about 60 GPM, while a 4-inch pipe handles about 80 GPM at standard slope.
What is the proper slope for a drain pipe?
IPC requires a minimum 1/4 inch per foot slope for pipes up to 3 inches, and 1/8 inch per foot for pipes 4 inches and larger to maintain proper flow velocity.