The general formula for compound interest is P(1+R/t)(n*t), or P(1+R)N.  Where P is the principal capital, R is the rate of interest, and N is the period of time.