You can calculate how long it'll take to double your money by using the rule of 72.
Simply divide 72 by the interest rate
You have a savings account with $500 deposited in it. It earns 4% interest from the bank. 72 divided by 4 is 18. It will take 18 years for your $500 to double to $1,000 if you don't make any deposits.