What it costs, what it earns, what is left after the bank.
Land already owned. Stamp duty, transfer fees, conveyancing, valuation and lender's mortgage insurance are left out.
Value is rent left before loan, divided by the cap rate.
Cash left each year goes back into the loan. Rent and costs stay as entered.