To calculate how many feet of sewer piping you’ll need to run from your house to the street, add the depth of the city main to the distance between the home and the main. This does not include extra length needed to bypass obstacles such as tree roots or utility lines. City sewer lines tend to run lower than other plumbing or utility lines to minimize the likelihood of backflow, so this number may be higher than you expect.