The formula
NOI = gross annual rent - vacancy - operating costs
annual debt service = 12 months of principal + interest
Net operating income is what the property earns after running costs but before the loan payment. Divide that by what the loan costs per year. The result is how many times over the property can cover its own debt.