This is where one of the most important numbers of modern mathematics comes in - e.

And when compounding continuous interest the formula is:

where A is the new amount, P is the principal amount, e is a constant, r is the growth rate, and t is time.