Skip to main content

Welcome to a Grasp lesson

Create a free account to keep studying and create your own study path.

Lesson 58

Revolving Credit Facility Modeling

Recommended resources

Hello! Welcome to your next lesson in the "Cash Flow and Working Capital Management" module.

In our last lesson, we learned how to calculate and interpret the Cash Conversion Cycle (CCC), a powerful metric for diagnosing a company's working capital efficiency. We saw how delays in selling inventory (DIO) or collecting from customers (DSO) can tie up significant amounts of cash. This raises a critical question for any FP&A analyst: what happens when your forecasts predict a cash shortfall? How does a company bridge the gap?

Today, we will answer that question. Your learning outcome is to model the mechanics of a revolving credit facility to manage projected cash surpluses and deficits. The "revolver" is the primary tool companies use to manage short-term liquidity needs, acting as a flexible funding source that ensures the business can meet its obligations even when cash flow is tight. Mastering this is essential for building a complete and realistic financial model.

1. What is a Revolving Credit Facility?

Think of a revolving credit facility, or "revolver," as a corporate credit card or a bank overdraft account. It's a line of credit that a company can draw upon as needed and repay as cash becomes available. Unlike a traditional term loan, which has a fixed repayment schedule, a revolver is flexible, making it ideal for managing the unpredictable ups and downs of working capital.

In financial modeling, the revolver serves a critical function: it's the "plug" that ensures a model remains balanced.

  • If the model projects a cash deficit (i.e., cash would otherwise fall below a required minimum), the company automatically draws on the revolver to cover the shortfall.
  • If the model projects a cash surplus, the company uses the excess cash to pay down any outstanding balance on the revolver.

This reading from Wall Street Prep provides a fantastic introduction to this concept.

Revolver Debt | Formula + Calculation Example

This article, 'Revolver Debt', clearly defines the revolver's role as a plug in a three-statement model and introduces its core mechanics.

Please read the first section, 'What is Revolver Debt?'. It explains how the revolver and cash work in tandem to handle projected cash deficits and surpluses.

The image below shows where a revolver typically fits within a company's overall debt structure in a financial model. It sits alongside other debt types like term loans but is used for short-term liquidity rather than long-term financing.

Debt Schedule Build with Revolving Credit Facility
A typical debt schedule in a financial model. Note the Revolving Credit Facility section, which includes items like 'Maximum Capacity' (the credit limit) and 'Unused Commitment Fee' (a fee paid on the portion of the credit line that is not being used), both important features of a real-world revolver.

2. The Core Logic: Calculating Drawdowns and Repayments

Modeling the revolver is all about a single, logical decision tree based on the company's cash position. Let's break it down step-by-step.

Step 1: Calculate the Cash Surplus or Shortfall

Before we can decide whether to draw or repay the revolver, we need to know how much cash the company has available before any new revolver activity. This is often called "Cash Available for Debt Service" or, more simply, the cash surplus/shortfall. The formula is:

\text{Cash Surplus/(Shortfall)} = \text{Beginning Cash} + \text{Cash Flow from Operations & Investing} - \text{Mandatory Debt Repayments} - \text{Minimum Cash Balance}
  • Beginning Cash: The cash balance at the start of the period.
  • Cash Flow from Operations & Investing: The cash generated or used by the core business before any financing activities.
  • Mandatory Debt Repayments: Scheduled principal payments on other loans (e.g., term loans). These must be paid before any optional revolver repayment.
  • Minimum Cash Balance: The safety buffer of cash the company wants to maintain on its balance sheet at all times.

A positive result is a surplus; a negative result is a shortfall.

Step 2: Apply the Revolver Logic

Now we apply the core logic:

  • If you have a cash shortfall (negative result from Step 1): You must borrow from the revolver to cover it. The amount you draw is the absolute value of the shortfall. This brings your cash balance back up to the minimum level.
  • If you have a cash surplus (positive result from Step 1): You use the surplus to repay any outstanding revolver balance. The repayment amount is the lesser of the cash surplus or the beginning revolver balance. You cannot repay more than you owe.

This logic ensures that you only borrow what you need and you pay down debt as soon as you can afford to.

The following resource from Breaking Into Wall Street is an excellent, detailed guide that walks through these formulas. It's set in the context of a Leveraged Buyout (LBO) model, but the mechanics for the revolver are universally applicable and represent best practices.

90-Minute LBO Model, Part 4: Debt Schedule (Revolver, ...

This guide, '90-Minute LBO Model, Part 4: Debt Schedule', provides an expert-level walkthrough of how to calculate the cash surplus/shortfall and then model the revolver drawdowns and repayments. This is a great example of the 'Ivy League quality' you're looking for.

Please read the section that begins around the [05:00] mark, starting from 'So, let's go up to the top and see what the basic logic is here first.' Read until you get to the 'cash flow sweep' section around [08:00]. Focus on: How the 'cash flow surplus or shortfall' is calculated. The formula and explanation for the 'revolver repayments or drawdowns.' The MIN function is key here for handling repayments correctly.


3. Building the Revolver Schedule in Excel

Now let's see how to translate this logic into a functioning Excel schedule. A typical revolver schedule will have the following lines:

  1. Beginning Balance
  2. Drawdowns / (Repayments)
  3. Ending Balance
  4. Interest Expense

The "Drawdowns / (Repayments)" line is where the magic happens. A common way to model this is with a formula using MIN and MAX:

Drawdowns = MAX(0, -Cash_Surplus_Shortfall)
Repayments = -MIN(Beginning_Revolver_Balance, MAX(0, Cash_Surplus_Shortfall))

The following video provides a practical, over-the-shoulder demonstration of building a full debt schedule, including the revolver.

3 Statement Financial Modeling - advanced debt schedule (Bonus lesson)

This video from Ezra Okon shows how these concepts are implemented in a detailed debt schedule. While it also covers bank loans and notes, our focus is on the revolver.

Please watch the following sections: Revolver Mechanics (11:16 - 14:22): Pay close attention to how the 'Draw down or a pay down' line is calculated. Note the logic used: if cash is negative, draw; if cash is positive, repay up to the opening balance. Also, notice the calculation for interest expense, which includes both a fee on the 'drawn amount' and the 'undrawn amount' (commitment fee). Integration (14:22 - 15:00): Observe how the closing balance of the revolver and its interest expense are summed up with other debt tranches to be linked back to the main financial statements.

Calculating Interest Expense and the Circularity Problem

Interest on the revolver is typically calculated on the average drawn balance during the period. However, this creates a circular reference in Excel:

Interest Expense → affects Net Income → affects Cash Flow → affects the Ending Debt Balance → affects the Average Debt Balance → which in turn affects Interest Expense.

While Excel can handle circular references with iterative calculations, a common best practice in financial modeling to avoid them is to calculate interest on the beginning-of-period balance. This is a simpler and more stable approach. As the Breaking Into Wall Street guide (resource LINK) notes, this is a standard technique to keep the model robust.

Test your understanding!

Let's model one year for a company. Use the following assumptions:

Item Value
Beginning Cash Balance $50M
Cash Flow from Operations $15M
Cash Flow from Investing (CapEx) ($30M)
Mandatory Term Loan Repayments $10M
Minimum Cash Balance $20M
Beginning Revolver Balance $40M
Revolver Interest Rate (on beg bal) 5.0%

Calculate the following:

  1. Cash Surplus / (Shortfall)
  2. Revolver Drawdown / (Repayment)
  3. Ending Revolver Balance
  4. Revolver Interest Expense for the period
Show answer
  1. Cash Surplus / (Shortfall):

    • Beginning Cash + CFO + CFI - Mandatory Repayments - Min Cash
    • $50M + $15M - $30M - $10M - $20M = -$5M
    • There is a $5M shortfall.
  2. Revolver Drawdown / (Repayment):

    • Since there is a $5M shortfall, the company must draw on the revolver to cover it.
    • The drawdown is $5M.
  3. Ending Revolver Balance:

    • Beginning Balance + Drawdown
    • $40M + $5M = $45M
    • The ending revolver balance is $45M.
  4. Revolver Interest Expense:

    • Beginning Revolver Balance * Interest Rate
    • $40M * 5.0% = $2M
    • The interest expense for the period is $2M.

4. A Key Real-World Constraint: The Borrowing Base

In the real world, a company cannot borrow an unlimited amount on its revolver. The credit limit is often determined by a "borrowing base," which is calculated as a percentage of the company's liquid assets, typically accounts receivable and inventory.

This links directly back to your knowledge of working capital! A typical borrowing base formula might be:

85% of eligible Accounts Receivable + 60% of eligible Inventory

This protects the lender; if the company defaults, the bank can seize and liquidate these assets to recover its money. For you as an analyst, it's a crucial constraint to include in a detailed model, as it can limit the company's ability to fund a cash shortfall.


Conclusion

You have now learned one of the most fundamental mechanisms in financial modeling. The revolver is the dynamic element that allows a model to respond to changing cash conditions automatically.

Key Takeaways:

  • The revolving credit facility is a flexible line of credit used to manage short-term cash surpluses and deficits.
  • In a model, it acts as a "plug": you draw on it when cash is short and repay it when you have a surplus.
  • The core logic hinges on calculating the cash surplus/shortfall relative to a minimum cash balance.
  • Formulas using MIN and MAX are standard for modeling the draw/repay logic in Excel.
  • Calculating interest on the beginning balance is a common way to avoid circular references.

Preview of the Next Lesson:
We've just modeled the flow of cash into and out of a key financing vehicle. In our next lesson, we'll focus on how to present these complex cash movements in a clear, intuitive way. We will learn to create cash waterfall charts to visualize the sources and uses of cash over a period, an essential skill for communicating your financial analysis to management and stakeholders.