Back Original

Show HN: I quit coding years ago. AI brought me back

Calculate how your investments grow over time with compound interest.

Contributed$10,000

Interest+$57,275

Return572.75%

1

How much are you investing?

2

What return do you expect?

3

How long will you invest?

YearStart BalanceInterestContributionsEnd Balance
1$10,000+$1,000-$11,000
2$11,000+$1,100-$12,100
3$12,100+$1,210-$13,310
4$13,310+$1,331-$14,641
5$14,641+$1,464-$16,105
6$16,105+$1,611-$17,716
7$17,716+$1,772-$19,487
8$19,487+$1,949-$21,436
9$21,436+$2,144-$23,579
10$23,579+$2,358-$25,937
11$25,937+$2,594-$28,531
12$28,531+$2,853-$31,384
13$31,384+$3,138-$34,523
14$34,523+$3,452-$37,975
15$37,975+$3,798-$41,772
16$41,772+$4,177-$45,950
17$45,950+$4,595-$50,545
18$50,545+$5,054-$55,599
19$55,599+$5,560-$61,159
20$61,159+$6,116-$67,275

You May Also Like

What is Compound Interest?

Compound interest is interest calculated on both the initial principal and the accumulated interest from previous periods. Unlike simple interest, which only earns interest on the original amount, compound interest allows your money to grow exponentially over time.

Albert Einstein reportedly called compound interest "the eighth wonder of the world," saying: "He who understands it, earns it; he who doesn't, pays it."

The Compound Interest Formula

The basic formula for compound interest is:

A=P(1+rn)ntA = P \left(1 + \frac{r}{n}\right)^{nt}

Where:

  • A = Final amount (principal + interest)
  • P = Principal (initial investment)
  • r = Annual interest rate (as a decimal)
  • n = Number of times interest compounds per year
  • t = Time in years

For continuous compounding, the formula becomes:

A=PertA = Pe^{rt}

The Rule of 72

A quick mental math trick to estimate how long it takes to double your money:

Years to double=72Interest Rate\text{Years to double} = \frac{72}{\text{Interest Rate}}

For example:

  • At 6% interest: 72 ÷ 6 = 12 years to double
  • At 8% interest: 72 ÷ 8 = 9 years to double
  • At 12% interest: 72 ÷ 12 = 6 years to double

The Rule of 72 is a quick approximation. For more precise calculations, use the formula above or our calculator!

Why Compound Frequency Matters

The more frequently interest compounds, the more you earn. Think of it as: how often the bank calculates and adds interest to your balance.

  • Annual compounding: Interest added once per year
  • Monthly compounding: Interest added 12 times per year
  • Daily compounding: Interest added 365 times per year
  • Continuous compounding: Interest added infinitely (theoretical maximum)

At a 10% annual rate on $10,000 over 10 years:

  • Annual compounding: $25,937
  • Monthly compounding: $27,070
  • Daily compounding: $27,179
  • Continuous compounding: $27,183

Real vs Nominal Returns: Understanding Inflation

When planning long-term investments, it's crucial to understand the difference between nominal returns (the number you see) and real returns (actual purchasing power).

Nominal Return: The raw percentage your investment grows – what your account statement shows.

Real Return: Your return after accounting for inflation – what your money can actually buy.

Real Value=Nominal Value(1+Inflation Rate)Years\text{Real Value} = \frac{\text{Nominal Value}}{(1 + \text{Inflation Rate})^{\text{Years}}}

A simpler approximation:

Real ReturnNominal ReturnInflation Rate\text{Real Return} \approx \text{Nominal Return} - \text{Inflation Rate}

Example: You invest $10,000 at 10% annual return for 20 years.

  • Nominal value: $67,275 (what your account shows)
  • With 3% inflation: $37,278 in today's purchasing power
  • Inflation loss: $29,997 – nearly half your "gains"!

Use the "Adjust for inflation" toggle in our calculator to see what your future money will actually be worth in today's dollars. This helps set realistic expectations for retirement planning.

Historical inflation rates vary by country, but a common assumption for developed economies is 2-3% annually. During high-inflation periods, this can exceed 5-10%.

Tips for Maximizing Compound Interest

  1. Start early – Time is your greatest ally. Even small amounts grow significantly over decades.
  2. Be consistent – Regular contributions amplify the effect of compounding.
  3. Reinvest returns – Don't withdraw interest; let it compound.
  4. Seek higher rates – Even a 1% difference compounds to significant amounts over time.
  5. Minimize fees – High fees erode your compounding gains.
  6. Beat inflation – Ensure your real return is positive; otherwise, you're losing purchasing power.