OCTIS Transition Promotion 2026: up to 30% off your current accounting, audit, company secretary and tax fees. Closes 31 December.. Ends in --d --:--:--.WhatsApp
Lowest price guaranteed

Found a genuine quote? We beat it by at least 10% — see conditions. Every service also carries a 30-day money-back guarantee.

Set up your store's books

Sell online · Course 2 · Lesson 6 of 6

How to Calculate Cost of Goods Sold for an Online Shop in Malaysia

  • 1 min read
  • Checked 9 November 2026
In this course · 6 of 6
Otty, the OCTIS octopus

The short answer

Cost of goods sold equals opening stock plus purchases (including freight in) minus closing stock. Count stock at year end and value it at the lower of cost and net realisable value under Malaysian accounting standards. Keep a stock register and purchase invoices.

Records to keep

  • Supplier invoices and proof of payment.
  • A stock register by product showing quantity in, quantity out and balance.
  • A year-end stock count sheet signed or dated by the person who counted.
  • Records of damaged, expired or returned stock.

Cost of goods sold (COGS) Cost of goods sold = opening stock + purchases (including freight and duty) - closing stock

Purchases include the costs of bringing goods to your store, such as import freight and duty.

Valuation. Malaysian accounting standards (the Malaysian Private Entities Reporting Standard, MPERS, or the Malaysian Financial Reporting Standards, MFRS) used by private companies and small businesses measure inventory at the lower of cost and net realisable value. Methods such as first-in-first-out or weighted average are acceptable, but the same method should be used each year.

Why it matters. Stock bought but unsold is not an expense for that year, so counting it correctly avoids overstating costs and understating profit. Platform sales data helps cross-check quantities sold against stock movements.

Dropshippers and print-on-demand sellers hold no stock, so COGS is the supplier's charge for each order.

If the business is a company, the audited or management accounts follow the approved accounting standards.

Legal basis and sources

General information for business owners, not legal, tax or professional advice. Rules change, so check the sources or ask a licensed professional before you act.

Was this lesson useful?

Upvote it and it moves up for the next reader who asks.

For online sellers in Malaysia

Get your e-commerce journey started today.

Register your store, keep its books and file its tax with one team, while you keep selling on Shopee, Lazada, TikTok Shop or your own Shopify store.

Start selling online
Chat with us on WhatsApp
    How to Calculate Cost of Goods Sold for an Online Shop in Malaysia | OCTIS