How to calculate the quantity of media filtre (sand, actif charbon.)?.

How to know how much of media filtre (sand, actif charbon) I should put in colonnes of filtration. Thanks.