Sub topic 19
Interest expense and circular references in models
This chapter assumes you have read the earlier chapters on the links between the statements. You should know how net income feeds retained earnings and operating cash flow, and how debt repayments appear in financing cash flow. You should also be able to follow a simple spreadsheet model.
Where the loop comes from
Interest expense sits on the income statement. The debt that creates it sits on the balance sheet. In a forecast the two can depend on each other.
Suppose interest is charged on the average of opening and closing debt. Closing debt depends on repayments. If repayments come from spare cash, they depend on cash flow from operations. Cash flow from operations starts with net income, and net income is reduced by interest. Interest therefore depends on itself.
No loop exists in a historical model, because every figure is already known. It appears only when you forecast closing debt from cash flow and charge interest on a balance that includes that closing debt.
Three ways to handle it
| Approach | How interest is calculated | Loop? | Trade-off |
|---|---|---|---|
| Opening balance | Rate × opening debt | No | Simple and stable. It overstates interest when debt falls during the year, and understates it when debt rises. |
| Average balance, iterated | Rate × average of opening and closing debt | Yes | More accurate. It needs iterative calculation or a solver. |
| Average balance, algebraic | Same as above, solved as an equation | No | Accurate and loop-free. The formula is harder to audit and breaks when you add features such as minimum payments. |
The spine example used the first approach: interest of 8 on opening debt of 100 at 8%. That is a reasonable default. Switch to averages only when debt changes enough to matter, for example in a leveraged buyout model with a cash sweep. A cash sweep is a rule that sends all cash above a minimum balance to repay debt.
Worked example: a cash sweep with average-balance interest
This example reuses the one-year model from earlier. Operating profit before interest is 100 (500 revenue, 380 cash operating costs, 20 depreciation). Receivables rise by 10, payables rise by 5, capex is 30, and dividends are 19. The tax rate is 25%.
Two assumptions are new. All cash above a minimum of 100 repays debt, and interest is 8% of average debt.
The code below iterates to a solution, checks it against the algebraic answer, and confirms that the balance sheet balances.
RATE, TAX = 0.08, 0.25
EBIT = 500 - 380 - 20 # operating profit before interest
DEP, CAPEX, DIV = 20, 30, 19
D_AR, D_AP = 10, 5 # increase in receivables, payables
OPEN_CASH, MIN_CASH, OPEN_DEBT = 100, 100, 100
def year(interest):
"""Return net income, cfo and debt repayment for a given interest figure."""
ni = (EBIT - interest) * (1 - TAX)
cfo = ni + DEP - D_AR + D_AP
sweep = OPEN_CASH + cfo - CAPEX - DIV - MIN_CASH
repay = max(0.0, min(OPEN_DEBT, sweep))
return ni, cfo, repay
# Iterate: start from interest on opening debt, then re-estimate.
interest = RATE * OPEN_DEBT
for i in range(1, 51):
ni, cfo, repay = year(interest)
closing_debt = OPEN_DEBT - repay
new_interest = RATE * (OPEN_DEBT + closing_debt) / 2
print(f"pass {i}: interest {interest:.6f} -> {new_interest:.6f}")
if abs(new_interest - interest) < 1e-9:
break
interest = new_interest
# Algebraic check: repay = base / (1 - slope)
base = year(RATE * OPEN_DEBT)[2] # repayment if interest used opening debt
slope = RATE / 2 * (1 - TAX) # extra repayment per unit of repayment
assert abs(repay - base / (1 - slope)) < 1e-6
# Build the closing balance sheet.
end_cash = OPEN_CASH + cfo - CAPEX - DIV - repay
assets = end_cash + (40 + D_AR) + (200 + CAPEX - DEP)
claims = (30 + D_AP) + closing_debt + 150 + (60 + ni - DIV)
print(f"interest {interest:.4f}, net income {ni:.4f}, repaid {repay:.4f}")
print(f"closing debt {closing_debt:.4f}, cash {end_cash:.1f}, assets {assets:.1f}")
assert abs(assets - claims) < 1e-6The result is interest of 6.5567, net income of 70.0825, and repayment of 36.0825. Closing debt is 63.9175, cash stays at the 100 minimum, and both sides of the balance sheet equal 360.
Each pass changes interest by only about 3% of the previous change. That factor is the slope in the code. The loop converges quickly because interest is a small fraction of the cash that drives repayment. The loop only matters in practice when rates, leverage, or sweep percentages are large.
Working with circularity in a spreadsheet
Spreadsheets reject circular references by default. To keep the loop, enable iterative calculation in the settings and set a maximum number of iterations (100 is typical) and a maximum change (0.001 or smaller). Then add safeguards:
- A circuit breaker. Add a switch cell, for example
Circ = 1. Calculate interest asIF(Circ=1, rate × average debt, rate × opening debt). Setting the switch to 0 breaks the loop. - A visible balance check. The model should show the check from the balance-check chapter at all times. An unconverged loop shows up as a small non-zero difference.
- Documentation. Note which cells are in the loop, so a reviewer does not mistake it for an error.
Failure modes
- Divergence. If each pass changes the result by more than the previous pass did, the iteration never settles. This usually points to a logic error, such as interest being added to the debt balance in the same period without a limit.
- Silent non-convergence. A spreadsheet stops after its maximum number of iterations without warning you. The balance check is how you find out.
- Interest on cash. Interest income on average cash creates a second loop through the same mechanism. Treat it the same way.
- Revolver limits. A revolving credit facility (a borrowing line that is drawn when cash is short) adds
MINandMAXlogic. This creates kinks where the loop behaves differently below and above the limit, and the algebraic solution no longer applies. - Mismatched tax. If interest is deductible in the model but the tax line uses a different profit figure, the loop still converges, but to the wrong answer.
Exercise
In the example, suppose the rate rises to 12% and everything else stays the same. Will the iteration still converge? Explain using the slope, and say what interest would be if you used opening debt only.
Show answer
The slope becomes 0.12 / 2 × (1 − 0.25) = 0.045, which is well below 1, so each pass shrinks the change by about 4.5% and the iteration converges. With opening debt only, interest is 0.12 × 100 = 12 and no loop exists.
Exercise
Why does using opening-balance interest remove the circular reference, even though debt repayment still depends on net income?
Show answer
Opening debt is last period's closing balance, which is already known. Interest then depends only on a fixed number, so net income, cash flow, and repayment can be calculated in one forward pass, and the new closing debt only affects next year's interest.