Calculate Compound Interest in Excel

Learn how to model compound interest in Excel using FV, per-period rate, and step-by-step schedules. Practical examples for saving, investing, and loan scenarios with formulas, tips, and checks.

XLS Library
XLS Library Team
·5 min read
Compound Interest in Excel - XLS Library
Photo by Edarvia Pixabay
Quick AnswerSteps

To calculate compound interest in Excel, use FV with per-period rate and total periods: =FV(r/n, n*t, 0, -P, 0). This computes the future value after t years with annual rate r, compounded n times per year. You can adapt for deposits by specifying payments or a running schedule.

What compound interest is and why Excel helps

Compound interest grows a balance not only on the original principal but also on previously earned interest. In Excel, you can model this with precision using the FV function and a small input table. According to XLS Library, practitioners who start with a clean, single-row model gain clarity quickly, and their scenarios become auditable. This section presents a reusable, beginner-friendly approach you can drop into any workbook and expand to monthly or yearly schedules.

Excel Formula
=FV(B2/B3, B3*B4, 0, -B1, 0)

Inputs and expectations:

  • B1 = Principal (P)
  • B2 = Annual rate (r) as a decimal (e.g., 0.05)
  • B3 = Compounds per year (n)
  • B4 = Years (t)

If inputs change, the future value updates automatically. This block focuses on a compact, reusable single-row model you can copy-paste and later extend into a multi-period schedule.

Core formulas for compound growth in Excel

In Excel, the fundamental tools for compound growth are FV (future value) and PV (present value). FV calculates how much you’ll have in the future given a per-period rate, a number of periods, and optional payments. PV does the reverse, helping you determine today’s necessary amount to reach a target future value. The examples below use a consistent layout where:

  • P (principal) is in B1
  • r is in B2 (as a decimal)
  • n is in B3
  • t is in B4
  • ratePer = r/n and nper = n*t
Excel Formula
# Future value with constant payments (0 payments per period) =FV(B2/B3, B3*B4, 0, -B1, 0) # Present value required today for a target future value FVtarget =PV(B2/B3, B3*B4, 0, -FV(B2/B3, B3*B4, 0, 0, 0), 0)

Notes:

  • The sign convention in FV/PV assumes cash inflows are negative (or use a negative PV).
  • If you contribute each period (deposits), replace the 0 in the pmt argument with the per-period payment (positive value).
  • Treat rate per period as the annual rate divided by compounding frequency (r/n).

For readers upgrading from simple interest checks, FV delivers precise compounding results and scales well as inputs change.

Adapting for monthly vs annual compounding

Whether you save monthly or annually, the same FV-based framework applies. The key is to convert the annual rate to a per-period rate and to count the total number of periods. For example, with a 6% annual rate, monthly compounding would use ratePer = 0.06/12 and periods = 12*t. The example below shows a direct calculation for a 5-year horizon with monthly compounding.

Excel Formula
P = 10000 # principal r = 0.06 # annual rate n = 12 # monthly compounding t = 5 # years =FV(r/n, n*t, 0, -P, 0)

What changes when you switch to monthly compounding?

  • The rate per period decreases (0.06/12).
  • The number of periods increases (12*5).
  • The resulting future value increases due to more frequent compounding, assuming the same annual rate.

Building a running balance schedule: per-period model

A practical way to inspect the impact of deposits and schedule timing is a per-period balance table. This section shows a simple 5-row example you can extend. The idea is to start with a starting balance, compute interest for the period, add any contribution, then carry the ending balance to the next period. This approach makes the effect of timing explicit and auditable.

Excel Formula
# Columns: Period | StartBal | Contribution | Interest | EndBal # Row 2 (Period 1) B2: =-P # StartBal D2: =B2*(r/n) # Interest for period 1 C2: =MonthlyDeposit # Periodic contribution E2: =B2 + D2 + C2 # EndBal for period 1 # Row 3 (Period 2) - carry EndBal to StartBal B3: =E2 D3: =B3*(r/n) C3: =MonthlyDeposit E3: =B3 + D3 + C3

As you copy the block down, Excel updates the references and builds a running balance line-by-line. This makes it easy to spot when a schedule deviates from expectations and to compare different deposit patterns or rate changes.

Handling irregular contributions and rate changes

Not all plans involve fixed deposits or constant rates. The recommended approach is to keep a separate column for each period's payment and a corresponding rate per period. You then compute the end balance period-by-period, so you can adjust for changes in payment size or rate. A common pattern is:

Excel Formula
# Assumptions: # - Period-specific deposits in C2:C13 # - Period-specific rates in R2:R13 # EndBal for period 1: E2 = B2 + B2*(R2) + C2 # EndBal for period 2: E3 = E2 + E2*(R3) + C3

This approach yields a highly flexible model that remains auditable when inputs change. If you need a single-number summary, you can still use FV with a single per-period rate and a single total period count, but for realism, a per-period schedule is preferred.

Taxes, fees, and real returns: adjusting the numbers

Taxes and fees reduce the net return on your compound interest. A simple adjustment is to tax the interest portion before adding it to the principal. In Excel, you can compute the tax on interest (I) using a tax rate T and subtract it from the end balance. This makes the model reflect real-world cash flows more accurately.

Excel Formula
# Tax on interest for the period TaxRate = $F$2 # Tax rate as decimal, e.g., 0.15 Interest = D2 # Interest for period 2 AfterTaxInterest = D2*(1-TaxRate) EndBalAfterTax = E2 - D2*TaxRate

You can propagate this approach across periods by replacing D2 with the period-specific interest and applying the tax in each period. This highlights how taxes alter the compounding advantage over longer horizons.

Practical scenarios: saving vs loan modeling and scenario analysis

Compound interest models enable quick scenario comparisons. For a savings scenario, you might compare different contributions and compounding frequencies to see how quickly funds grow. For loans, you'd invert the signs and use the same formulas to determine required payments. A side-by-side comparison helps you decide whether to increase monthly deposits, adjust the rate assumptions, or shorten the loan term. In both cases, the FV function remains your core tool, while a running balance table provides visibility into timing effects.

Advanced tips: tables, named ranges, and data validation for robust models

Turn your workbook into a robust tool by leveraging Excel Tables and named ranges. Convert inputs into a table and assign names like P, r, n, t to cells. This makes formulas portable and readable, especially when sharing with teammates. Add data validation to rate and period fields to catch incorrect inputs early, and consider using a separate sheet for inputs and a second sheet for calculations to avoid accidental edits. Finally, use a small test suite with known values to validate that formulas return the expected results when inputs change.

Steps

Estimated time: 15-25 minutes

  1. 1

    Set up inputs

    Create cells for P (principal), r (annual rate as decimal), n (compounds per year), and t (years). Format the rate as decimal (e.g., 0.05).

    Tip: Name inputs P, r, n, t to reduce errors.
  2. 2

    Compute per-period values

    Compute ratePer = r/n and totalPeriods = n*t in separate cells.

    Tip: Keep calculations modular to simplify changes.
  3. 3

    Apply FV for future value

    Enter =FV(ratePer, totalPeriods, 0, -P, 0) to obtain the future value.

    Tip: Respect the sign convention: PV is negative when money is invested.
  4. 4

    Add a running balance schedule

    Create a per-period table with StartBal, Interest, Contribution, and EndBal columns and fill down.

    Tip: Use EndBal of period N as StartBal of period N+1.
  5. 5

    Validate and extend

    Cross-check the final EndBal with an alternate method and extend inputs to test scenarios (monthly deposits, changing rates).

    Tip: Include a quick sanity check formula in a separate cell.
Pro Tip: Use named ranges to make formulas readable and portable.
Warning: Watch cash-flow signs: PV should be negative when money is invested.
Note: FV assumes end-of-period payments by default; adjust the 'type' argument as needed.

Prerequisites

Required

Keyboard Shortcuts

ActionShortcut
CopyCopy cell or rangeCtrl+C
PastePaste copied contentCtrl+V
Show formulasToggle formula view to audit formulasCtrl+`

People Also Ask

What is the difference between FV and PV when modeling compound interest?

FV calculates the future value given a rate, number of periods, and optional payments. PV determines the present value required today to reach a target future value. Both use rate and periods but differ in the cash-flow reference point.

FV gives you the future amount; PV tells you what you’d need today to reach that future amount.

Can I model continuous compounding in Excel?

Excel's FV does discrete compounding. To approximate continuous compounding, you can use P * EXP(r * t) with r as the annual rate and t as years, but this is an approximation.

Excel doesn’t have a built-in continuous compounding function; use the exponential formula for approximation.

How do I handle irregular deposits in the model?

Keep a separate column for each period's payment and compute end balances period-by-period. For precise totals, sum the contributions and apply per-period rates accordingly.

If deposits vary by period, use a per-period payment column and build the balance step by step.

Is there a way to keep the model dynamic as inputs change?

Yes. Use Excel Tables and named ranges so changing P, r, n, or t updates all dependent formulas automatically. A data table or structured references can help too.

Yes—convert inputs to a table and use named ranges so everything updates together.

What are common mistakes to avoid?

Mistakes include misplacing signs, misinterpreting rate per period versus annual rate, and forgetting compounding frequency. Always verify inputs with a quick manual check.

Watch sign conventions, rate units, and compounding frequency to avoid errors.

The Essentials

  • Use FV for compound interest in Excel
  • Convert annual rate to per-period rate using n
  • Use -P in FV to reflect cash inflow/outflow conventions
  • Model per-period schedules for running balances
  • Validate with multiple methods before relying on results

Related Articles