To determine the optimum pipe diameter, you should go make the comparative analysis to determine the most optimum pipe size which reflects the most economic option. This example is for illustration the importance of the the comparative analysis. Note: According to ASME, pipe with 5 in diameter is not standard, but i selected it in the example for illustration only.