Time value of money formula
The time value of money formula links five numbers: PV × (1 + i)N + PMT × [(1 + i)N − 1] ÷ i + FV = 0, where i is the rate per period. Given any four, the fifth is fixed. This is the equation behind the five TVM keys on a financial calculator, and it combines the lump-sum and annuity formulas from the OpenStax finance text.[1][2][3]
The equation equals zero because of the sign convention: money that leaves your pocket is negative and money that comes back is positive. Deposit $1,000 (PV = −1,000) and the account pays you back FV = +1,628.89 after 10 years at 5%. Borrow $200,000 (PV = +200,000) and you pay PMT = -1,199.10 each month.
How a TVM calculator solves each of the five keys
Each key answers a different everyday question. These examples are the calculator's presets and use 12 periods a year unless noted:
| Solve for | Question | Inputs | Answer |
|---|---|---|---|
| FV | What will my deposit grow to? | N 10, I/Y 5, PV −1,000, P/Y 1 | $1,628.89 |
| PMT | What is the monthly loan payment? | N 360, I/Y 6, PV 200,000, FV 0 | −$1,199.10 |
| PMT | How much a month to have $100,000 in 18 years? | N 216, I/Y 5, PV 0, FV 100,000 | −$286.37 |
| I/Y | What return doubles money in 10 years? | N 10, PV −1,000, FV 2,000, P/Y 1 | 7.177% |
| N | How long to repay $200,000 at $1,500 a month? | I/Y 6, PV 200,000, PMT −1,500, FV 0 | 220.3 months (18.4 years) |
| PV | What is $12,000 a year for 20 years worth today? | N 20, I/Y 4, PMT 12,000, P/Y 1 | −$163,083.92 |
Solving for the rate has no closed formula when there are payments, so the calculator searches for it (as a financial calculator does) and reports the annual rate and the effective annual rate (EAR). With 12 periods a year a 6% I/Y is an EAR of 6.168%.[4]
Payments at the beginning or the end (BGN vs END)
Payments at the beginning of each period (an annuity due, BGN on a calculator) earn one extra period of interest, so you need smaller payments for the same goal. Saving for $100,000 in 18 years at 5% takes $286.37 a month at the end of each month, but $285.18 at the start.[3] Rent and leases are usually paid at the beginning; loan payments and most deposits, at the end.
Common mistakesEntering every number as positive (the rate has no answer, because nothing is paid out), using years for N when payments are monthly, leaving P/Y at 12 for a yearly problem, and forgetting to switch BGN back to END.
Related calculators
For one question at a time with fewer inputs: the future value calculator, the present value calculator and the savings goal calculator. For uneven yearly cash flows use the NPV calculator, and to find the rate behind a loan payment, the interest rate calculator.
- Future value calculatorA lump sum and a series of payments, grown forward
- Present value calculatorWhat a future sum or payment stream is worth today
- NPV calculatorNet present value, IRR, MIRR and payback of yearly cash flows
- Savings goal calculatorMonthly deposit needed for a target, or time to reach it
All growth and time value calculators
- Rule of 72 calculatorDoubling time, and how far off the shortcut is
- CAGR calculatorCompound annual growth rate between two values
- Rate of return calculatorTotal, annualized and real return with dividends and fees
- Future value calculatorA lump sum and a series of payments, grown forward
- Present value calculatorWhat a future sum or payment stream is worth today
- NPV calculatorNet present value, IRR, MIRR and payback of yearly cash flows
- NPV formulaNet present value worked by hand, in Excel (NPV, XNPV) and for equal cash flows
- IRR calculatorInternal rate of return for yearly, monthly or dated cash flows, with XIRR and MIRR
- Dividend calculatorDividend income, yield and the capital an income goal needs
- DRIP calculatorDividends reinvested vs taken as cash, side by side
Frequently asked questions
What is the time value of money?
The idea that a dollar today is worth more than a dollar later, because today's dollar can earn interest in the meantime. The five-key formula turns that idea into numbers.
Why is the answer negative?
Because of the sign convention: a negative number is money you pay out. A $200,000 loan received (PV positive) is repaid with negative payments of −$1,199.10.
How do you solve for N in the time value of money?
N = ln[(PMT/i − FV) ÷ (PV + PMT/i)] ÷ ln(1 + i) for end-of-period payments. Repaying $200,000 at 6% with $1,500 a month takes 220.3 months.
What do P/Y and C/Y mean?
Payments per year and compounding periods per year. This calculator sets them equal, which matches most loans and savings plans; I/Y is the annual rate and i = I/Y ÷ P/Y.