
Web Scripts & Software
DEV3 PV, FV, NPV & Annuity Calculator — Source Code (React + Tailwind)
from $29
Live demoBusiness tool
Free, no sign-up. Runs in your browser; nothing is uploaded. Buy the source code: $29 Regular / $69 Extended
e.g. 120 months
e.g. 8
received = positive
Blank: this will be solved.
at the end
A negative payment means you pay it out. Total paid: 14,559.31.
Equation solved: PV x (1 + r)^N + PMT x (1 + r x type) x ((1 + r)^N - 1) / r + FV = 0, with r = I/Y / 100 / P/Y. Same as Excel PV, FV, PMT, NPER and RATE.
Method: Excel sign convention (money paid out is negative). RATE and IRR use Newton and bisection searches. Tested against known Excel results. A mathematical estimate; contracts may use other day counts or fees. Runs in your browser.
Need PV, FV, NPV & Annuity Calculator as a full app for your business? Your own branding, your own data, your own users. Built in about a week, from $99. Send your requirements or SOW; you get a fixed quote and a delivery date.
The pv, fv, npv & annuity calculator stays free to use online. If you want the code to run, edit and ship in your own project, get the full source from the DEV3 Marketplace. Instant download, 6 months of support.
Run the whole business in one ready-made app. Buy once, own the source, and try each one live first.

Web Scripts & Software
from $29
Live demo
Enterprise SaaS Starters
from $99
Live demo
Enterprise SaaS Starters
from $99
Live demo
Web Scripts & Software
from $99
Live demo
Web Scripts & Software Mobile app
from $99
Live demo
Web Scripts & Software
from $99
Live demo
Web Scripts & Software Mobile app
from $99
Live demo
Web Scripts & Software
from $99
Live demoFinance problems come down to the same five numbers: the number of periods (N), the interest rate (I/Y), the present value (PV), the payment (PMT) and the future value (FV). Give the calculator four and it solves the fifth. It then goes further with cash-flow analysis and annuities.
Enter N, the yearly rate, PV, PMT and FV, and leave one field blank. Choose how many periods per year (12 for monthly) and whether payments are at the end (ordinary) or the start (annuity due) of each period. The tool shows the formula and the steps. Use negative numbers for money you pay out.
For example, a 10,000 loan at 8% over 120 months leaves PMT blank and returns -121.33, the monthly payment, matching Excel's PMT(0.08/12,120,10000).
Paste cash flows, one per period, starting at period 0. You get:
Enter a payment, a rate and a number of periods for the present and future value of an ordinary annuity or annuity due. Add a growth rate for a growing annuity, and see the value of a perpetuity, PMT / r, or a growing perpetuity, PMT / (r - g).
Results are mathematical estimates. Real contracts may use different day counts, fees or compounding.
A sum of money today is worth more than the same sum later, because today's money can earn interest. Present value (PV) discounts future money back to today, and future value (FV) grows today's money forward. NPV, IRR and annuity values are built on the same idea.
The tool follows the Excel and financial-calculator convention: money you pay out is negative and money you receive is positive. A loan of 10,000 is a positive PV (you receive it) and the payments are negative. If you get "no solution", check the signs.
NPV is the value today of all cash flows at a discount rate you choose. A positive NPV means the project earns more than that rate. IRR is the discount rate that makes the NPV exactly zero, the project's own yearly return.
Excel's NPV function treats the first value as one period away. If your first cash flow happens today (period 0), you add it outside the function. This tool uses period 0 for the first flow and shows the Excel-style value too so you can compare.
An ordinary annuity pays at the end of each period. An annuity due pays at the start, so each payment earns one more period of interest and the value is (1 + r) times higher. Rent and insurance are often paid in advance.
Yes for PV, FV, PMT, NPER, RATE, NPV, IRR and MIRR with the same inputs. The tests compare the results with Excel's documented examples. Everything runs in your browser.