What is COGS? The cost of goods sold and how to work it out for your store

Updated 26 November 2026 ArabyBot glossary
The ArabyBot teamOfficial Meta partner · written from our own platform data
On this page 7
  1. A worked example of COGS by stock count
  2. What goes into COGS and what does not
  3. COGS for digital products and services
  4. Why does Cost of goods sold matter to a seller?
  5. Cost of goods sold in ArabyBot
  6. Frequently asked questions
  7. Related terms

The short answer

Cost of goods sold = opening stock + purchases − closing stock. For a small store, approximately: cost per piece × pieces sold. Sell 300 pieces costing 40 each and COGS is 12,000.

Also asked as: «cogs يعني ايه» · «تكلفة البضاعة المباعة معادلة» · «تكلفة البضاعة المباعة مجمل الربح»

A worked example of COGS by stock count

ItemValue
Opening stock20,000
+ Purchases in the month15,000
− Closing stock10,000
= Cost of goods sold25,000

If the month's sales were 40,000, gross profit is 40,000 − 25,000 = 15,000, out of which operating costs such as ads and salaries are then paid. The figures are an example of the sum.

What goes into COGS and what does not

Goes inStays out
The purchase price of the goods or their materialsAdvertising and marketing
Shipping the goods to you from the supplier, and customsRent and office salaries
Packaging sold with the productPlatform and software subscriptions
The wage of whoever makes the product directlyShipping the order to the customer, which many count as a selling expense

COGS for digital products and services

For digital products it is close to zero per copy, except codes bought from a supplier, whose cost is the code's price. For services it is usually called «cost of revenue», and includes the wage of whoever delivers the service directly.

Why does Cost of goods sold matter to a seller?

Because sales minus the cost of goods sold is gross profit, which pays for ads, shipping and salaries. Whoever does not know it may think they profit while losing.

Cost of goods sold in ArabyBot

In ArabyBot Store you enter each product's «Cost (for profit)», which customers never see, and «Reports» shows the estimated profit: selling price minus cost for what you sold. The monthly sales report.

Frequently asked questions

1

Are shipping and ads part of COGS?

Not in usual accounting; they are operating expenses taken after gross profit. But include them in the cost per order when pricing. The product price calculator.

2

How does gross profit differ from net profit?

Gross profit = sales − COGS; net profit = gross profit − every other expense.

3

What is cost of goods sold?

What the goods you actually sold in the period cost you, worked out as opening stock + purchases − closing stock.

4

Does advertising go into cost of goods sold?

No. Advertising is an operating expense deducted after gross profit; cost of goods sold is the goods' price and what it takes for them to reach you ready to sell.

Try the agent before you pay anything

The agent that will answer your customers is the one answering you now: ask it from the chat button here or on WhatsApp. Your account is free with no credit card, and the free trial on your own number or page is activated after you contact our team on customer-service WhatsApp.

The ArabyBot teamOfficial Meta business partner in the Middle East 312 guides Figures from our platform All guides
Share this page