Inventory purchases vs COGS: why your bank and your P&L disagree
Cash spent on inventory isn't an expense until the unit sells. See inventory purchases vs COGS on one quarter, with the formula that ties them together.
InventoryX is in development and not available today. ClearStock is the live Shopify app.
In Q1 you paid suppliers $52,000 for beans and packaging. Your profit and loss statement says you made $38,000 gross profit. Your bank account dropped. All three statements are correct, and the gap between them is the most misunderstood mechanics in an inventory business: cash spent on stock is not an expense when you pay it. It's an asset swap — cash turns into inventory on the balance sheet — and it becomes COGS only when a unit sells.
The two ledgers
Your bank account records cash movement. Money left for a purchase order; no opinion about profit. Your P&L matches costs to revenue: the cost of a bag of coffee is recognized when the bag sells, not when the beans arrived. The balance sheet holds the difference between those two views as inventory — an asset, until sold.
So a $52,000 supplier payment does this: bank −$52,000, inventory +$52,000, profit unchanged. Nothing touches the P&L at payment time. The expense exists only unit by unit, as units sell. This is why two people can look at the same quarter — one at the bank statement, one at the P&L — and disagree about whether the business is dying, when both are describing the same healthy operation.
The formula that connects them
One identity ties the ledgers together:
COGS = beginning inventory + purchases − ending inventory
Beginning inventory is what you had on shelves in dollar terms at the start of the period; purchases is what you added; ending inventory is what's left. Each term is walked through in the beginning and ending inventory guide — for most purposes the version above is the whole machine. (Purists distinguish goods received from cash paid; for a small merchant paying on order, they usually land in the same period. If yours don't, your bookkeeper already knows.)
Worked example: a coffee brand's Q1
The figures are illustrative; the timeline is the point:
- January 2: you pay $52,000 for beans and packaging. Bank: −$52,000. Inventory asset: $52,000. COGS so far: $0. Profit: $0. The money didn't vanish — it changed shape.
- January through March: you sell $61,000 of retail. Every unit sold moves its cost out of the inventory asset and into COGS. By March 31, $23,000 has made that trip.
- March 31, the P&L: revenue $61,000, COGS $23,000, gross profit $38,000.
- March 31, the balance sheet: $29,000 of inventory still on shelves.
Check it against the identity: beginning $0 + purchases $52,000 − ending $29,000 = COGS $23,000. It closes exactly.
And the bank? It's down $52,000 on inventory purchases (ignore rent, ads, and wages — this example isolates the inventory story). So the quarter where the P&L says you "made" $38,000 drained $52,000 of cash into shelves and shipments. Both statements are right. They're answering different questions: the P&L asks what the sold units cost, the bank asks what you've paid so far.
Why profitable-on-paper and cash-poor is normal
The sequence of a growing inventory business: pay suppliers today, sell over weeks, and watch the cash come back only as margin — spread across the selling season. Growth makes the gap bigger, not smaller, because more sales means more reordering means more cash sitting on shelves waiting to become margin again. The measurement for this stretch — days between paying for stock and recovering the money — is the cash conversion cycle, and it's the number to watch before any growth push.
When the gap outgrows the bank balance, that's a funding question, not a performance failure. Supplier terms are the first lever, and the menu of funding options — from terms to dedicated inventory financing — is covered in the inventory financing guide.
The two traps
Treating PO payments as losses in bad months. You buy $52,000 in a slow quarter, mis-book it as a cost, and the month shows a "loss." The panic responses follow: price cuts, cancelled reorders, a bestseller left to run dry. But the purchase was an asset — the loss was a bookkeeping choice. Cash-flow stress is real and worth acting on; calling it a loss just aims the response at the wrong target.
Celebrating COGS-less months as profit. A month where you bought nothing shows lean COGS and beautiful margins. You were selling down stock you already paid for in an earlier month — the bill was paid then, and next month's restock is coming. Margin spikes that come from not buying are borrowed, not earned. Read two months together and the mirage disappears. Run the arithmetic: if February's $23,000 of COGS came from stock bought in January at $52,000 total, February's margin looks pristine only because January's bank account absorbed the hit.
The Shopify angle
Shopify's cost per item and its profit reports record COGS at the moment of sale (as of October 2026) — which is why Shopify's numbers and your bank statement will never match month to month, and why both are correct. The practical consequences:
- Set cost per item on every variant. Unset costs make Shopify's profit reports silently wrong, not just empty; the setup and the common mistakes live in the Shopify COGS guide.
- Pick a costing method deliberately. When costs drift between POs, the units you sell need a rule for which cost they carry — FIFO versus average cost changes reported margin; the trade-offs are in the inventory valuation methods guide.
- Reconcile monthly with the identity. Pull beginning inventory value, purchases, ending inventory value, and reported COGS; confirm they sum. When they don't, you're hunting a missing cost or an un-received PO — and that hunt usually surfaces the real story behind the month. Five minutes with a spreadsheet beats an hour of wondering why the quarter "feels" wrong in the bank account but not the books.
Common questions
Is buying inventory an expense? No. Cash converts to an asset — inventory — when you buy, and only the cost of units that sell becomes an expense (COGS). That's why a $52,000 purchase quarter can coexist with $38,000 of gross profit: the asset swap, not the payment, decides what reaches the P&L.
Why is my business profitable but my bank account is empty? Because profit is measured per sale and cash is measured per payment. You pay suppliers before units sell, so growth consumes cash even while every statement shows healthy margins. The gap has a measurement — the cash conversion cycle — and it's the number to check before spending on growth.
What is the formula linking purchases and COGS? COGS = beginning inventory + purchases − ending inventory. Start with $0, buy $52,000, end with $29,000 on shelves, and COGS is $23,000 — regardless of when cash left the bank. Each input is walked through in the beginning and ending inventory guide.
Does Shopify record COGS when I buy or when I sell? When you sell. Shopify's cost per item feeds its profit reports at the time of sale (as of October 2026), while your bank statement records purchases when you pay suppliers. Both are correct on their own ledgers; the identity formula is how you reconcile them month to month.
Can a month show great margins if I didn't reorder? Yes, and it's a trap. A no-purchase month sells down stock you paid for earlier, so reported margins look lean and lovely while the cash out was merely postponed. Margin spikes that come from not buying are borrowed from next month — check the reorder plan before celebrating.
Next step
Run the identity check on last quarter before you read another P&L: beginning inventory value, purchases, ending inventory value, reported COGS — confirm they sum. If they don't, hunt the missing cost or the un-received PO; that discrepancy is usually the entire story of the month. Then set the ritual: identity check monthly, cost per item audited whenever a supplier letter lands, and no purchase-order payment ever booked as a loss again.