Formula is amount of money accumulated after n years, including interest. is equal to P multiplied by 1+ r/n whole to the power" nt " where
P is principal amount
r is annual rate of interest as a decimal
t is number of years the amount is deposited or borrowed for.
n is number of times the interest is compounded per year
Your vote on this answer has already been received
Use this online calculator if you are borrowing money or you are lending money. This calculator enables you to determine how much interest will be paid or accumulated. To understand the math behind the calculation of compound interest