Keystroke Labs

IRR and NPV of a rental property on the HP 10bII+ (CFj, Nj, P/YR)

Set P/YR to 1 for yearly flows (1orangeP/YRPMT), enter each flow with CFj (repeats with orangeNjCFj, Nj), the rate in I/YR, then orangeNPVPRC (NPV) and orangeIRR/YRCST (IRR/YR): 11.20%.

Numbers checked on 2026-11-23Works on: HP 10bII+ (and the older 10bII)

On the HP 10bII+ each CFj stores the next cash flow, starting with CF0, and orangeNjCFj (Nj) says how many times the last one repeats. NPV (orangeNPVPRC) and IRR/YR (orangeIRR/YRCST) both use P/YR: IRR/YR is the rate per period times P/YR, and NPV divides I/YR by P/YR.

Example: a rental property held 5 years

You buy a property for 100,000. It brings 8,000 a year of net rent for 5 years, and you sell it for 120,000 at the end of year 5. What is the NPV at 10%, and the IRR?

StepKeysDisplay showsWhat it does
1orangeC ALLC0.00C ALL: clear TVM, cash flows and memory (P/YR is kept).
21orangeP/YRPMT1.00P/YR = 1: payments per year.
3100000+/−CFj-100,000.00CF0: the purchase, negative.
48000CFj8,000.00Net rent, year 1.
54orangeNjCFj4.00Nj: the 8,000 repeats for 4 years.
6128000CFj128,000.00Year 5: rent plus the sale (8,000 + 120,000).
710I/YR10.00The return you require.
8orangeNPVPRC4,836.85NPV.
9orangeIRR/YRCST11.20IRR/YR.

NPV = 4,836.85, IRR = 11.20% a year.

Got a different number?

These are the wrong results this example gives when one thing is off. Each one was produced by replaying the mistake on our engine.

You seeWhyFix
134.38P/YR was left at 12 (it survives C ALL): the calculator reads the flows as monthly and multiplies the IRR by 12.1orangeP/YRPMT before working with yearly flows.
17.21Nj was skipped: the 8,000 counts once and the sale lands in year 2.4orangeNjCFj right after the repeated flow.
no SolutionThe purchase was entered as positive: there is no sign change.100000+/−CFj.

Monthly cash flows

If the flows are monthly, keep P/YR at 12: IRR/YR is then the nominal yearly rate (monthly IRR × 12), and I/YR is a yearly rate.

Related

How we checked this page: every display above comes from replaying the keys on a tested engine, and the final answer is compared with an independent formula. How we check every answer.