How to Calculate Compound Interest in Excel: Step-by-Step Guide
In this article
Excel can compute compound interest accurately using built-in formulas or the FV function, letting you project growth over time with precision. You only need Excel installed—no add-ins or special setup required.
What You'll Need
- Microsoft Excel (any modern version: Excel 2010, 2013, 2016, 2019, 2021, Microsoft 365, or Excel for the web)
- Basic understanding of financial terms: principal (initial amount), annual interest rate, number of compounding periods per year, and time in years
- A new or existing Excel workbook
Step-by-Step
- Open Excel and create a new blank workbook. If you already have a workbook open, press
Ctrl + N(Windows) orCmd + N(Mac) to start a new one. - Set up your input cells. In cell A1, type Principal. In B1, enter your starting amount (e.g.,
10000for $10,000). In A2, type Annual Interest Rate. In B2, enter the rate as a decimal (e.g.,0.05for 5%). In A3, type Compounding Periods per Year. In B3, enter how often interest is applied (e.g.,12for monthly,4for quarterly,1for annually). In A4, type Years. In B4, enter the duration (e.g.,10for 10 years). - Calculate total future value using the FV function. Click in cell B6 (or any free cell), type
=FV(B2/B3, B4*B3, 0, -B1), and press Enter. This formula divides the annual rate by periods per year, multiplies years by periods to get total periods, uses 0 for periodic payments (since this is lump-sum compounding), and makes the principal negative so the result is positive. - Verify your result. With $10,000 at 5% annual interest compounded monthly over 10 years, the formula returns $16,470.09. Confirm by checking the cell—no error symbols (#NAME?, #VALUE!) should appear.
- Optionally, calculate interest earned separately. In A7, type Total Interest. In B7, enter
=B6 - B1. This subtracts the original principal from the future value to show only the interest portion ($6,470.09 in the example). - Build a growth schedule (optional but helpful). In row 9, create headers: Period (A9), Beginning Balance (B9), Interest (C9), Ending Balance (D9). In A10, enter
0and copy down to A22 for 12 periods (if monthly). In B10, enter=B1. In C10, enter=B10*(B$2/B$3)to calculate period interest. In D10, enter=B10 + C10. In B11, enter=D10and copy B11:D11 down to row 22. This shows the balance growing period by period.
Common Mistakes
- Using the annual rate directly without dividing by compounding frequency (e.g., using 0.05 instead of 0.05/12 for monthly compounding) will overstate growth significantly.
- Entering the principal as positive in FV without a negative sign. Excel treats cash outflows as negative; omitting the minus in
-B1yields a negative future value, which is confusing. - Mixing time units—e.g., entering years as 10 but compounding monthly without adjusting periods to
10*12—causes the formula to run for only 10 periods instead of 120. - Forgetting to format cells. If B2 shows 5% instead of 0.05, the rate is interpreted as 500%. Use the Percentage or Number format consistently.
- Assuming payments are included. The FV function’s third argument (payment) defaults to 0. If you omit it and leave blank spaces, Excel may treat 0 as missing, but it’s safer to explicitly enter 0.
Tips
- Use absolute references for rate and compounding inputs (e.g.,
B$2,B$3) when copying formulas down a column to prevent cell references from shifting. - Format currency by selecting cells B1, B6, and B7, then pressing
Ctrl + Shift + $(Windows) orCmd + Shift + $(Mac) for clean dollar display. - Test with known values. For $1,000 at 6% annually for 5 years (compounded yearly), future value should be $1,338.23. Use this to verify your setup before scaling up.
- Leverage Excel’s Formula Auditing. Go to Formulas > Formula Auditing > Trace Precedents to visually confirm which cells feed into your FV calculation.
- Save templates. After setting up inputs, save the file as a template (.xltx) for future use—just change B1, B2, B3, B4 and recompute.
- For variable rates, create a column of monthly/annual rates (e.g., B2:B13 for 12 months), then use
=PRODUCT(1+B2:B13)*B1as an array formula (pressCtrl + Shift + Enterin older Excel; newer versions allow=B1*PRODUCT(1+B2:B13)directly).
Troubleshooting
If your result seems wrong or Excel shows an error, follow these checks:
- Check for #NAME? error. This usually means Excel doesn’t recognize a function name. Ensure you typed
FVcorrectly (notFV()with extra characters orFVmisspelled asfv—case doesn’t matter, but spelling does). - Review cell references. Double-click each cell in your formula to highlight its dependencies. Confirm B1, B2, B3, and B4 contain numbers—not text like "10000" or "5%" without conversion.
- Confirm compounding frequency. If interest compounds daily, set B3 to 365 (or 360 for some financial conventions). Verify your rate is annual; if given as a monthly rate, multiply by 12 before entering.
- Check for hidden spaces. Paste data into a new cell, then use
TRIM()to clean text. Or, select the input cells, pressF2, thenEnterto re-enter the value. - Test with a simple case. Enter $100 principal, 10% annual rate, 1 compounding period per year, 1 year. FV should be $110. If not, recheck the formula syntax.
- Restart Excel. Rarely, calculation settings get stuck. Go to File > Options > Formulas, ensure Automatic is selected under Calculation options, then restart Excel.
Frequently Asked Questions
Does Excel handle continuous compounding?
Yes. Use the formula =B1*EXP(B2*B4), where EXP raises Euler’s number (e ≈ 2.71828) to the power of (rate × years). For $10,000 at 5% over 10 years, this gives $16,487.21—slightly higher than monthly compounding.
Can I include regular monthly contributions?
Absolutely. In the FV function, replace the 0 in the third argument with your payment amount (as a negative value). For example, =FV(0.05/12, 10*12, -100, -10000) adds $100 monthly contributions to the $10,000 principal.
Why is my FV result negative?
Excel follows cash flow convention: money you pay out (like investing) is negative, money you receive is positive. To fix it, either keep the principal as negative in the formula (-B1) or wrap the whole function with a minus sign: =-FV(...).
How do I change the compounding frequency later?
Just edit cell B3. If you change from 12 (monthly) to 4 (quarterly), all dependent cells update automatically because the formula references B3. No need to retype the entire equation.
Can I use this for loans or mortgages?
Not directly—loans involve amortization (principal reduction). Use the PMT function instead: =PMT(rate, nper, pv) to find monthly payments. Compound interest formulas apply to investments, not loan repayments.
Is there a built-in compound interest template?
Excel doesn’t include one by default, but you can create one once and reuse it. Save your configured workbook as a template (.xltx) in your Excel startup folder for instant access on new files.