How to calculate the volume of a storage tank based on a certain annual rainfall ?

How to calculate the volume of a storage tank based on a certain annual rainfall. I need technical information on rain water collection for my project.