The mathematical formula for the amount of principal at the end of n periods is:
However, you do not need to work out the future dollar value by hand. The internet offers lots of calculators that will do this for you.