This video will help you determine:
-What is the specification for the inlet/outlet
-The diameter you need to order
It works for iron pipe schedule 40 (for most residential installation)