NPV, IRR, MIRR and payback — a TI-84 Plus CE program
NPVIRR is a TI-BASIC program for the TI-84 Plus CE. Type the cash flows from year 0 (the cost, negative) on: net present value at your discount rate, internal rate of return, modified IRR, profitability index and payback period, with a warning when the flows change sign more than once.
What it asks for and what it shows
It asks for 3 values at its prompts. In the example below it shows NPV, MIRR %, PI, IRR %, PAYBACK.
Example run
One of its oracle test cases: “textbook project, 10%”. The inputs are typed in order, and the results are the values the case expects on the screen.
| Step | Value |
|---|---|
| You enter | |
| Input 1 | {⁻1000,300,400,500,200} |
| Input 2 | 10 |
| Input 3 | 10 |
| The screen shows | |
NPV= | 115.57 |
MIRR %= | 13.04893895 |
PI= | 1.115565877 |
IRR %= | 15.32213788 |
PAYBACK= | 2.6 |
How it's checked
5 test cases, each checked against an independent method. Replayed key by key on a virtual TI-84 Plus CE, they make 32 checks.
How E-Code checks every program
Run it or put it on your calculator
- Open the library in the TI-84 Plus CE calculator and pick “NPV, IRR, MIRR and payback” (NPVIRR).
- Put it on your own calculator with a computer and a USB cable, or type it in by hand.
Related programs
- Depreciation schedule: SL, 200% DB, SYD
- Compound interest calculator
- Loan amortization with extra payments
- Time value of money solver (N, I%, PV, PMT, FV)
- Compare two loans (APR with fees)
All TI-84 Plus CE finance programs · All TI-84 Plus CE programs