Formulas
NOI = income − operating expenses
Cap rate = NOI ÷ purchase price
Cash flow = NOI − mortgage payments − capital improvements
Cash-on-cash = cash flow ÷ (down payment + closing + rehab)The mortgage is financing, not an operating expense, so it stays out of NOI. The full worked example walks through a real duplex. Not investment advice.