Building codes change often to reflect current knowledge about safe and effective materials and building standards. Make sure you use the most recent local codes.

Both PVC and ABS pipes are non-toxic and resistant to abrasion. ABS pipes are easier to install than PVC, and are tougher and more rigid, but are also more likely to warp or deform in the sun. PVC pipes are flexible but durable. Both kinds of plastic pipe are cheap compared to metal or other pipes. [1] X Research source Consider the pressure class of the pipe. If you anticipate a lot of pressure in your pipes, go for a higher pressure class. For most projects, class 160 or 200 PVC is sufficient. The cost difference between the two classes is negligible, so people often choose the heavier duty 200 class pipe. [2] X Research source

Employees at hardware stores are often knowledgeable about various projects you might undertake and can answer questions or offer suggestions if you’re unsure about anything. They can also refer you to professionals who will be able to help more thoroughly with your project.

A common layout is to have a drain pipe run horizontally away from a sink or other fixture for up to two feet. Then the drain pipe will join with a vertical pipe. Down from the joint, this vertical pipe acts as a drain for the fixture. Up from the joint, it vents the fixture.

An example bathroom layout is as follows. The sink has a drain pipe 1. 5" in diameter, which connects to a vertical vent pipe. The toilet has a 3" waste pipe which makes a T or a Y with the bottom of the vent pipe, such that the vent pipe goes upwards vertically from the horizontal waste pipe. Between the intersection with the sink’s drain pipe and the toilet’s waste pipe, the vent pipe is acting as the sink’s drain and the toilet’s vent, and so must be 2" in diameter. Above the intersection with the sink, the vent pipe simply acts as a vent for both fixtures and so can be smaller, 1. 5" in diameter.

See your local building codes for more detailed regulations, and double check that you accommodate all of them. [6] X Expert Source David BalkanProfessional Plumber & CEO of Balkan Sewer & Water Main Expert Interview. 29 April 2021. Run your plans by a professional plumber or someone intimately familiar with these codes if you’re unsure about any of the regulations.