Compound Interest Formula in Excel and Google Sheets
Compound interest with the exponent formula or FV, monthly deposits, and why daily compounding ends a few dollars above monthly. Measured in Google Sheets.
On this page
A sheet that compounds 12,000 at 4.5% monthly for three years shows 13,730.97. An account that credits the same 4.5% every day shows 13,734.33 after those three years. Neither is a formula mistake. The 3.35 between them comes from how often the interest is credited.
Enter this in A1:B5, typing the rate with the percent sign so Sheets stores 0.045.
| Input | Value |
|---|---|
| Principal | 12000 |
| Annual rate | 4.5% |
| Periods per year | 12 |
| Years | 3 |
The balance after three years of monthly compounding is:
=B2*(1+B3/B4)^(B4*B5)
=FV(B3/B4,B4*B5,0,-B2)
Both return 13,730.97. The first divides the annual rate by 12 to get one month’s rate, then raises 1+rate to the 36th power. For the interest alone, subtract the principal: =B2*(1+B3/B4)^(B4*B5)-B2 returns 1,730.97. The figures in this article were measured in Google Sheets and displayed with two decimals; FV, EXP and ROUND also exist in Excel.
FV flips the sign unless you flip it first
FV(rate, nper, pmt, pv) treats money you pay in as negative and money you get back as positive. That is why the formula above passes -B2. Pass B2 instead and the same cell shows -13,730.97. The function is reporting the balance from the other side of the deposit, so negate the principal or put a minus in front of the whole function.
Why daily compounding lands higher
In this table only the crediting schedule changes. Same 12,000, same 4.5%, three years:
| Compounding | Formula | Balance |
|---|---|---|
| Monthly | =B2*(1+B3/12)^(12*B5) | 13,730.97 |
| Daily, 365-day year | =B2*(1+B3/365)^(365*B5) | 13,734.33 |
| Daily, 360-day year | =B2*(1+B3/360)^(360*B5) | 13,734.33 |
| Continuous | =B2*EXP(B3*B5) | 13,734.44 |
=FV(B3/365,365*B5,0,-B2) equals the 365 row. The 360 and 365 rows differ by 0.0016 before display rounding, so for a three-year, five-figure balance the day-count convention changes nothing you can see. Continuous compounding is the ceiling, a model rather than something an ordinary savings account posts.
Calendar days matter more than the convention when your start and end dates are real. Put 2026-01-15 in B7 and 2029-01-15 in B8; the subtraction =B8-B7 returns 1096, because February 2028 has 29 days. Use that as the exponent:
=B2*(1+B3/365)^(B8-B7)
It returns 13,736.02 for daily compounding over those exact dates. A date stored as text, “2029-01-15”, subtracted fine in this test and gave the same 1096; check ISNUMBER(B8) anyway if the dates came from an import.
Daily credit versus daily counting
A statement can count days without compounding daily. I built twelve rows for 2026, one per month, with the days in each month (31, 28, 31 and so on, 365 in total), and grew the balance by balance*(1+B3*days/365) each month. It ended at 12,551.28. Monthly compounding with B3/12 over one year is also 12,551.28, while daily compounding gives 12,552.30. If the account’s own figure is a dollar above yours after a year, ask whether interest is credited daily, not whether it uses 28-to-31-day months.
Cents rounded every month
If an account posts whole cents each month, the balance carries that rounding forward. A 36-row ledger with =ROUND($B$2*(1+$B$3/12),2) in D2 and =ROUND(D2*(1+$B$3/12),2) in D3, filled down to D37, ended at 13,731.01, four cents above the unrounded 13,730.97. When your sheet is a few cents off a statement, try rounding each month’s balance first.
Adding a deposit every month
The pmt argument carries the deposits. For 200 at the end of each month on top of the 12,000:
=FV(B3/12,12*B5,-200,-B2,0)
It returns 21,424.19. The same formula with the last argument changed to 1, deposits at the start of each month, returns 21,453.04, because each deposit earns one extra month. Leaving the argument out behaves as 0. Of the 21,424.19, 12,000 plus 36 deposits of 200 is 19,200 paid in and 2,224.19 is interest. A 36-row ledger built as the previous balance times 1+B3/12, plus 200, ended within 2e-10 of the function.
The rate and nper must be in the same unit as the deposits. =FV(B3,36,-200,-B2,0) pairs an annual rate with 36 monthly periods and returns 75,761.33.
Inputs that return a confident wrong number
None of these throws an error, which is what makes them easy to miss.
| Input or formula | Balance |
|---|---|
| Rate typed as 4.5 instead of 4.5% | 1,143,084,616.31 |
Rate not divided: =B2*(1+B3)^(B4*B5) | 58,528.54 |
Exponent is years only: =B2*(1+B3/B4)^B5 | 12,135.51 |
Annual rate, monthly periods, deposits: =FV(B3,36,-200,-B2,0) | 75,761.33 |
A rate stored as the text “4.5%” still returned 13,730.97 in this test, because the arithmetic coerced it; ISNUMBER on that cell was FALSE. An empty periods cell produced #DIV/0!. A 0% rate returned 12,000 from both formulas, and 2.5 years worked in either form (13,426.04 with 30 periods).
I use the exponent formula when the sheet has to be audited, since the rate and the power are both visible in the cell. For anything with deposits I use FV, which makes the timing an explicit argument instead of a hidden assumption. To skip building the inputs, the Compound Interest Calculator is the no-setup version. The yield after compounding, as one yearly figure, is covered in the APY formula; for loans, see the loan payment formula; and for the growth between two balances you already have, see percentage change.