MY
×
Accounting Basics · Malaysia

Opening Stock: What It Is, How to Calculate It, and Why It Matters

Opening stock is a small number that quietly drives your cost of goods sold, your gross profit, and your balance sheet. Here's what it is, the formula, a worked RM example, and where it fits — in plain business English.

40,000+ businesses★★★★★ 4.7 GoogleSince 2016 · 10 years
Opening Stock: What It Is, How to Calculate It, and Why It Matters

Opening stock is the value of the goods you have on hand at the start of an accounting period — the unsold inventory you carried over from the period before. If your shop had RM12,000 worth of goods on the shelf on 1 January, that RM12,000 is your opening stock for January.

Quick answer

Opening stock is the cost value of the goods you can sell at the beginning of a period. It equals last period's closing stock, carried forward. It's a current asset, and it feeds your cost of goods sold — so getting it right keeps your profit figure honest.

💡 One quick note: this guide is about inventory — the stock sitting in your shop or warehouse. It's not about "stock market opening time." Different thing entirely.

Opening stock is a small idea that quietly drives some big numbers — your cost of goods sold, your gross profit, and how healthy your business looks on paper. Get it right and your profit figure is honest. Get it wrong and every report after it is off. Here's exactly what it is, how to work it out, and where it fits.

01. What is opening stock?

Opening stock (also called opening inventory) is the total cost value of the products you have available to sell at the beginning of a period — a month, a quarter, or a financial year.

Two things to hold onto:

  • It's measured at cost — what you paid for the goods, not what you'll sell them for.
  • Today's opening stock is simply yesterday's closing stock. The goods left over at the end of one period become the goods you start the next period with. Nothing disappears overnight; it just carries forward.

So if December ended with RM12,000 of unsold goods, January opens with RM12,000 of opening stock. The two numbers are the same figure, viewed from two sides of midnight.

Dec closing stock RM12,000 same figure Jan opening stock RM12,000 + purchases − closing stock Feb opening RM9,000 The same carried-forward number threads one period into the next.
Last period's closing stock becomes this period's opening stock — the figure carries straight across midnight.

02. Who is this guide for?

Anyone who holds stock to sell will meet opening stock in their accounts. It's especially worth understanding if you're:

🌱 A new business owner

Setting up your books for the first time and working out your starting inventory figure.

🛍 A retail shop

Shelves full of products to count and value at the start of each period.

☕ An F&B outlet or café

Ingredients and packaging on hand at month-end that carry into the next month.

📦 A wholesaler or distributor

Large volumes of stock where an accurate opening figure really moves your profit.

📊 Moving off spreadsheets

Tracking stock in Excel today and wanting the carry-forward to stop tripping you up.

🖥️ Switching to accounting software

Entering your opening balances so your new system starts from the right numbers.

03. The opening stock formula

There are two ways you'll meet opening stock in practice.

1. The simplest definition

Opening Stock (this period) = Closing Stock (last period)

If you already closed last period's books, you don't calculate opening stock at all — you just carry the closing figure forward.

2. The cost-of-goods-sold view

This is where opening stock earns its keep:

Opening stock + Purchases Closing stock = Cost of goods sold (what you actually sold)
Take what you started with, add what you bought, subtract what's still unsold — what's left is the cost of the goods you sold.

In plain terms: take what you started with, add what you bought during the period, then subtract what's still unsold at the end. What's left is the cost of the goods you actually sold. Rearranged, if you ever need to find opening stock from the other figures:

Opening Stock = Cost of Goods Sold + Closing Stock − Purchases

Every term:

  • Opening Stock — goods on hand at the start (at cost).
  • Purchases — new stock bought during the period (at cost).
  • Closing Stock — goods still unsold at the end (at cost), counted or valued at period-end.
  • Cost of Goods Sold (COGS) — the cost of what you sold; it's subtracted from sales to get gross profit.

04. A worked example (in ringgit)

First, how you get the opening-stock number: Quantity × Unit Cost

Before any of the flow below, you need the opening-stock value itself. You get it from a stock count — count how many of each product you hold at the start, then multiply each by what it cost you:

Opening Stock Value = Quantity × Unit Cost

Unit cost is what you paid for the goods — not the selling or retail price. Value every product line, add them up, and the grand total is your opening stock. Here's a small café counting three lines at the start of the month (illustrative figures):

Product Qty Unit cost (RM) Total value (RM)
Coffee1008800
Tea506300
Sugar20480
Total opening stockRM1,180

That RM1,180 is the number you carry into your accounts as opening stock. Once you have it, here's how it flows through a full period.

Meet a small hardware shop. Here's January, step by step. (These figures are an illustration, not real Niagawan data — they're here to show the maths.)

Item Amount (RM)
Opening stock (goods on hand 1 Jan) 12,000
+ Purchases during January 8,000
= Goods available to sell 20,000
− Closing stock (unsold on 31 Jan) 9,000
= Cost of goods sold (Jan) 11,000

If January's sales were RM18,000, then:

Gross profit = Sales − COGS = RM18,000 − RM11,000 = RM7,000

Now watch the carry-forward. January's closing stock of RM9,000 becomes February's opening stock of RM9,000. February then adds its own purchases, subtracts its own closing stock, and the cycle repeats. That single carried-forward number is the thread that keeps your accounts honest month after month.

⬇️ Free stock-count template (Excel)

Count each product, key in the quantity and the unit cost you paid, and the Excel works out each line and your total opening-stock value automatically — the grand total is your opening stock:

05. Opening stock vs closing stock

They're the same kind of figure at opposite ends of the period. The difference is only timing.

Opening stock Start · 1 Jan Closing stock End · 31 Jan ←  one accounting period  → Closing stock becomes next period's opening stock
Opening and closing stock are the same measure at the two ends of a period — and the end of one is the start of the next.
Opening stock Closing stock
When Start of the period End of the period
What Goods carried in from last period Goods left unsold this period
Role in COGS Added (you had it to sell) Subtracted (you didn't sell it yet)
Next period Becomes next period's opening stock
Valued at Cost Cost

📌 The one rule to remember

This period's closing stock is next period's opening stock. If those two don't match across the boundary, something has gone wrong in your records.

06. Is opening stock an asset or a liability?

Opening stock is a current asset. It's something your business owns and expects to sell (and turn into cash) within the year — so it sits on the asset side of your balance sheet under current assets, alongside cash and money owed to you by customers.

✅ It IS a current asset: stock is value you hold and expect to sell within the year — it sits under current assets on your balance sheet.

❌ It is NEVER a liability: a liability is something you owe — a supplier bill, a loan. Stock is the opposite; it's value you own.

The only nuance: unsold stock ties up cash, so too much of it isn't automatically a good thing. It's an asset you want moving, not gathering dust.

07. Where opening stock shows up in your accounts

Opening stock touches two of your core reports at once. That's why this small number matters more than it looks — it feeds both how profitable you appear and how strong your balance sheet looks.

Opening stock (at the start of the period) Profit & loss (income statement) flows in through Cost of goods sold Sets your gross profit a wrong figure distorts your profit Balance sheet appears as a Current asset Value you hold at a point in time alongside cash and receivables
One small number, two reports: opening stock shapes both your profit and your balance sheet.
  • Profit & loss (income statement) — through the COGS calculation above. Opening stock is part of working out the cost of what you sold, which sets your gross profit. A wrong opening figure quietly distorts your profit.
  • Balance sheet — the stock you hold at a point in time appears as a current asset. Opening stock is that asset value at the start of the period.

08. Why opening stock matters for a small business

📈 Accurate profit

Because opening stock drives COGS, an error here flows straight into your gross profit — you could look more or less profitable than you really are.

📋 Tax-ready records

Clean opening and closing figures make your year-end accounts defensible and far easier to file.

🛒 Better buying decisions

Knowing what you started with (and how fast it moved) tells you whether you're over-ordering and tying up cash, or running too lean.

09. Common mistakes with opening stock

Four slip-ups come up again and again. Each one throws your COGS — and your profit — off.

❌ Valuing stock at selling price, not cost. This inflates your inventory and understates COGS.
✅ Do this: always value opening stock at what you paid for the goods.
❌ A mismatch at the boundary — last period's closing stock doesn't equal this period's opening stock.
✅ Do this: carry the exact closing figure forward; they must be identical.
❌ Forgetting stock you own but haven't shelved — goods in transit, in a back room, on consignment.
✅ Do this: count everything you own at period start, wherever it physically sits.
❌ Guessing instead of counting at the first period-end.
✅ Do this: do a proper stock-take for your very first opening figure; after that, it carries forward.

10. Keeping opening and closing stock tidy

The manual version of all this is a spreadsheet and a stock-take every period-end — workable, but easy to fumble at the carry-forward, which is exactly where errors creep in.

The alternative is to run your sales and your accounts in one cloud system instead of two disconnected tools. When every sale and stock movement is recorded in the same place as your books, last period's closing position is right there to start the next period from — so there's less manual re-typing and fewer boundary mismatches. Niagawan is a Malaysian-built cloud POS and accounting system, used by 40,000+ businesses since 2016, that keeps your sales, stock movements, and accounts together in one place.

💡 Still your count to verify: for your own stock valuation and period-end figures, always confirm the numbers against a real stock-take. A system keeps the records tidy, but the count is still yours to verify.

About the author

Bryant Gan is the Founder of Niagawan — the cloud accounting and POS system used by more than 40,000 businesses in Malaysia since 2016. He has spent over 10 years building software that helps Malaysian SMEs keep their books, stock, and tax records in order.

Frequently asked questions

What is opening stock?

Opening stock is the cost value of the goods you have on hand at the start of an accounting period. It equals the closing stock carried over from the previous period, and it's valued at what you paid for the goods, not their selling price.

What is the difference between opening and closing stock?

Timing. Opening stock is the inventory you hold at the start of a period; closing stock is what's left unsold at the end. This period's closing stock becomes next period's opening stock — they're the same figure at the boundary.

Is opening stock an asset or a liability?

It's a current asset. Stock is something your business owns and expects to sell within the year, so it sits under current assets on the balance sheet. It is never a liability.

How do I find my opening stock?

If you closed last period's books, just carry the closing stock figure forward — that's your opening stock. If it's your very first period, do a physical stock-take and value the goods at cost.

What is opening stock in a brand-new business?

A brand-new business with no prior period usually has an opening stock of zero (or the value of any starting inventory you bought before trading). From there, your first period's closing stock becomes your second period's opening stock.

Does opening stock affect profit?

Yes. Opening stock is part of the cost-of-goods-sold calculation (Opening Stock + Purchases − Closing Stock = COGS), and COGS is subtracted from sales to get gross profit. A wrong opening figure distorts your profit.

Is opening stock a quantity or a value?

It's recorded as a monetary value (quantity × unit cost), even though you start by counting quantities. Your accounts use the ringgit value; the quantity is just how you get there.

What's the difference between opening balance and opening stock?

“Opening balance” is a general term for the starting figure of any account (your bank, a customer's owing, and so on) at the start of a period. “Opening stock” is specifically the opening balance of your inventory account — the cost value of goods on hand at the start. Opening stock is one kind of opening balance.

40,000+
Malaysian businesses
4.7★
500+ Google reviews
10 yrs
since 2016
1 system
POS · Accounts · Stock · SST

Keep your stock and accounts in one place

When every sale and stock movement is recorded with your books, last period's closing position is right there to start the next period from. Niagawan is cloud accounting and POS for Malaysian SMEs.