AEO Answer · Civil
How Is a Building Sewer Designed to Meet Plumbing Code?
By Jeremy Mills, CEO & Founder, Apex Grid Engineering — USAF Veteran. · Updated 2026-09-15
Building sewer design selects pipe diameter from plumbing code drainage fixture unit tables, sets slope at code-minimum grades that maintain self-cleansing velocity, provides required cover and cleanouts, and connects to the municipal main at an invert elevation the city approves — with backwater protection where the building is below the upstream manhole rim.
I'm Jeremy Mills, CEO & Founder of Apex Grid Engineering and a U.S. Air Force veteran. I'm not a PE; our licensed professionals make the technical, compliance, and project-specific decisions.
The concise answer
Building sewer design selects pipe diameter from plumbing code drainage fixture unit tables, sets slope at code-minimum grades that maintain self-cleansing velocity, provides required cover and cleanouts, and connects to the municipal main at an invert elevation the city approves — with backwater protection where the building is below the upstream manhole rim. The design is a vertical puzzle as much as a horizontal one. The building's lowest plumbing fixture sets the starting elevation, the city main sets the ending elevation, and the pipe between them has to fall continuously at the right slope while staying deep enough for cover. On flat sites with a shallow main, that puzzle sometimes has no solution — which is when a sewage lift station enters the conversation.
Sizing and slope: the core calculation
Pipe sizing follows the plumbing code's drainage fixture unit tables: every fixture gets a value, the total converts to a required pipe diameter, and the code also sets the minimum size for the building sewer — commonly 4 inches. The slope is then set to achieve self-cleansing velocity at the design flow, checked with Manning's equation. The connection to the main is a permitting event, not just a construction detail. The city specifies the connection method — a tap, a tee, or a new manhole — and approves the invert elevation. In many cities the contractor needs a separate sewer connection permit and the work in the right-of-way has to be done by a licensed contractor with traffic control. I get the main's invert and the connection requirements from the city before finalizing the design, because discovering a 2-foot discrepancy during construction is a very bad day.
Details that prevent callbacks
Sewer problems are the ones owners remember, because they announce themselves unmistakably. The design details that prevent them are well established. This is my standard sewer detailing checklist.
- Hold the slope: verify the pipe profile achieves minimum grade continuously — sags become permanent blockage points
- Bed and backfill properly: granular bedding and careful compaction prevent settlement that breaks grade
- Place cleanouts for access: at direction changes, at the property line, and within code maximum spacing
- Protect against backflow: backwater valves where fixtures are below the upstream manhole rim
- Confirm the main connection: city-approved method, invert, and permit before the design is finalized
Which related engineering resources can help?
What else do project teams ask?
What slope does a building sewer need?
How deep does a building sewer need to be?
What is a backwater valve, and when is it required?
Where are cleanouts required?
Ready to discuss your engineering scope?
Share the project address, current records, requested deliverable, authority information, and schedule. Apex Grid confirms professional responsibility, availability, and scope before work begins.
Request a Project Review