To calculate the cash flow, you compare your income with your expenses. If you have more income than expenses, you have a surplus. i.e. your cash flow is positive.
The goal when buying a property is that your income - the rent - is higher than your monthly installment (the interest and the repayment). So that you have money left over.