Operating Cycle: Formula, Example, and Benchmarks

The operating cycle formula is Operating Cycle = Days Inventory Outstanding (DIO) + Days Sales Outstanding (DSO). It tells you how many days pass between the moment a company spends cash on inventory and the moment it collects cash from the customer who bought that inventory. A business with a DIO of 60 days and a DSO of 40 days runs a 100-day operating cycle, meaning every dollar sunk into production takes roughly 100 days to come back as cash.

The Two Inputs

The formula has two moving parts, and each one measures a distinct stretch of the cash-to-cash timeline.

Days Inventory Outstanding

DIO tracks how long goods sit in a company’s possession before they sell. The clock starts when raw materials arrive and keeps running through manufacturing, warehousing, and shelf time. A lower DIO means product moves quickly. A climbing DIO can signal overproduction, softening demand, or supply chain problems causing materials to pile up before assembly even begins.

One nuance: the inventory line on a balance sheet typically blends raw materials, work-in-process, and finished goods. A manufacturer showing 90 days of inventory might have half of that stuck as partially assembled products on the factory floor rather than finished goods waiting for buyers. Composition matters as much as the total.

The formula:

DIO = (Average Inventory ÷ Cost of Goods Sold) × 365

This inverts the inventory turnover ratio (COGS ÷ Average Inventory) into a day count. A company that turns its inventory 4 times per year runs about 91 days per cycle.

Days Sales Outstanding

DSO measures the gap between making a sale and receiving payment. In consumer retail, the gap is nearly zero because customers pay at the register or online checkout. In business-to-business transactions, payment terms of 30, 60, or 90 days are standard, so the seller has delivered goods and booked revenue but does not yet hold the cash.

DSO also reflects how well a company enforces its credit terms. A business offering net-30 terms but averaging 52 days of DSO has a collections problem. Bad debts can distort the picture too: when a company writes off an uncollectible receivable, the accounts receivable balance drops, which can make DSO look artificially healthy. Ignoring the allowance for doubtful accounts risks underestimating the true collection timeline.

The formula:

DSO = (Average Accounts Receivable ÷ Net Credit Sales) × 365

A receivables turnover of 12 means the company collects roughly every 30 days.

The Numbers You Need

Four figures from the financial statements, all drawn from the same reporting period, feed the calculation:

  • Cost of Goods Sold (COGS), from the income statement. This captures the direct production costs for items sold during the period.
  • Net Credit Sales, also from the income statement. Total revenue minus cash sales and sales returns. Some analysts substitute total revenue when credit sales are not broken out separately, but the result will understate DSO if a meaningful share of sales are cash transactions.
  • Average Inventory, from the balance sheet: add beginning inventory to ending inventory and divide by two.
  • Average Accounts Receivable: same approach, add the beginning and ending receivable balances and divide by two.

Averages beat point-in-time balances because they smooth out distortions. A retailer’s December 31 inventory balance, swollen from holiday stocking, would make DIO look terrible if used alone. Averaging January 1 and December 31 paints a more representative picture.

Calculating for a single quarter? Replace 365 with the actual number of days in the quarter, usually 90. If you want to annualize a quarterly result for comparison, multiply the quarterly COGS by four before dividing by average inventory, but be aware this assumes consistent activity across all four quarters, which rarely holds for seasonal businesses.

A Worked Example

Take a mid-size manufacturer with these financials:

  • Year 1: COGS of $60 million, inventory of $20 million, accounts receivable of $15 million
  • Year 2: COGS of $85 million, revenue of $120 million, inventory of $25 million, accounts receivable of $20 million

Using Year 2 as the current period and both years to compute averages:

Average Inventory = ($20M + $25M) ÷ 2 = $22.5 million

DIO = ($22.5M ÷ $85M) × 365 = 97 days

Average Accounts Receivable = ($15M + $20M) ÷ 2 = $17.5 million

DSO = ($17.5M ÷ $120M) × 365 = 53 days

Operating Cycle = 97 + 53 = 150 days

This company needs about five months from the day it buys raw materials until the day it collects payment. Whether 150 days is good or bad depends on the industry.

Reading the Result

The number by itself means little. It gets meaning from two comparisons: how the company changes over time, and how it stacks up against its industry.

Trend Over Time

A shortening cycle usually means the business is getting more efficient at selling inventory faster, collecting receivables sooner, or both. It frees up cash that can be reinvested, used to pay down debt, or returned to shareholders.

A lengthening cycle is where analysts start asking uncomfortable questions. The cause might be benign: expansion into new product lines with longer production times, or an intentional extension of credit terms to win large accounts. It can also signal trouble, with inventory piling up because demand is softening, or receivables stretching because customers are struggling to pay. When a lengthening operating cycle coincides with rising revenue, the company might be booking aggressive sales on easy credit terms to hit targets, a pattern that sometimes precedes write-offs.

Seasonality distorts the picture. A retailer’s cycle calculated in January, after holiday sell-through, will look far shorter than the same calculation run in October, when warehouses are packed for the holidays. Comparing the same quarter year-over-year, rather than sequential quarters, gives a cleaner read. Analysts covering seasonal businesses sometimes use trailing twelve-month averages for inventory and receivables to smooth these effects further.

Industry Benchmarks

A “good” operating cycle depends on what the company does. Comparing a grocery chain to a pharmaceutical company is meaningless because the underlying economics differ completely. Cross-industry working capital data compiled by J.P. Morgan shows how far apart sectors can sit.1JPMorgan Chase & Co. J.P. Morgan Working Capital Index

  • Airlines: DIO of 9 plus DSO of 15, about a 24-day cycle. Passengers pay before flying and there’s almost no physical inventory.
  • Grocery and consumer staples: DIO of roughly 67 plus DSO of 29, about 96 days at the producer level. Grocery stores themselves turn inventory much faster, with turnover ratios above 12 times per year and mostly cash sales, pushing the store-level cycle well below 30 days.
  • Aerospace and defense: DIO of 84 plus DSO of 71, about 155 days. Complex assembly and government contract payment schedules both stretch the timeline.
  • Pharmaceuticals: DIO of 136 plus DSO of 72, about 208 days. Long production timelines, regulatory approval processes, and complex distribution through wholesalers all contribute.
  • Semiconductors: DIO of 107 plus DSO of 53, about 160 days. Fabrication cycles are long and large customers often negotiate extended payment terms.
  • Technology software: DIO of 34 plus DSO of 48, about 82 days. Lower inventory needs, but longer collection times from enterprise clients.

Benchmark against direct competitors, not the market as a whole. A 150-day cycle would be a red flag for a retailer and perfectly normal for a semiconductor company.

Service Businesses Without Inventory

The standard formula assumes a company holds physical inventory, which makes it awkward for consulting firms, software-as-a-service providers, law practices, and other service businesses. Without inventory, there’s no DIO to calculate.

For pure service businesses, the operating cycle collapses to DSO, the time between performing the work (and billing for it) and collecting payment. Some analysts substitute “cost of services rendered” (primarily labor costs) for COGS and treat unbilled work-in-process hours as a form of inventory, but the adaptation requires careful judgment about what counts as “in process” versus simply unrecorded time. Most service-firm operators focus on DSO and billing cycle length rather than force-fitting the full formula.

Extending to the Cash Conversion Cycle

The operating cycle shows how long cash is tied up, but it ignores one offset: the company usually doesn’t pay its own suppliers right away either. The cash conversion cycle (CCC) accounts for that by subtracting Days Payable Outstanding (DPO):

CCC = DIO + DSO − DPO

DPO is (Average Accounts Payable ÷ COGS) × 365. If a business runs a 150-day operating cycle but stretches supplier payments to 60 days, its CCC is 90 days, meaning it actually needs to fund only 90 days of operations from its own cash or credit lines.2J.P. Morgan. Improve Your Cash Flow with DSO and DPO

Some companies achieve a negative CCC, collecting from customers before paying suppliers. Large online retailers and subscription businesses sometimes pull this off through immediate customer payment, fast inventory turnover, and extended supplier terms. A negative CCC effectively means the business is partly funded by its suppliers’ money rather than its own.3J.P. Morgan. Understanding and Optimizing Your Cash Conversion Cycle

Once you’ve calculated an operating cycle, running the CCC alongside it is the natural next step for anyone making cash flow decisions rather than a purely academic comparison.