You can use this calculator. It will tell you how much flow a pipe can take given diameter and head hight.
http://www.beananimal.com/articles/h...-aquarist.aspx
make sure you click the "Submerged Discharge" radio button in the calculator. That's a for Herbie or BA