The rule
Building sewers go in as straight as practical, at a uniform slope of not less than 1/4 inch per foot toward the point of disposal.
There's an exception, but only where the Authority Having Jurisdiction approves it and it's impractical to get 1/4 inch per foot because of the depth of the street sewer, structural features, or the arrangement of the building. Then pipe 4 inches through 6 inches can go to 1/8 inch per foot, and pipe 8 inches and larger can go to 1/16 inch per foot. Fixture unit loading then follows Table 717.1.
The pipe also needs a firm bed along its whole length. In made or filled-in ground it's laid on a bed of approved materials and supported as the AHJ requires (Section 718.2).
On the job
- Shoot the sewer invert at the house and at the connection before you dig. If 1/4 inch per foot doesn't fit, talk to the AHJ about the exception before the trench is open, not after.
- Keep the grade uniform. Dips and humps from a soft bed will hold water and solids even when the average slope is right.
- Fill soil and rebuilt trenches need a compacted bed, so budget time for the bedding material.
The inspector and your city's adopted edition have the final word.