gbam is right on track. 1st, You must meet the criteria of the governing regulator. 2nd, You must meet the existing commonly used local standards, usually your state DOT design criteria. 3rd, How much safery factor or excess flow capacity can you afford. In southwestern florida, with very flat grades and a high water table, I usually design based upon the pipe flowing full, but not pressure flow, based upon the FDOT storm sewer tabulation chart. (Remember, all drainage systems will fail if a large enough storm hits).
Best of Luck..
Clifford H Laubstein
FL PE 58662