Compound Interest Formula: How to Calculate It + Examples

RunFreeTools TeamMay 10, 20265 min read
Compound Interest Formula: How to Calculate It + Examples

A small amount of money left to compound can quietly turn into a large amount, and the reason is one of the most powerful ideas in personal finance. Compound interest is what makes early saving so rewarding and why waiting is so costly. Once you see how it works, you will never look at a savings rate the same way again.

What Compound Interest Is

Compound interest is interest you earn on your interest. When you deposit money, it earns a return. With compounding, that return is added back to your balance, so the next round of interest is calculated on a larger sum. Each cycle the base grows, and the growth feeds on itself.

Contrast that with simple interest, where only the original principal earns. Simple interest grows in a straight line. Compound interest grows on a curve that bends upward more sharply the longer you leave the money alone. That bend is the whole game.

The Compound Interest Formula

The formula behind every compound interest calculator is A equals P times (1 plus r divided by n), raised to the power of n times t.

Breaking that down:

  • A is the final amount you end up with.
  • P is the principal, your starting deposit.
  • r is the annual interest rate written as a decimal, so 5 percent is 0.05.
  • n is the number of times interest compounds per year, such as 1 for yearly, 12 for monthly or 365 for daily.
  • t is the number of years you stay invested.

To find the interest earned on its own rather than the total balance, simply subtract the principal: interest equals A minus P. That single subtraction tells you how much the compounding actually added.

How to Calculate Compound Interest Step by Step

You can work compound interest out by hand in five steps:

  1. Write down your variables. Note P (principal), r (annual rate as a decimal, so 5 percent is 0.05), n (compounds per year) and t (years).
  2. Find the periodic rate. Divide r by n. At 5 percent compounded monthly that is 0.05 divided by 12, or 0.004167.
  3. Count the periods. Multiply n by t. Monthly for 10 years is 12 times 10, which is 120.
  4. Apply the exponent. Raise (1 plus the periodic rate) to the number of periods: 1.004167 to the power of 120 is about 1.6470.
  5. Multiply by the principal. A equals P times that figure. Subtract P to get the interest on its own.

That is exactly what the Compound Interest Calculator does instantly, but running it once by hand makes the formula stick.

Solving for the Rate or the Time

The same equation rearranges when you know the outcome and need a missing input. To find the rate, use r equals n times ((A divided by P) raised to the power of 1 over (n times t), minus 1). To find the time needed to reach a goal, solve for t with logarithms: t equals ln(A divided by P) divided by (n times ln(1 plus r divided by n)). The calculator handles these cases for you, but knowing the algebra lets you sanity-check any answer.

A Worked Example

Imagine you deposit 5,000 at a 5 percent annual rate, compounded monthly, and leave it for 10 years.

Here r is 0.05, n is 12 and t is 10. The monthly rate r divided by n is 0.004167. The exponent n times t is 120. So A equals 5,000 times (1.004167) raised to 120, which is about 5,000 times 1.6470, or roughly 8,235.

That means your 5,000 grew by about 3,235 in interest without you adding a single extra dollar. Leave it for 20 years instead of 10 and the balance climbs past 13,500, because the second decade compounds on a much larger base. The longer you wait, the more dramatic the result, which is the core lesson of compounding.

Why Compounding Frequency Matters

The n in the formula controls how often interest is added. Compounding daily produces a slightly higher result than compounding annually, because each addition lets interest start earning sooner. However, the difference between daily and monthly is small. Do not lose sleep over frequency.

The variables that truly move the needle are the rate, the amount and above all the time. A modest rate left to compound for decades almost always beats a higher rate over a short window. This is why financial advisers stress starting early more than chasing the perfect account.

How to Use the Compound Interest Calculator

Rather than wrestle with exponents by hand, let the Compound Interest Calculator do the work. The steps are straightforward:

  1. Enter your principal, the amount you are starting with.
  2. Type in the annual interest rate.
  3. Choose how often interest compounds, such as monthly or annually.
  4. Set the number of years you plan to stay invested.
  5. Read off the final balance and the total interest earned.

Because the Compound Interest Calculator recalculates instantly, you can experiment. Add a few years to the time, nudge the rate, or switch the compounding frequency and watch how each change reshapes the final number. That hands-on feedback teaches the math faster than any textbook.

Putting Compound Interest to Work

Understanding the formula is only half the value. The real payoff is acting on it:

  • Start as early as you can. Time is the most powerful input in the formula.
  • Reinvest your returns rather than withdrawing them, so the compounding never breaks.
  • Leave the money undisturbed. Frequent withdrawals reset the snowball.
  • Compare accounts on their effective compounded return, not just the headline rate.

If you contribute regularly rather than making a single lump deposit, explore the other calculators to model recurring investments and growth rates. Seeing the projected totals is often the motivation people need to begin saving seriously.

Conclusion

Compound interest rewards patience like almost nothing else in finance. The formula is simple, the example is convincing, and the lesson is clear: the sooner you start and the longer you wait, the more your money does on its own. Try your own numbers in the Compound Interest Calculator, then browse the rest of the free all tools to map out your savings goals.

Try the tool from this guide

Compound Interest Calculator

See how savings grow over time.

Open Compound Interest Calculator

Frequently asked questions

What is compound interest in simple terms?

Compound interest is interest earned on both your original money and the interest it has already earned. Instead of paying out, each period's interest is added back to the balance so the next period earns even more. Over time this snowball effect accelerates growth.

What is the compound interest formula?

The formula is A = P(1 + r/n)^(nt), where A is the final amount, P is the principal, r is the annual rate as a decimal, n is how many times interest compounds per year, and t is the number of years. Subtract P from A to get the interest alone.

Does compounding frequency really matter?

Yes, but with diminishing returns. More frequent compounding, such as daily versus annually, produces a slightly higher final balance because interest starts earning sooner. The biggest drivers of growth are still the rate, the amount and especially the time invested.

How is compound interest different from simple interest?

Simple interest is calculated only on the original principal, so it grows in a straight line. Compound interest is calculated on the principal plus accumulated interest, so it grows on a curve that gets steeper the longer you stay invested.

How do you calculate compound interest step by step?

Write down P (principal), r (annual rate as a decimal), n (compounds per year) and t (years). Divide r by n and add 1, raise that to the power of n times t, then multiply by P to get the final amount A. Subtract P to get the interest. Example: 5,000 at 5% compounded monthly for 10 years = 5,000 x (1 + 0.05/12)^(12x10) which is about 8,235.

What is the compound interest rate formula?

To solve for the rate, rearrange the formula to r = n x ((A/P)^(1/(nt)) - 1). In words: divide the final amount by the principal, raise the result to the power of 1 over (n times t), subtract 1, then multiply by n. That gives the annual rate as a decimal — multiply by 100 for a percentage.

Share this article

Send it to a teammate or save the link for later.

Related tools

A mailbox receiving new tools, guides and feature updates

New tools, straight to your inbox

A short note whenever we ship a new free tool or guide. No spam, unsubscribe in one click.

  • No spam
  • Unsubscribe anytime
  • Your email is safe
5min left