An excellent calculator for plastic pipes covering all aspects of design. The calculator uses formula from handbook of polyethylene pipes by Plastic Pipe Institute.
The link is as below;

Plastic Pipe Calculator