Tube Settler Media Calculation

How can I calculate the quantity of tube settler media in the clarifier tank?  Which factors contribute most to the calculation?