OCTIS Transition Promotion 2026: up to 30% off your current accounting, audit, company secretary and tax fees. Closes 31 December.. Ends in --d --:--:--.WhatsApp
Set up your store's books

Sell online · Course 2 · Lesson 5 of 6

How do I value inventory and work out cost of goods sold for an online store?

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

The short answer

For a Hong Kong online store, cost of goods sold is opening stock plus purchases, minus closing stock. Stock is normally valued at the lower of cost and net realisable value (the expected selling price minus selling costs). Count stock at year end and keep the count sheets.

For a store that holds stock, profit depends on how much stock you still have at the end of the year.

Formula: opening stock + purchases (including freight-in and import costs) - closing stock = cost of goods sold. Example: opening stock HK$10,000 + purchases HK$50,000 - closing stock HK$15,000 = cost of goods sold HK$45,000.

Valuation: accounting standards generally require inventory to be measured at the lower of cost and net realisable value (the expected selling price minus selling costs). Slow-moving, damaged or expired items may need to be written down to what they can realistically sell for. The IRD expects accounts prepared under generally accepted accounting principles, so a consistent method should be used year to year.

Stock on consignment, dropshipped goods and goods in transit: include goods that you own, wherever they are (a warehouse, a fulfilment centre, a courier). Do not count goods held for others or goods you never take title to.

Take a physical stock count at the year end, sign it and keep it with the accounts, as these form part of the records to be retained for seven years. Wholesale buyers or an auditor may also check the count.

Legal basis and sources

The law

  • Inland Revenue Ordinance (Cap. 112), s.14, s.16

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 Hong Kong

Get your e-commerce journey started today.

Register your store, keep its books and file its profits tax with one team, while you keep selling on Amazon, Alibaba, Shopify or WooCommerce.

Start selling online
    How do I value inventory and work out cost of goods sold for an online store? | OCTIS