The formula for compounded interest is the following:
Where A is the final amount, P is the principal, the initial investment, r is the annual rate of interest, n is how many times it is compounded per year and t is the time in years.
So, assuming the given rate of interest is annual, we have:
Where we got n = 365 because it is compounded daily and there are 365 days in an year.
So let's start by solving for t:
Where the log base can be anyone, but it has to be the sme for both log.
Let's calculate the numerator and denominator separately first, using base 10:
Putting them together, we have:
So, it will take between 30 and 31 years, closer to 31 years for it to grow to $25,000.