Sub topic 6
Cash available for debt repayment and the minimum cash balance
This chapter assumes you can build a balance roll-forward, compute interest on a balance, and read the three statements. It covers the waterfall that decides how much cash a model can use to repay debt. The waterfall sits between the mandatory repayment schedule and the cash sweep and revolver, which later chapters build on it.
What the waterfall answers
A debt schedule needs one number each period: how much cash is left to repay debt after the business has met its other needs. This number is called cash available for debt repayment (CADR). If it is positive, the model can repay optional debt. If it is negative, the model has a shortfall, and the revolver must cover it.
The waterfall has four parts:
- Cash at the start of the period.
- Cash flow generated before any debt movement.
- The minimum cash balance the company must keep.
- Mandatory debt repayments, which are owed regardless of cash.
The minimum cash balance
The minimum cash balance is the least cash the company keeps on hand to run its operations. It covers payroll, supplier payments, and timing gaps between receipts and payments. It can be a fixed amount, a percentage of revenue, or a number of days of operating costs.
The model treats this cash as unavailable for debt repayment. Without it, a cash sweep would use every dollar to repay debt, and the balance sheet would show zero cash. No real business operates that way.
A minimum cash balance can also be a covenant or a lender requirement. In that case it is a contractual floor, not a modeling choice.
Defining the cash flow before debt movement
The cash flow that enters the waterfall must be measured before any optional repayment or revolver movement. This is the main source of errors. If you include the revolver draw in the cash flow and then use that cash flow to decide the draw, the model refers to itself.
A common definition is:
- Cash flow from operations (after interest expense).
- Plus cash flow from investing (capital expenditure, acquisitions, disposals).
- Plus financing flows that are not part of the debt schedule, such as dividends paid (negative) or equity issued (positive).
- Excluding mandatory repayments, optional repayments, and revolver movements.
Mandatory repayments are then deducted as a separate line, so the waterfall shows them clearly.
| Line | Treatment in the waterfall |
|---|---|
| Opening cash | Included |
| Cash flow from operations | Included |
| Capital expenditure and other investing | Included |
| Dividends and equity issuance | Included |
| Mandatory repayments | Deducted as a separate line |
| Minimum cash balance | Deducted |
| Optional repayments and sweep | Excluded, because they are the result |
| Revolver draws and repayments | Excluded, because they are the result |
The formula
Cash available for debt repayment is:
CADR = opening cash + cash flow before debt movement − mandatory repayments − minimum cash
Here, "cash flow before debt movement" is the sum of operating, investing, and non-debt financing flows described above.
Use these sign conventions. Inflows are positive. Outflows, such as capital expenditure and repayments, are positive numbers that you subtract in the waterfall. Whatever convention you choose, apply it to every row.
The result has two interpretations:
- CADR above zero: the company has surplus cash. It can repay optional debt or build cash.
- CADR below zero: the company cannot meet its mandatory payments and keep minimum cash. The revolver must draw the shortfall, up to the undrawn commitment.
A worked example
A company starts the year with 50 of cash. It must keep 20. Before debt movements, its cash flow is −80. It has no mandatory repayments this year.
CADR = 50 + (−80) − 0 − 20 = −50
The company is 50 short of its minimum cash. The revolver draws 50, and closing cash is 20.
The second year starts with 20 of cash. Cash flow before debt movement is +30. The company has no mandatory repayments, a minimum cash of 20, and 50 drawn on the revolver.
CADR = 20 + 30 − 0 − 20 = 30
The company has 30 of surplus cash. It repays 30 of the revolver, leaving 20 drawn. Closing cash is 20.
These two years match the two calls in the revolver function from the topic plan. The code below shows the waterfall as a function you can reuse.
def cash_available_for_debt_repayment(cash_open, cash_flow_pre_debt,
mandatory_repayment, min_cash):
"""Return cash available after mandatory repayments and minimum cash.
A negative result is a shortfall that the revolver must fund.
"""
return cash_open + cash_flow_pre_debt - mandatory_repayment - min_cash
years = [
# (opening cash, cash flow before debt, mandatory repayment, minimum cash)
(50, -80, 0, 20),
(20, 30, 0, 20),
(20, 100, 40, 20),
]
for cash_open, cash_flow, mandatory, min_cash in years:
cadr = cash_available_for_debt_repayment(cash_open, cash_flow,
mandatory, min_cash)
label = "surplus" if cadr >= 0 else "shortfall"
print(f"CADR = {cadr:>5.1f} ({label})")The output is:
CADR = -50.0 (shortfall)
CADR = 30.0 (surplus)
CADR = 40.0 (surplus)How the waterfall feeds the next steps
CADR is the input to two later mechanisms. They use opposite halves of the number.
When CADR is negative, the revolver draws the absolute value, limited by the undrawn commitment. When CADR is positive, the revolver is usually repaid first because it is the most flexible and often the cheapest to repay. Any remainder goes to the optional repayment of term debt through the sweep. The next chapters build each of those steps.
Edge cases and common errors
The revolver is fully drawn
If the shortfall is larger than the undrawn commitment, the revolver cannot cover it. Cash then falls below the minimum, and closing cash may be negative. A negative cash balance is a signal that the company has a liquidity problem. Do not hide it with a formula that floors cash at zero. Add a check row that flags any period where closing cash is below the minimum.
Mandatory repayments exceed available cash
Mandatory repayments are owed whether or not cash is available. The model should never reduce them because cash is short. The shortfall instead flows to the revolver, and if the revolver is exhausted, the check row should flag the breach.
Using closing cash as the starting point
Opening cash must be the prior period's closing cash. If you use a closing balance from the same period, the waterfall depends on its own result. This creates a circular reference unrelated to interest.
Putting the sweep inside the cash flow
If the cash flow in the waterfall already includes the sweep, CADR will understate the surplus after the sweep takes effect, and the sweep will oscillate or fail to settle. Keep the waterfall cash flow free of any movement that the waterfall itself decides.
Interest links back to the waterfall
Cash flow from operations is measured after interest, and interest can depend on the average debt balance. Average-balance interest therefore makes CADR depend on the sweep, which depends on CADR. This is the interest circularity covered in a later chapter. In this chapter, calculate interest on the opening balance so the waterfall has no loop.
A minimum cash that varies by period
If minimum cash is a percentage of revenue, calculate it in its own row for each period. Then reference that row in the waterfall. Do not hard-code a single number across all periods when the business grows.
Putting it together in a spreadsheet layout
A clear layout keeps the waterfall readable. Use one row per item and one column per period.
| Row | Formula idea |
|---|---|
| Opening cash | Prior period closing cash |
| Cash flow before debt movement | Operating plus investing plus non-debt financing |
| Mandatory repayments | From the mandatory repayment schedule, as a positive number |
| Minimum cash | Fixed amount or percentage of revenue |
| Cash available for debt repayment | Opening cash plus cash flow, less mandatory repayments, less minimum cash |
| Shortfall to fund | The larger of zero and the negative of CADR |
| Surplus available to repay | The larger of zero and CADR |
The last two rows split CADR into the two halves that the revolver and the sweep use. In a spreadsheet, the shortfall is =MAX(0, -CADR) and the surplus is =MAX(0, CADR). Each row is zero when the other is positive, which makes the logic easy to audit.
Exercise
A company opens the year with 35 of cash and must keep a minimum of 25. Its cash flow before any debt movement is +60. It owes a mandatory repayment of 45. The revolver has a drawn balance of 10. (a) Calculate cash available for debt repayment. (b) Say what happens next, and give closing cash if the revolver is repaid first.
Show answer
(a) CADR = 35 + 60 − 45 − 25 = 25. This is a surplus. (b) The company repays the drawn revolver of 10 first, using 10 of the 25 surplus. The remaining 15 is available for the cash sweep on term debt, or stays as cash if there is no sweep. With no sweep, closing cash is 35 + 60 − 45 − 10 = 40, which is the minimum of 25 plus the unused surplus of 15.
Exercise
Why must the cash flow used in the waterfall exclude revolver draws and the cash sweep?
Show answer
Those movements are decided by the waterfall's result. If they are included in the input, the result depends on itself, which creates a circular reference and can hide a real shortfall behind a draw that the model has already counted as cash.