Sub topic 3
Choosing a day-count basis and ending versus average balances
Every days metric rests on two choices. The first is how many days a year has. The second is which balance sheet figure goes into the calculation. Neither choice is wrong in itself, but mixing them across history and forecast is wrong. It produces a working capital schedule whose cash flow is off even when every formula looks fine.
This chapter assumes you can read an income statement and balance sheet, and that you know the basic formula days = balance / flow × days in period. The next three chapters apply these choices to receivables, inventory, and payables.
Why the choice matters
A days metric converts a balance (a snapshot at a date) into a duration, using a flow (revenue or cost of goods sold over a period). Two details change the answer:
- The day-count basis is the number you multiply by. It is usually 365, sometimes 360, 366, or 252.
- The balance type is the balance you divide by. It is either the ending balance, or the average of the opening and ending balances.
If you compute historical days one way and forecast balances another way, the forecast starts from an inconsistent anchor. You then report a change in working capital that comes from the method change, not from the business.
Choosing a day-count basis
| Basis | Typical use | Notes |
|---|---|---|
| 365 | Most corporate models | Simple, matches the calendar. Default choice. |
| 366 | Leap years, if you want precision | Rarely worth the added complexity. |
| 360 | Banking and money-market conventions, some company policies | Makes each day's share of the year larger, so days come out slightly lower. |
| 252 | Trading-day conventions | Fits flows that only occur on business days. Rare for working capital. |
| 90 or 91 | Quarterly models | Flow must be the quarter's flow, not the annual figure. |
The rule is to pick one basis and apply it in every formula, both when you compute historical days and when you forecast balances. The balance you forecast from a days driver is:
balance = flow × days / basis
If you computed DSO with 360 and forecast receivables with 365, receivables come out about 1.4% too high (365/360 = 1.014) even though DSO is unchanged. On 110 of receivables that is 1.5 of phantom cash absorbed, every year.
Choosing in practice
Use 365 unless you have a reason not to. Reasons to deviate include:
- The company or its lenders report days on 360, and you need to match their covenant definitions.
- You model quarters. Use the actual days in the quarter (for example 91) with the quarter's own revenue. Alternatively, annualize the quarterly flow and keep 365. Do not divide a quarterly balance by annual revenue and multiply by 91.
Put the basis in a single input cell or variable and reference it everywhere. A hard-coded 365 inside a dozen formulas is how a basis gets changed in half of them.
Ending versus average balances
An ending balance is the balance at the period's close. An average balance is (opening + ending) / 2.
The argument for the average is that the flow (revenue) accumulates over the whole year, while an ending balance is a single date. If the business grew fast, or has a seasonal peak at year end, the ending balance is not representative of the year's level of receivables.
The argument for the ending balance is practical:
- It needs only one balance sheet.
- It matches how the forecast works, because the forecast produces the ending balance directly.
- It is what the balance sheet will show, so there is nothing to convert.
A worked comparison
A company has revenue of 1000. Receivables were 100 at the start of the year and 140 at the end. The code computes DSO both ways on both bases.
def dso(receivables, revenue, days=365):
return receivables / revenue * days
revenue = 1000.0
ar_begin, ar_end = 100.0, 140.0
ar_average = (ar_begin + ar_end) / 2
for days in (365, 360):
ending = dso(ar_end, revenue, days)
average = dso(ar_average, revenue, days)
print(f"{days} days: ending {ending:.1f}, average {average:.1f}")The output is:
365 days: ending 51.1More precisely, it prints two lines:
365 days: ending 51.1, average 43.8360 days: ending 50.4, average 43.2
The balance type moves DSO by 7 days here, because receivables grew 40% during the year. The basis moves it by under 1 day. For a fast-growing company, the balance type is the larger decision.
Both numbers are defensible, but they answer different questions. The ending figure says how many days of sales are outstanding at the close. The average figure says how many days of sales were outstanding during the year, on average.
Forecasting with each method
The balance type determines how you turn a days driver back into a balance.
With ending balances, the forecast is direct:
ending balance = flow × days / basis
With average balances, the days driver describes the average, so you must solve for the ending balance:
average = flow × days / basis ending = 2 × average − opening
This is where average balances cause trouble. The ending balance depends on the opening balance, and errors in the opening balance get amplified instead of damped. The code below holds revenue flat at 1000 and DSO at 45 days on the average basis, starting from opening receivables of 100.
def ending_from_average(begin, revenue, dso, days=365):
target_average = revenue * dso / days
return 2 * target_average - begin
begin = 100.0
for year in range(1, 5):
end = ending_from_average(begin, 1000.0, 45)
print(f"Year {year}: opening {begin:.1f}, ending {end:.1f}")
begin = endThe output is:
- Year 1: opening 100.0, ending 146.6
- Year 2: opening 146.6, ending 100.0
- Year 3: opening 100.0, ending 146.6
- Year 4: opening 146.6, ending 100.0
The target average is 123.3 every year, but the ending balance swings between 100.0 and 146.6. Each swing creates a cash inflow or outflow of 46.6 that has nothing to do with the business. With the ending method, receivables would sit at 123.3 every year and the cash effect would be zero after year 1.
In other words, the average method inherits an oscillation from any gap between the opening balance and the target average. If the opening balance is more than twice the target average, the ending balance goes negative, which is impossible.
A decision rule
For a forecast schedule, use ending balances throughout. Average balances are reasonable for analysis, such as comparing a company with a peer or reading a year of rapid growth. If you want to use them in the forecast, convert them to ending-balance days first. That conversion is simply recomputing history with ending balances.
When to prefer the average
Average balances are worth the extra work in two cases:
- Fast growth or shrinkage. An ending balance after a 40% growth year overstates how many days of sales were tied up during the year.
- Strong seasonality. If the year-end date falls on a seasonal peak or trough, the ending balance misrepresents the typical year.
In both cases, still forecast with ending balances. Use the average-based figure to judge whether the ending-balance driver is a fair assumption, and adjust the driver if it is not.
First-year and data issues
Average balances need a prior balance sheet. For the first historical year you may have no opening balance, so you cannot compute the average and must use the ending method for that year or drop the year. This is another reason ending balances are the default: every historical year can be computed on the same terms.
Also check that the opening balance for the first forecast year is the last historical ending balance. A stray restated figure there creates a one-time cash flow effect that has no business cause.
Common errors
- Different bases in history and forecast. Computing with 360 and forecasting with 365, or the reverse.
- Annual flow over a quarterly period. Using annual revenue with a 91-day period understates days fourfold.
- Averages on one side only. Using an average balance for receivables and an ending balance for payables, then combining them into a cash conversion cycle.
- Average-basis days as an ending driver. The mistake in the warning above.
- A hard-coded 365. Changing the basis in one place does not update the others.
Exercise
A company has revenue of 2,400, opening receivables of 200, and ending receivables of 260. Compute DSO on a 365-day basis using (a) the ending balance and (b) the average balance. Then state which one you would use as the driver in a forecast that produces ending balances, and why.
Show answer
(a) Ending: 260 / 2,400 × 365 = 39.5 days. (b) Average: (200 + 260) / 2 = 230, and 230 / 2,400 × 365 = 35.0 days. Use the ending-balance figure (39.5) as the driver. The forecast calculates ending balances as revenue × days / 365, so the driver must be measured the same way. The average figure is lower because receivables grew during the year, and applying it to an ending balance would understate receivables and overstate cash flow.
Exercise
A model computes historical DIO on a 360-day basis but forecasts inventory as COGS × DIO / 365. With COGS of 540 and DIO of 60, how much does inventory differ from the value implied on a 360-day basis, and in which direction?
Show answer
On 360 days, inventory = 540 × 60 / 360 = 90.0. On 365 days, inventory = 540 × 60 / 365 = 88.8. Inventory is 1.2 lower (about 1.4%) than the historical basis implies, so the model understates inventory and overstates cash flow. The fix is to use the same basis in both places.