Compound Interest Spreadsheet: Build Your Own in Excel

To build a compound interest spreadsheet in Excel, first put your inputs in cells. Then use the FV (future value) function: =FV(rate/12, years*12, -monthly_saving, -starting_amount). For a lump sum alone, =start*(1+rate)^years does the job. The same formulas also work in Google Sheets. In addition, a second version with the fee subtracted from the return shows how much costs take.

Free ETF starter pack · 30 pages · instant download

Comparing options? Take the decision workbook with you.

  • The ETF Comparison Workbook — 10 pages: the 7-filter framework for choosing between two good funds
  • + 2 bonus PDFs: ETF Starter Kit and Dividend Starter Sheet
  • + a free lesson from the €147 Masterclass
Instant download · No spam · Unsubscribe in one click

The compound interest formula in Excel

Compound interest means you earn a return on your earlier returns as well as on the money you put in. For a single sum invested for whole years, the maths is simple:

Future value = Starting amount × (1 + annual rate)^years

For example, put £10,000 in cell B1, an assumed return of 6% in B3 and 20 years in B4. Then in Excel you would type =B1*(1+B3)^B4. The result is £32,071. Here the caret (^) means “to the power of”.

Most people do not invest once, though. Instead, they add money every month. That is where Excel’s built-in FV function saves you from writing a long formula by hand.

Using the FV function for monthly contributions

Microsoft’s documentation says FV calculates “the future value of an investment based on a constant interest rate”. It works with either periodic, constant payments or a single lump sum. Its syntax is:

FV(rate, nper, pmt, [pv], [type])

  • rate: the interest rate per period. So for monthly contributions, divide the annual rate by 12.
  • nper: the total number of periods. For monthly contributions, that is years × 12.
  • pmt: the amount added each period. It must also stay the same for the whole calculation.
  • pv (optional): the starting amount already invested.
  • type (optional): 0 if you pay at the end of each period (the default), or 1 if at the beginning.

Two rules from Microsoft’s remarks trip people up. First, keep the units consistent. Monthly payments need a monthly rate (12%/12) and a monthly count (4*12), not an annual one. Second, you enter money you pay in as a negative number and money you receive as a positive one. That is why the formulas below put a minus sign in front of the contribution and starting amount. Without it, the answer comes out negative.

A worked example

Say you start with £10,000 and add £200 a month for 20 years. Also assume a 6% annual return (an assumption for illustration, not a forecast). The formula is then:

=FV(6%/12, 20*12, -200, -10000)

Excel returns about £125,510. In total you paid in £58,000 (£10,000 plus 240 payments of £200), so the rest is compounded growth. With only the monthly £200 and no starting sum, the result is about £92,408. If you pay at the start of each month instead (type = 1), that rises to about £92,870. This is because each payment has one extra month to grow.

Build the compound interest spreadsheet step by step

A reusable calculator keeps the inputs separate from the formulas, so you can change one number and see everything update.

Six steps to build a compound interest spreadsheet in Excel using input cells, the FV function, a fee-adjusted formula and a year-by-year table
The whole calculator fits in about a dozen cells. Formula syntax: Microsoft Support and Google Docs Editors Help.
  1. Input cells. In column A write labels, and in column B the values. Use B1 for the starting amount, B2 for the monthly contribution and B3 for the annual return (as a percentage). Then use B4 for the number of years and B5 for annual fees (the ETF’s ongoing charge plus any platform fee).
  2. Lump sum result. Next, in B7: =B1*(1+B3)^B4.
  3. With monthly contributions. Then, in B8: =FV(B3/12,B4*12,-B2,-B1).
  4. After fees. In B9: =FV((B3-B5)/12,B4*12,-B2,-B1). Subtracting the fee from the return is a simple approximation, but it works well for small annual percentage fees.
  5. Total paid in. In B10: =B1+B2*12*B4. So the gap between B8 and B10 is your compounded growth.
  6. Cost of fees. Finally, in B11: =B8-B9.

Format B1, B2 and B7 to B11 as currency, and B3 and B5 as percentages. Then you have a working calculator.

Add a year-by-year table and chart

Seeing the balance grow year by year is more useful than a single end figure. So next to your inputs:

  1. First, in D1 write “Year” and fill D2:D31 with 1 to 30.
  2. In E2 enter =FV($B$3/12,D2*12,-$B$2,-$B$1) and copy it down. The dollar signs lock the input cells so only the year changes.
  3. Then in F2 enter =FV(($B$3-$B$5)/12,D2*12,-$B$2,-$B$1) for the after-fee value.
  4. Next, in G2 enter =$B$1+$B$2*12*D2 for the total paid in.
  5. Finally, select columns D to G and insert a line chart.

With the example inputs, the table shows about £13,084 after one year and £27,443 after five. It then shows £50,970 after ten and £82,705 after fifteen, against £46,000 paid in by year fifteen. The curve steepens over time, which is the whole point of compounding.

The fee-drag column: why costs matter

Fees come out every year on your whole balance, so they compound against you. Take the same example (£10,000 start, £200 a month, an assumed 6% before costs, 20 years). Here is what different total annual fees do:

Table showing how annual fees of 0.2%, 0.5% and 1% reduce the 20-year value of a £10,000 plus £200 a month plan at an assumed 6% return
Illustrative only: the 6% return is an assumption, not a forecast. Fees approximated by deducting them from the annual return.

In this example, a 1% annual fee costs about £16,000 over 20 years. That is more than a quarter of the £58,000 you paid in. That is why low-cost index ETFs and cheap platforms matter for long-term investors. Our ETF fee calculator also runs the same comparison for any fund. In addition, our guide on investing €500 a month shows how to turn the numbers into a plan.

Google Sheets, daily compounding and other variations

  • Google Sheets: the FV function works the same way. Google’s help page lists it as FV(rate, number_of_periods, payment_amount, [present_value], [end_or_beginning]). So you can paste the formulas above in unchanged.
  • Different compounding frequency: for quarterly compounding use rate/4 and years*4; for daily, rate/365 and years*365 with a daily payment. In addition, Microsoft’s EFFECT function converts a nominal annual rate into the effective annual rate: =EFFECT(5.25%,4) returns about 5.354%.
  • Changing contributions: FV assumes the payment never changes. So if you plan to raise your contribution each year, build a row-by-row table instead. In it, each month’s balance equals last month’s balance × (1 + monthly rate) plus that month’s payment.
  • Inflation: to see the result in today’s money, subtract an assumed inflation rate from the return. This works just as it did with fees.

If you would rather not build a compound interest spreadsheet yourself, our free compound growth calculator does the same sums in your browser. Also, the dividend investing calculator handles reinvested dividends and tax.

Common mistakes to avoid

  • Mixing annual and monthly units. The most common error is using an annual rate with a monthly number of periods (or the reverse). As a result, you get wildly wrong results. Monthly payments need rate/12 and years*12.
  • Typing 6 instead of 6%. Excel reads 6 as 600%. So enter the rate as 6% or 0.06, or format the cell as a percentage before typing.
  • Forgetting the minus signs. Without them the answer is negative. However, it is not wrong, just signed the other way.
  • Treating the result as a promise. FV assumes the same return every single year. But real markets rise and fall. So use a range of assumed returns (for example 3%, 5% and 7%) to see a spread of outcomes rather than one number.
  • Ignoring tax. The calculator shows growth before tax. Inside an ISA or pension that is close to what you keep. In a taxable account, however, dividends and gains above your allowances would reduce it.

Frequently asked questions

What is the Excel formula for compound interest?

For a lump sum, use =P*(1+r)^n. Here P is the starting amount, r the annual rate and n the number of years. For regular contributions, use =FV(r/12, n*12, -payment, -P), and enter money paid in as negative numbers.

Can I use the same compound interest formula in Google Sheets?

Yes. Google Sheets has the same FV function with the same argument order. So the formulas in this guide work without changes.

How do I calculate daily compound interest in Excel?

In the FV function, divide the annual rate by 365 and multiply the years by 365. For example, =FV(5%/365, 10*365, 0, -1000) works for £1,000 over ten years. The EFFECT function also shows the equivalent annual rate.

Why does Excel’s FV function give a negative number?

Excel treats money you pay out as negative and money you receive as positive. So if you enter the payment and starting amount as positive numbers, the result is negative. Put a minus sign in front of them to get a positive future value.

Cited sources: Microsoft Support: FV function, Microsoft Support: EFFECT function, Microsoft Support: compound interest for an intra-year period, and Google Docs Editors Help: FV. Verify current fund figures before investing. Educational content, not financial advice.

Not personalised financial advice. Verify your situation with a qualified adviser. Operated by Aurum Digital Marketing LTD (UK), Companies House 15203665.

Kestutis Balciunas, founder of Financial Expert Class
Kestutis Balciunas
European UCITS/ETF investor with 11+ years building a global dividend and index portfolio, and founder of Financial Expert Class. I write every guide here from first-hand experience investing across EU brokers and tax regimes — not theory.
Risk disclaimer: Investing always involves the risk of losing your capital. Past performance and predictions do not guarantee future results. Do your own research and consider consulting a qualified financial advisor before making any investment decisions.