The most important part of a compound interest calculation is the time period when the money compounds.
This is the time at which the interest is calculated and then added to the base to make it bigger.
The larger the number of times the money compounds the better it is for the investor.
This gives the investor higher earnings in the form of interest as the base gets bigger frequently.
A deposit can compound quarterly, half yearly or even annually.