All tools › Financial Calculators › Investment & Savings
Enter any four of N, I/Y, PV, PMT and FV and solve for the fifth. Money you pay out is negative.
A time value of money solver for N, I/Y, PV, PMT and FV
This finance calculator works like the five-key row on a financial calculator. You enter any four of the number of periods (N), the yearly interest rate (I/Y), the present value (PV), the payment per period (PMT) and the future value (FV), and it solves for the fifth.
Those five values cover many money questions: a loan payment, the time to reach a savings goal, the rate an investment earned, or what a future sum is worth today.
This is a planning estimate, not financial advice. Real loans and accounts have fees, taxes, rounding and changing rates that a five-value model leaves out.
The sign rule: money out is negative
The calculator uses the standard cash-flow convention. Money you pay out is typed as a negative number. Money you receive is positive.
| Situation | PV | PMT | FV |
|---|---|---|---|
| Loan you take out | Positive (you receive it) | Negative (you repay) | 0, or negative for a balloon |
| Savings you build | Negative (you deposit) | Negative (you deposit) | Positive (you get it back) |
The answer follows the same rule. A solved payment of −$500.95 means you pay $500.95 each period. If PV, PMT and FV all have the same sign, there is no sensible answer for N or I/Y, and the calculator says so.
How to use the finance calculator
- Pick the unknown under Solve for. Whatever is in that value’s own box is ignored.
- Fill in the other four: N: number of periods, I/Y: interest rate per year, PV: present value, PMT: payment per period and FV: future value. Type 0 for one that does not apply.
- Set Periods per year. With 12, N counts months and interest compounds monthly.
- Choose whether Payments are made at the end or the start of each period.
The equation behind it
All five values are tied together by one equation:
PV x (1 + i)^N + PMT x (1 + i x t) x ((1 + i)^N – 1) / i + FV = 0
- i is the rate per period: I/Y divided by 100 and by the periods per year.
- t is 0 for payments at the end of each period and 1 for payments at the start.
- When i is 0 the equation becomes PV + PMT x N + FV = 0.
FV, PV and PMT are found by rearranging the equation. N is found with logarithms. There is no formula for the rate, so I/Y is found by bisection: the calculator narrows a range again and again until the equation balances.
Worked examples
Three runs, each with 12 periods per year and payments at the end of the period:
| Question | Inputs | Answer |
|---|---|---|
| Payment on a $25,000 loan | Solve PMT; N 60, I/Y 7.5, PV 25000, FV 0 | PMT = −$500.95 |
| Rate earned by a savings plan | Solve I/Y; N 36, PV −5000, PMT −150, FV 12000 | I/Y = 6.4329% |
| Months to save $20,000 | Solve N; I/Y 5, PV 0, PMT −300, FV 20000 | N = 58.95 |
For the loan, the other rows show a rate per period of 0.625%, a total of the payments of −$30,056.92 and total interest of $5,056.92 paid. For the savings plan, the total interest row reads $1,600.00 earned: $12,000 back from $5,000 plus 36 deposits of $150.
Reading the result and the schedule
Total interest is the sum of PV, FV and all the payments; it is marked “earned” when you end up receiving more than you paid in and “paid” when you pay out more than you received.
The schedule table shows payments, interest and the running balance, period by period for up to 120 periods and in larger steps beyond that. The balance and interest are shown without a sign. When N is not a whole number, as in the 58.95 example, the schedule covers the whole periods only; the last part-period means a smaller final payment.
Limits
- Level payments only. Every payment is the same size and the rate never changes.
- Compounding matches the payment period. With 12 periods per year interest compounds monthly. Daily compounding with monthly payments is not modeled.
- Size limits. N can be up to 1,200 periods, and I/Y from −99% to 1,000%.
- One rate. Unusual cash flows can balance at more than one rate. The calculator returns the first one it finds, starting from zero.
Frequently asked questions
Why did I get a negative answer?
A negative result is money you pay out. For example, a loan with a positive PV gives a negative PMT because you repay it.
Should I choose end or start of period?
Loan payments normally fall at the end of each period. Rent, leases and deposits made at the beginning of a month are start-of-period payments.
Why does it say no interest rate fits?
Check the signs. At least one of PV, PMT and FV must be negative and one positive, or there is nothing for interest to connect.
Can N be a fraction?
Yes. When you solve for N the answer is often not whole, which means the last payment is smaller than the others.
Related calculators
- Present Value Calculator — a plain-language version for valuing future money today.
- Compound Interest Calculator — growth of a balance with a choice of compounding.
- Loan Calculator — a loan payment without any sign rules.
- Interest Rate Calculator — find the rate behind a loan payment.
