Let P be the starting amount, r the annual rate as a decimal, n the number of compounds in a year, and t the years. The future value is P × (1 + r ÷ n) raised to n × t. Monthly compounding uses n = 12. Once a year uses n = 1.
No deposits are added along the way, and nothing is withdrawn. A loan payment is a different formula: there the balance falls. This page only grows one starting amount.