The compound interest formula in Excel is =P*(1+r/n)^(n*t). Whether for personal or business application, knowing how to calculate compound interest for loans and investments is an essential skill. Compound interest is interest earned on both the original principal amount and any previously accumulated interest, which means your balance grows faster over time compared to simple interest.
Each variable in the formula means the following:
There are two methods you can use to calculate compound interest in Excel: the manual formula and the FV (future value) function. We'll walk through both approaches below using the same example so you can compare results and choose the method that fits your needs.
Download ExcelCompoundInterest.xlsx to follow along with the examples.
The manual compound interest formula you can type directly into any Excel cell is:
=P*(1+r/n)^(n*t)
This gives you the future balance including both principal and accumulated interest. To isolate just the interest earned, subtract the principal from the result.
Let's walk through a step-by-step example using a 1.5% annual interest rate compounded monthly on a beginning balance of $5,000.
If we break this down month by month as shown in the sample workbook, we calculate the first month like this: $5,000 X (.015/12) = $6.25 in interest. To get to the balance with the interest, we simply add the starting balance back to it: $5,000 + ($5,000 X (.015/12)) = $5,006.25.

Looking at the sample worksheet tab named LF-Compounded Monthly, we see that our opening deposit is on 12/31/2015. With interest compounding monthly, each successive row with its end of month date in each succeeding month needs this formula copied down from the second date row to the bottom to arrive at the compounded interest.
Adjusting for different compounding frequencies is straightforward. Simply change the value of n:
If interest were being calculated on the exact number of days each month and then added to the balance at the end of the month (similar to credit card interest calculations on regular purchases), then we'd need to divide the rate by 365 and then multiply it by the number of days in that period. That would look more like this.
Examine LF-Compound Daily 360 and LF-Compound 365 for true daily compounding interest calculations. Rather than accumulating daily interest and adding it to the balance at the end of the month, each day interest is calculated and added to the balance on which the next day's interest is calculated upon. The 360-day convention is common in banking, while the 365-day method reflects actual calendar days.
The second way to calculate compound interest is to use the FV function. This is often faster when you need a single future balance without building a period-by-period schedule.
The syntax is: =FV(rate, nper, pmt, pv, type)
This function requires:
Here's how to apply it step by step using our $5,000 example at 1.5% compounded monthly:

Important tip: The present value (pv) must be entered as a negative number. Excel treats cash you pay out (your initial deposit) as negative and cash you receive (your future balance) as positive. If you enter 5000 instead of -5000, the result will be negative, which can cause confusion.
In the sample workbook the example is on the FV Function worksheet.
Understanding the difference between simple and compound interest helps you appreciate why compounding frequency matters. You calculate simple interest only on the original principal using the formula =P*r*t. You calculate compound interest on both the principal and previously accumulated interest, which causes the balance to grow at an accelerating rate.
Here's how the two methods compare using a $5,000 principal at a 1.5% annual rate:
| Time Period | Simple Interest Balance | Compound Interest Balance (Monthly) | Difference |
|---|---|---|---|
| 1 year | $5,075.00 | $5,075.28 | $0.28 |
| 5 years | $5,375.00 | $5,388.18 | $13.18 |
| 10 years | $5,750.00 | $5,808.08 | $58.08 |
The gap widens significantly over longer time periods, which is why compound interest has such a powerful effect on long-term savings and investments.
What we actually created in the manual formula example is an amortization schedule.

This would allow us to see the balance as it increases over time, rather than only at the very end, as with the FV example.
So which method should you use? It depends on what you need:
Both methods work well for common real-life applications:
If you're calculating a mortgage, you don't have to set up a thing! Just look for the Loan Amortization Schedule template available for any version of Excel. Just search in templates or choose Sample Templates in Excel 2010 to find it. This built-in amortization schedule template handles principal, interest and payment breakdowns automatically.
Even experienced Excel users can make small errors that throw off compound interest calculations. Keep these best practices in mind: