Now in open beta — close the books in 2 days, not 2 weeks.Read the case study →
Inventory · April 6, 2026 · 9 min read

Opening stock: what it is and how it hits your accounts.

Opening stock is the most boring number in your accounts until you realize every gross margin calculation depends on it. Get it wrong on January 1 and every monthly P&L for the next twelve months is wrong by the same amount. Here is what opening stock actually is and how to get it right.

The definition that gets butchered.

Opening stock is the value of inventory on hand at the start of an accounting period, valued at cost (not retail). For a Lahore garments shop closing the year on December 31 with 8,200 units in the warehouse at an average cost of PKR 1,450 per unit, opening stock for the new year is PKR 11.89 million. That number lives on the asset side of the balance sheet under current assets and becomes the starting point for the next period cost of goods sold calculation.

The two failure modes are valuing stock at retail instead of cost (inflates assets and understates COGS) and miscounting the physical units. A retail price of PKR 2,400 against a cost of PKR 1,450 is a 65 percent overstatement of inventory if you mistakenly use retail. On 8,200 units that is PKR 7.79 million of phantom assets. Auditors catch this immediately. Banks catch it when they reconcile your inventory pledge.

The COGS formula and where opening stock sits.

Cost of goods sold = opening stock + purchases - closing stock. That is the master formula. If your Karachi electronics retailer started January with PKR 12 million of opening stock, bought PKR 28 million during the month, and ended January with PKR 14 million of closing stock, COGS for January is 12 + 28 - 14 = PKR 26 million. Apply your gross margin against revenue and you have the P&L. Get any of the three numbers wrong and gross margin lies.

Worked example: same shop, PKR 35 million in January revenue. With correct COGS of 26 million, gross margin is PKR 9 million or 25.7 percent. If you understated opening stock by PKR 2 million (say you forgot a slow-moving rack), COGS appears as 24 million, and gross margin balloons to 31.4 percent. You celebrate, expand, hire. Six months later closing stock comes in correctly and your COGS for that month is artificially high. The truth bites in a single nasty month.

OpeningPKR 12M (Jan 1)+ PurchasesPKR 28M (Jan)- ClosingPKR 14M (Jan 31)= COGSPKR 26M to P&L
The whole P&L hangs on getting these three numbers right. Miscount opening by ₨ 2M and gross margin jumps 5.7 points fictionally.

How opening stock is established on day one.

On the first day a business adopts a real ledger, you take a physical count. Every SKU, in every branch, in every warehouse, counted twice by two different people. Match counts settle the number. Multiply by the cost per unit (the price you paid the supplier, not the price you sell at). Land in a single PKR figure per branch. Post the opening journal entry: DR Inventory by location / CR Owner Equity (or Opening Balance Equity).

For a Faisalabad chemicals trader with three branches the opening JE looks like this: DR Inventory Branch 1 8,400,000 / DR Inventory Branch 2 5,200,000 / DR Inventory Branch 3 3,100,000 / CR Opening Balance Equity 16,700,000. Total debits PKR 16.7 million, total credits PKR 16.7 million. The trial balance balances. Every subsequent inventory transaction adjusts these accounts.

Period-over-period: closing stock becomes next period opening stock.

On December 31, you do a year-end count. The closing stock on December 31 is, by definition, the opening stock on January 1. No journal entry is required, the number just rolls forward in the ledger. Where SMBs trip is when the count happens on January 4 (because December 31 was a holiday) and the books pretend it was December 31. Three days of sales and three days of purchases happen in between. Reconcile those, or your opening stock is wrong by exactly those three days.

A Karachi pharmacy that counts on January 3 should add back PKR 380,000 of sales (at cost) made on Jan 1-2 and subtract PKR 450,000 of purchases received during those same days. The math: counted stock 9,200,000 + back-added sales at cost 380,000 - back-added purchases 450,000 = true December 31 opening stock of 9,130,000. Nonari can run the back-rolling automatically because the POS knows exactly which units sold between count day and balance sheet day.

  • Always count at cost, never at retail.
  • Reconcile sales and purchases between count day and period-end.
  • Match two independent counters per SKU group.
  • Adjust for in-transit purchases not yet received.
  • Treat shrinkage as a separate write-off, not silent disappearance.

The five things that distort opening stock in practice.

First: in-transit inventory. The container from Shenzhen left on December 28 and arrives in Karachi on January 12. Is it your stock on December 31? Yes, if FOB (your title passed at the supplier port). No, if CIF and risk passed only on delivery. Mis-classify by PKR 4 million and your audit fails. Second: consignment goods. You hold stock that legally belongs to a supplier. Count it separately and exclude from opening stock.

Third: damaged or obsolete stock. The 1,400 units of last-season fabric still sitting in the warehouse are technically yours but worth PKR 300 not PKR 1,450. Either write them down before period end or you carry a phantom PKR 1.61 million. Fourth: stock written off mentally but never journaled. The owner knows the rats ate 200 packets, but the ledger still shows them. Fifth: branch transfers in flight on the cutoff date.

All distortions on count day · 100 %In-transit (FOB vs CIF) · 40 %Damaged / obsolete stock · 30 %Branch transfers in flight · 15 %Consignment confusion · 10 %Mental writeoffs not journaled · 5 %
In-transit + obsolete stock account for 70% of opening-stock audit findings. Catch those two before count day and you handle most of the risk.

Software vs spreadsheet for tracking opening stock.

A spreadsheet can hold opening stock if you have one branch and 200 SKUs. The moment you add a second branch, a wholesale customer who returns goods, and a manufacturer who issues raw materials to a production order, the spreadsheet collapses. The shape of the ledger is no longer flat. You need a perpetual inventory system that maintains a running balance per SKU per branch and posts the COGS journal entry on every sale.

Nonari treats each branch as a separate inventory ledger with its own weighted average cost. When you transfer 100 units from the Lahore warehouse to the Multan shop, the journal entry is DR Inventory Multan / CR Inventory Lahore at the weighted average cost, not retail. Opening stock for each branch on Jan 1 is exact, audit-defensible, and ties to the trial balance to the rupee.

How opening stock affects tax and bank pledges.

FBR uses opening stock to verify reported gross profit margins against industry norms. If your declared opening stock plus declared purchases minus declared closing stock produces a 6 percent gross margin in a sector that averages 22 percent, expect a notice. Inflate opening stock to hide income and you create a problem next year, because that inflated number becomes the COGS subtractor. The lie compounds.

Banks that lent against your inventory pledge re-value the stock annually. A Karachi distributor with a PKR 50 million inventory financing facility submits the stock report monthly. If the stock count drops below the agreed margin (typically 1.5x of outstanding), the bank can call the loan. Accurate opening stock that ties to the trial balance keeps the relationship clean and the facility renewed without drama.

Frequently asked

Common questions.

Is opening stock an asset or expense?

Opening stock is an asset on the balance sheet at the start of the period. As the goods sell during the period, they become an expense (cost of goods sold) on the P&L. Closing stock at period end returns to the balance sheet as an asset.

How do I value opening stock?

At cost, not retail. Cost includes purchase price plus freight, customs duty, and any direct costs to bring the goods to your location. For manufactured goods include raw material, direct labor, and allocated factory overhead. Never use the selling price.

What if I never had an opening stock count?

Do one now. Pick a date, count every SKU at every location, value at cost. Post the JE: DR Inventory / CR Opening Balance Equity. Treat the prior period as closed and start clean from this date. An auditor will accept a recorded count better than a guessed number.

Does opening stock include in-transit goods?

It depends on the Incoterms. FOB means title passed at the supplier port, so the in-transit container is your stock. CIF means title passes on arrival, so it is not yet yours. Check the shipping documents for each open container before period end.

How often should I count physical stock?

Annually at minimum (year-end for tax). Quarterly is better for SMBs above PKR 50 million revenue. Cycle counting (counting a rolling subset weekly) is best practice once you exceed PKR 200 million or 5,000 SKUs. The annual count is then a confirmation, not a discovery.

Try nonari

Put your books on autopilot.

Free to start. No credit card. Bring your books, kick the tires, export everything if you decide to leave.