How do you calculate the cash available for debt repayment?

In order to calculate the cash available for debt repayment, we will need to find cash flow before financing items (CFO + CFI), and then deduct any mandatory amortization (mandatory debt repayments). We also need to account for any cash we have on the balance sheet and our minimum cash balance.

Cash available for debt repayment = cash flow from operations + cash flow from investing – mandatory amortization + beginning cash balance – minimum cash balance