Compound InterestFVRATENPERPVSavings

Compound Interest Calculator

Use a compound interest calculator to project any balance in Excel or Google Sheets. Build it with FV, RATE, NPER and PV, then try the live calculator.

Introduction

Compound interest is the reason a small monthly deposit beats a large one-off payment made ten years later. This guide builds a working compound interest calculator in Excel or Google Sheets using four financial functions - FV, RATE, NPER and PV - and uses the live calculator below to check the numbers as you go. Every figure here was verified against a spread of real deposit schedules.

Prerequisites

  • Ability to enter a formula and reference a cell
  • Comfort with percentages entered as 5% or 0.05
  • Excel 2010 or later, or any version of Google Sheets

1Simple vs Compound Interest: The Only Comparison That Matters

Simple interest pays a fixed amount each year on your original deposit. Compound interest pays interest on the interest, so the balance accelerates the longer you leave it alone. The gap is almost invisible in year one and overwhelming in year twenty, which is exactly why a compound interest calculator is worth building rather than estimating in your head.

1

Give the model four inputs

Put rate, years, starting balance and monthly deposit in their own cells (say B2:B5) and point every formula at them. Then you can re-run the whole projection by editing one number instead of rewriting formulas.

=FV($B$2, $B$3, 0, $B$4)
2

Reproduce simple interest for contrast

Principal multiplied by one plus rate times years. Comparing the two side by side is the clearest demonstration of what compounding actually buys you.

=10000*(1+5%*10)
3

Convert years into periods

Annual compounding over ten years is 10 periods, but monthly compounding is 120. The period count must always match the clock of the rate, so compute it rather than typing it.

=$B$3*12

Example

=FV(5%, 10, 0, -10000)
Result: $16,288.95

FV compounds $10,000 at 5% for ten years. The equivalent simple-interest total is $15,000, so compounding adds $1,288.95 without a single extra dollar being deposited. Note the negative present value: FV follows the cash-flow sign convention where money paid in is negative.

Enter the rate once as a percentage and divide it by the compounding frequency inside the formula - never retype a rounded decimal like 0.0042.

FV, PV, RATE and NPER all use the same sign convention in Excel and Google Sheets, so a formula you write in one works unchanged in the other.

2FV: The Engine of Every Compound Interest Calculator

FV returns the future value of an investment with a constant rate and constant payments. Its signature is FV(rate, nper, pmt, [pv], [type]). The argument that catches people out is the sign convention: money you pay in is negative, money you receive back is positive. Mix the signs and you get a number that is wrong by the entire balance, not by a rounding error.

1

Put the rate and the periods on the same clock

Divide the annual rate by the frequency and multiply the years by the same frequency. Two divisions and one multiplication, and the whole class of compounding-frequency mistakes disappears.

=FV($B$2/12, $B$3*12, 0, $B$4)
2

Leave pmt at zero for a lump sum only

With a single starting deposit there are no periodic payments, so the third argument is 0. This is the purest form of the compound interest calculation.

=FV(5%/12, 120, 0, -10000)
3

Flip the sign to sanity-check

Flipping the present value to positive returns a negative future value of the same size. If the magnitude changes, something else is wrong in the formula.

=FV(5%/12, 120, 0, 10000)

Example

=FV(5%/12, 120, 0, -10000)
Result: $16,470.09

The same $10,000 at 5% over ten years, but compounded monthly: 5%/12 as the periodic rate and 120 as the period count. Simply switching the compounding frequency from annual to monthly adds $181.14 ($16,470.09 versus $16,288.95).

If you prefer a positive result on screen, wrap the formula in ABS() - but keep the underlying signs negative so dependent formulas still work.

In Google Sheets the FV signature is identical: rate, number_of_periods, payment_amount, present_value, [end_or_beginning].

3Adding Monthly Contributions with the pmt Argument

Real savings plans add money every month, and that is where the third argument comes in. Keep pmt negative and each deposit grows the balance. The optional type argument decides when a deposit lands: 0 (the default) at the end of the period, 1 at the beginning. One extra period of interest on every single deposit is worth far more than it sounds over thirty years.

1

Move deposits to the start of the month

Change the type argument from 0 to 1. Every deposit then earns one extra period of interest, which is worth $64.70 over this ten-year plan - and much more over a longer horizon.

=FV(5%/12, 120, -100, -10000, 1)
2

Stretch the horizon

Ten years of $200 a month at 6% becomes 30 years of the same deposit. The deposits only triple, but the ending balance grows far faster than that because the later growth is compounding on earlier growth.

=FV(6%/12, 360, -200)
3

Separate contributions from growth

Track the two figures separately on your sheet. Knowing that $9,998 of a $31,998 balance is investment return is what keeps a savings habit going.

=120*100

Example

=FV(5%/12, 120, -100, -10000)
Result: $31,998.32

A $10,000 starting balance plus $100 a month for ten years at 5% compounded monthly. Of the $31,998 ending balance, $22,000 is money you contributed ($10,000 plus $12,000) and the remaining $9,998 is growth.

A negative pmt is a deposit; a positive pmt is a withdrawal. If your projection comes out smaller than your contributions, this sign is almost always the reason.

FV(6%/12, 360, -200) returns $200,903.01 on $72,000 of deposits - a useful number to keep next to any retirement projection.

4Use the Interactive Compound Interest Calculator

The calculator below applies exactly the FV math described above, without a spreadsheet. Enter a starting balance, an annual rate, a term in years and an optional monthly contribution; it returns the projected balance at the end of the term, assuming each contribution lands at the end of the month.

1

Match the calculator to the FV formula

The calculator converts the annual rate to a monthly rate and the term to months, then applies the same annuity formula FV uses. With 5% over 10 years it uses 0.4167% for 120 periods.

=FV(B2/12, B3*12, -B5, -B4)
2

Reconcile against your sheet

With $10,000, 5%, ten years and $100 a month, the calculator must return the same $31,998.32 as the formula. If it does not, one of your units is off.

=FV(5%/12, 120, -100, -10000)
3

Isolate pure compounding

Set the monthly contribution to 0 to see what the starting balance does on its own, then add contributions back to measure how much of the ending balance came from deposits.

=FV(5%/12, 120, 0, -10000)

Try 5% versus 7% over 30 years. A two-point rate change roughly doubles the ending balance, which is why the assumed return deserves more scrutiny than the deposit amount.

The calculator assumes end-of-period deposits (type = 0). Switch to a spreadsheet with type = 1 to model deposits made on the 1st of each month.

5Working Backwards: RATE, NPER and PV

The same functions answer the reverse questions, and these are what turn a calculator into a planning tool. RATE finds the return you actually earned, NPER tells you how long a goal will take, and PV works out what a future sum is worth in today's money. Each needs two or three of the cash-flow arguments plus the target value.

1

Find out how long a goal will take

With $10,000 already saved, $100 a month and a 5% return, NPER returns 63 months - about five years and three months - to reach a $20,000 target. The balance at that point is about $20,181.90, because the final contribution overshoots the goal slightly.

=NPER(5%/12, -100, -10000, 20000)
2

Value a future sum in today's money

PV discounts a stream of future payments back to the present. $100 a month for ten years at 5% is worth $9,428.14 today, which is the number to compare against a lump sum being offered instead.

=PV(5%/12, 120, -100)
3

Handle a RATE failure

If RATE returns #NUM!, add a guess as the sixth argument. Excel gives up after a fixed number of iterations, while Google Sheets allows more, so a formula that fails in one application often converges in the other.

=RATE(120, -100, -10000, 31998.32, 0, 0.004)*12

Example

=RATE(120, -100, -10000, 31998.32)*12
Result: 5.00%

Given a $10,000 start, $100 a month for 120 months and an ending balance of $31,998.32, RATE recovers the monthly rate of 0.4167%, and multiplying by 12 gives the nominal annual rate of 5%. RATE solves by iteration, so it needs the number of periods, the payment and the present value before it can work.

Always multiply a RATE result by the compounding frequency to report an annual figure - a monthly rate of 0.4167% is a nominal 5%, not 0.42%.

NPER and RATE are identical in Excel and Google Sheets, including the order of their optional guess arguments.

Interactive Calculator

Project the future value of a savings balance. Enter a starting amount, an annual interest rate, a term in years and an optional monthly contribution.

Future value:

Functions Used

Related Guides

Summary

A compound interest calculator is four financial functions and one habit: keep the rate and the period count on the same clock. FV projects a balance forward from a lump sum plus optional monthly deposits, RATE recovers the return you actually earned, NPER tells you how many months a goal needs, and PV translates a future stream of payments into today's money. All four share identical syntax and sign conventions in Excel and Google Sheets, and every figure in this guide was verified against a real deposit schedule.

Next Steps

  • Build the four-cell input block and point FV, RATE, NPER and PV at it so the whole model re-runs from one number
  • Compare a 10-year and a 30-year horizon with the same deposit to see how much of the ending balance is compounding rather than contributions
  • Read the FV function reference for the full argument list, including the type argument for deposits made at the start of a period