Sub topic 9
Optional Repayment and the Cash Sweep
Prerequisites and purpose
This chapter assumes you can read a debt roll-forward, separate principal from interest, and follow basic cash flow statements. A cash sweep is an optional debt repayment that uses excess cash to reduce eligible debt. It differs from mandatory repayment because the model makes it only after required payments and the minimum cash balance are protected.
A sweep usually reduces interest expense and leverage. However, it can also reduce liquidity. The model therefore needs clear limits and a defined repayment order.
Build the cash available waterfall
Start with cash before optional debt repayment. This amount should include operating cash flow, investing cash flow, mandatory principal payments, and other financing movements that occur earlier in the waterfall.
A simple calculation is:
Cash available for repayment = opening cash + cash flow before optional repayment − minimum cash balance
If the result is negative, the company cannot make an optional repayment. It may need to draw on a revolver instead.
The sweep amount is usually:
Sweep repayment = minimum of:
- Cash available for repayment, floored at zero
- Eligible debt outstanding
- The percentage of excess cash allowed by the loan agreement
For example, a 50% sweep sends only half of excess cash to debt repayment. Some agreements use 100%, while others reduce the percentage when leverage falls below specified thresholds.
| Item | Amount |
|---|---|
| Opening cash | 40 |
| Cash flow before optional repayment | 35 |
| Minimum cash balance | 25 |
| Cash available | 50 |
| Eligible debt outstanding | 120 |
| Sweep percentage | 50% |
| Optional repayment | 25 |
The company retains 25 of excess cash because the agreement allows only half of the 50 available for repayment.
def cash_sweep(opening_cash, cash_before_sweep, min_cash,
eligible_debt, sweep_percent):
excess_cash = max(0.0, opening_cash + cash_before_sweep - min_cash)
allowed_sweep = excess_cash * sweep_percent
repayment = min(allowed_sweep, eligible_debt)
closing_cash = opening_cash + cash_before_sweep - repayment
closing_debt = eligible_debt - repayment
return repayment, closing_cash, closing_debt
repayment, cash, debt = cash_sweep(40, 35, 25, 120, 0.50)
print(repayment, cash, debt)
# 25.0 50.0 95.0Protect liquidity and repayment order
The minimum cash balance is a policy assumption, not a mathematical constant. It should reflect payroll, working-capital swings, taxes, and other near-term needs. A sweep that leaves the business unable to meet those obligations is incorrectly designed.
When several debt tranches exist, apply the sweep according to the legal repayment order. A common order is:
- Revolver repayment
- Senior secured term debt
- Other permitted debt
Do not repay a junior tranche while a senior facility remains outstanding unless the financing documents permit it. Also keep the repayment separate from mandatory principal so that the model can show both contractual and discretionary debt reduction.
Cash sweep flow
Common errors
- Calculating the sweep from EBITDA instead of actual cash available.
- Forgetting mandatory principal before testing excess cash.
- Sweeping cash below the minimum balance.
- Applying the sweep to debt that is not contractually eligible.
- Mixing optional repayment with the revolver draw calculation.
- Allowing repayment to exceed the debt balance.
Exercise
Opening cash is 30, cash before optional repayment is 10, the minimum cash balance is 25, eligible debt is 100, and the sweep percentage is 75%. What is the optional repayment?
Show answer
Excess cash is 30 + 10 − 25 = 15. The permitted sweep is 15 × 75% = 11.25, so the optional repayment is 11.25.