Home › Blog › Interest & Growth

Compound Interest Formula Explained Step by Step (2027)

Interest & GrowthPublished 13 min readBy Savings Calculator Team

Teal card showing the compound interest formula A = P(1 + r/n)^(nt)

Many people see the compound interest formula and close the page. It looks like a puzzle full of tiny letters and raised numbers. The good news is that it has only four parts, and each one is easy to understand.

In this guide you will learn the compound interest formula one letter at a time. You will work three examples by hand: a single lump sum, regular deposits, and both together. Then you will check each answer against our free Compound Interest Calculator.

All rates here are examples only. Real rates change, and results are estimates, not promises.

Quick answer

The compound interest formula is A = P(1 + r/n)^(nt). A is the final amount, P is the money you start with, r is the yearly rate as a decimal, n is how many times interest is added each year, and t is the number of years. For example, $8,000 at 5% compounded monthly for 10 years becomes about $13,176.

Key takeaways
  • The formula A = P(1 + r/n)^(nt) has five letters: A, P, r, n and t.
  • $8,000 at an example 5% compounded monthly for 10 years grows to about $13,176.
  • Regular deposits need a second formula. $150 a month at 5% for 10 years grows to about $23,292.
  • Compounding daily instead of yearly adds only about $158 on $8,000 over 10 years.
  • Always write the rate as a decimal and match n and t to the same time units.
  • Use a calculator to check your hand math before you rely on the answer.

What is the compound interest formula?

Compound interest means you earn interest on your original money and on the interest you already earned. Over time this snowball effect makes your balance grow faster. The formula is just a short way to write that idea.

A = P × (1 + r ÷ n)^(n × t)A is the final amount. P is the principal, which is your starting money. r is the yearly rate as a decimal. n is how many times a year interest is added. t is the number of years.

You can read it like a sentence. Take your starting money. Multiply it by a growth factor, once for every time interest is added. The little raised part, called the exponent, tells you how many times to repeat the step.

If you want the idea without math first, read how compound interest works. Then come back here for the formula. For a comparison with the simpler version, see simple interest vs compound interest.

What does each letter in the formula mean?

Let us look at the letters one by one. We will use a running example. Lena has $8,000. She puts it in an account that pays an example 5% a year, compounded monthly. She leaves it for 10 years.

The letters in A = P(1 + r/n)^(nt), using Lena's numbers
LetterWhat it meansLena's value
AAmount at the endWhat we want to find
PPrincipal, your starting money$8,000
rYearly rate as a decimal0.05 (that is 5%)
nTimes interest is added per year12 (monthly)
tNumber of years10

Why do we divide the rate by n?

The rate is a yearly number. If interest is added every month, each month only gets one twelfth of it. So 0.05 ÷ 12 gives a monthly rate of about 0.004167.

Why do we multiply n and t?

Interest is added n times each year for t years. So the number of steps is n × t. Lena gets 12 × 10 = 120 monthly steps. Each step multiplies her balance by the same growth factor.

Tip: The most common mistake is typing 5 instead of 0.05. Always change the percent to a decimal first. Divide the percent by 100: 5 ÷ 100 = 0.05.

How do you use the formula step by step?

Here is a simple routine. It works for any example. Write each number down before you press any buttons.

  1. Write the formula with your letters.
  2. Change the rate to a decimal.
  3. Divide the rate by n.
  4. Add 1 to that number. This is your growth factor.
  5. Raise the growth factor to the power n × t.
  6. Multiply the result by P.
Example 1: $8,000 at 5%, compounded monthly, for 10 years

Step 1: P = 8,000, r = 0.05, n = 12 and t = 10.

Step 2: The monthly rate is 0.05 ÷ 12 = 0.004167.

Step 3: The growth factor is 1 + 0.004167 = 1.004167.

Step 4: The number of steps is 12 × 10 = 120.

Step 5: The factor raised to 120 is about 1.6470.

Step 6: Multiply: $8,000 × 1.6470 = about $13,176.

Result: Lena's $8,000 could grow to about $13,176. Her interest would be about $5,176.

A basic phone calculator can do this if it has a power key. Many people use a spreadsheet instead. In a spreadsheet you can type =8000*(1+0.05/12)^(12*10) and press Enter. The result should match the number above.

How does the answer change year by year?

It helps to see the formula at work over a short time. Say Lena's bank adds interest once a year instead of monthly. Then n is 1, and the formula becomes simpler: A = P × 1.05^t.

Example: the first three years with yearly compounding

Step 1: After year 1: $8,000 × 1.05 = $8,400.

Step 2: After year 2: $8,000 × 1.05 × 1.05 = $8,820.

Step 3: After year 3: $8,000 × 1.05 × 1.05 × 1.05 = $9,261.

Result: Each year you multiply by 1.05 again. After 10 years of yearly compounding, the balance is $13,031.

Notice that the dollar growth gets larger each year. Year 1 adds $400. Year 2 adds $420. Year 3 adds $441. That is the snowball. Your interest grows because the base it is figured on is growing.

Line chart of $8,000 at 5% compounded monthly. The balance is $10,267 after 5 years, $13,176 after 10 years and $35,742 after 30 years.
The line bends upward as interest earns interest.
Lena's $8,000 at an example 5%, compounded monthly
YearsBalance
5$10,267
10$13,176
15$16,910
20$21,701
25$27,850
30$35,742

Look at the gap between each row. From year 5 to 10 the balance rises by about $2,700. From year 25 to 30 it rises by more than $7,000. Time matters as much as the rate. You can see the same effect in our guide on how to calculate savings growth.

Does the compounding frequency change the result?

The letter n lets you test how often interest is added. Banks may compound yearly, quarterly, monthly or daily. You might expect big differences. In practice, the gap is small.

$8,000 at an example 5% for 10 years
CompoundingnBalance after 10 years
Yearly1$13,031
Quarterly4$13,149
Monthly12$13,176
Daily365$13,189

Going from yearly to daily adds about $158. That is less than $100 on $8,000 over 10 years. The rate and the time matter far more. A one-point change in rate does much more than a faster compounding schedule.

Compounding also shows up in APY, which is the yearly rate after compounding is included. Our guide on what is APY explains why APY is the best number to compare accounts.

How do you add regular deposits to the formula?

The first formula works for one lump sum. Most people add money every month. For that, you need a second piece. It adds up all the deposits and the interest on each one.

FV = PMT × [((1 + r ÷ n)^(n × t) − 1) ÷ (r ÷ n)]PMT is the deposit you make each period. This version assumes you deposit once per compounding period, at the end of each period. FV is the future value of the deposits.

Here the letters r, n and t mean the same as before. PMT is new. It is your regular deposit. The fraction in the brackets is a growth factor for a stream of deposits. It already includes the interest each deposit earns.

Example 2: Omar saves $150 a month for 10 years at 5%

Step 1: PMT = 150, r = 0.05, n = 12 and t = 10.

Step 2: Omar makes 120 deposits, so his own money is $150 × 120 = $18,000.

Step 3: Using the formula with monthly compounding, the future value is about $23,292.

Step 4: Interest earned is $23,292 minus $18,000, which is about $5,292.

Result: Omar's deposits could grow to about $23,292. About $5,292 of that is interest.

This is why our Savings Calculator asks for a regular contribution. It uses the same idea, step by step, one month at a time.

How do you combine a lump sum and monthly deposits?

Many savers have both. They start with some money and add more each month. In that case you add two parts together. Part one grows the starting money. Part two grows the deposits.

A = P × (1 + r ÷ n)^(n × t) + PMT × [((1 + r ÷ n)^(n × t) − 1) ÷ (r ÷ n)]Add the lump sum result and the deposit result. Use the same r, n and t in both parts.
Example 3: $8,000 to start, plus $150 a month, at 5% for 10 years

Step 1: The lump sum part is $13,176, from Example 1.

Step 2: The deposit part is $23,292, from Example 2.

Step 3: Add them. The total is about $36,468.

Step 4: Your own money is $8,000 + $18,000 = $26,000. The interest is about $10,468.

Result: The combined plan could grow to about $36,468.

Stacked bar chart for three plans. Lump sum only ends at $13,176, deposits only at $23,292 and both together at $36,468.
Both together: your money plus interest from each part.

The chart shows how each piece helps. The lump sum is the bigger part at first. The deposits catch up over time, so keep saving even if your starting amount is small.

Careful: The formula assumes the rate never changes and that you never skip a deposit. Real accounts have variable rates. Treat every result as a rough guide.

How do you check your math with a calculator?

After you work a problem by hand, test it. Open the Compound Interest Calculator. Enter the same numbers in the matching boxes: starting balance, regular deposit, rate, compounding and years. Press Calculate.

The final balance should match your hand result, give or take a few dollars. Small gaps come from rounding. If the gap is big, check these common slips:

Deposit timing matters a little. Money added at the start of each month earns one extra month of interest. For $150 a month at 5% over 10 years, the start-of-month version ends higher by about $97.

Rate sensitivity for Example 3 (10 years)
RateBalance
4%$34,014
5%$36,468
6%$39,137

What mistakes do people make with the formula?

The formula is simple, yet small slips can change the answer a lot. Knowing the common ones saves you time. Check this list whenever your hand math does not match the calculator.

If you are unsure, test the formula on a tiny case. Try $100 at 10% for one year with yearly compounding. You should get $110. If you do not, one of the steps above is off.

A good habit is to estimate first. Money at a few percent for ten years grows by a bit more than the simple total. If your answer is wildly higher or lower than that, stop and recheck the decimal point.

What should you do next?

You now know the compound interest formula, and you have used it three ways. A good next step is to try your own numbers.

  1. Pick a starting amount, a monthly deposit and an example rate.
  2. Work the formula once by hand or in a spreadsheet.
  3. Check it in the Compound Interest Calculator.
  4. Change one number at a time and see what moves the result most.
  5. Decide on a deposit you can keep up, and set up an automatic transfer.

If you are new to calculators, our guide on how to use a savings calculator shows each box. For plain-English background, read how to start saving money.

Try it yourself

Put your own numbers into our free Compound Interest Calculator. No signup. Works on any phone.

Open the calculator →

Frequently asked questions

What is the compound interest formula?

The formula is A = P(1 + r/n)^(nt). A is the final amount, P is your starting money, r is the yearly rate as a decimal, n is how many times interest is added each year and t is the number of years. It shows how interest builds on itself.

How do I calculate compound interest by hand?

Change the rate to a decimal, divide it by n, add 1, raise the result to the power n × t, and multiply by your starting amount. A spreadsheet or phone calculator with a power key makes this quick. Then subtract P to get the interest.

What does n mean in the compound interest formula?

The letter n is the number of times interest is added in one year. Yearly is 1, quarterly is 4, monthly is 12 and daily is 365. A higher n means a slightly higher result, but the extra is usually small compared with the effect of the rate.

How do I find just the interest earned?

First find A with the formula. Then subtract your principal P. For $8,000 growing to $13,176, the interest is about $5,176. If you add deposits, subtract all of your deposits too, not only the starting balance.

Does the formula work with monthly deposits?

The basic formula covers only a lump sum. For regular deposits, add a second part: PMT × [((1 + r/n)^(nt) − 1) ÷ (r/n)]. Add the two results together. A calculator does the same steps for you and also handles weekly or yearly deposits.

How do I turn a percent into a decimal?

Divide the percent by 100. So 5% becomes 0.05, and 4.5% becomes 0.045. You can also move the decimal point two places to the left. Do this before you put the rate into the formula, or the answer will be wrong.

Is compound interest the same as APY?

They are related. APY is the yearly rate after compounding is counted. For example, 5% compounded monthly is an APY of about 5.12%. Banks show APY so you can compare accounts fairly. See our guide on APY for details.

Why is my answer different from the calculator?

Usual causes are rounding, a rate typed as 5 instead of 0.05, a mismatch between n and t, or deposit timing. Check that your inputs match the calculator boxes. If they do, the results should be within a few dollars.

Please note: This guide is for education only and is not personal financial, tax or legal advice. Numbers in examples are simple estimates, not promises. Rates, fees and rules change, so check with your bank or a qualified adviser before you decide. See our disclaimer.

Free calculators for this guide

Compound Interest Calculator

Watch principal, contributions and interest build on each other over time.

Calculate Now →

Savings Calculator

See how your savings could grow with regular contributions and compound interest.

Calculate Now →

APY Calculator

Convert an interest rate and compounding frequency into APY.

Calculate Now →

Keep reading

Interest & Growth

Rule of 72 Explained: How Fast Will Your Money Double?

Learn the rule of 72 with a simple formula, a rate table and worked examples. Find out how fast your savings can double and when the shortcut is off.

Read guide →
Interest & Growth

Free Compound Interest Calculator Online: How Compound Interest Works (2027 Guide)

How does compound interest work with monthly deposits? Learn the formula, see 2027 examples and try our free online calculator.

Read guide →
Interest & Growth

How to Calculate Savings Growth With Monthly Deposits: Formula and Free Online Calculator (2027)

How do you calculate savings growth with monthly deposits? Learn the formula step by step and use our free online savings calculator for 2027.

Read guide →