Put it in the compound interest formula and see.
P = principal amount (the initial amount you deposit)
r = annual rate of interest (as a decimal)
t = number of years the amount is deposited.
A = amount of money accumulated after n years, including interest.
n = number of times the interest is compounded per year