COGS vs Operating Expenses E-commerce Guide for SA Sellers
- Johan De Wet
- 2 days ago
- 7 min read
The primary difference between COGS vs operating expenses e-commerce business owners need to know relates to how directly a cost is tied to product creation or acquisition. Cost of Goods Sold (COGS) includes the direct costs of producing or purchasing the items you sell, while operating expenses (OpEx) are the overhead costs required to run your daily business operations regardless of sales volume.
What Is the Difference Between COGS and Operating Expenses?
Cost of Goods Sold (COGS) represents the direct costs associated with bringing a product to market, while operating expenses (OpEx) are the indirect costs of running your business. COGS increases or decreases in direct proportion to your sales volume, whereas operating expenses tend to remain relatively stable as fixed overheads like rent or software subscriptions.
For a South African e-commerce seller, understanding this distinction is the difference between an accurate Profit and Loss (P&L) statement and a financial mess. If you misclassify these expenses, your Gross Profit margin will be incorrect. This leads to poor pricing decisions and potentially massive headaches when it comes time for your SARS provisional tax submissions.
Why Does the COGS vs Operating Expenses E-commerce Distinction Matter for SARS?
SARS requires businesses to report their gross profit correctly, which is calculated by subtracting COGS from your Total Revenue. Operating expenses are then subtracted from Gross Profit to arrive at your Net Taxable Income. Keeping these separate ensures you are taking full advantage of legal tax deductions while remaining compliant with South African accounting standards.
Precision in Profitability Metrics
If you bundle your Shopify subscription (OpEx) into your COGS, your Gross Margin will look lower than it actually is. This might lead you to believe your products aren't profitable when, in reality, your overheads are just too high. Conversely, if you leave out the cost of shipping inventory from a supplier in China to your warehouse in Durban (which is COGS), your margins will look artificially high. This could lead you to overspend on marketing based on false data.
Simplifying the Audit Trail
Should SARS ever conduct a desk audit of your e-commerce business, they will look for consistency. They want to see that your inventory valuation matches your reported COGS. By using a platform like Smartbook, you can automate this tracking, ensuring that every Rand spent on inventory is accounted for separately from your office snacks and digital marketing spend.
What Qualifies as COGS for a South African E-commerce Store?
COGS consists of all costs incurred to get a product into your inventory and ready for sale. If you stop selling products tomorrow, these costs should theoretically drop to zero. For South African sellers, this specifically includes the purchase price of goods, inbound freight, and customs duties.
Inventory Purchase Price
This is the most straightforward component. It is the amount you pay your manufacturer or wholesaler for the physical product. Whether you are sourcing locally from a Cape Town factory or importing from overseas, the base price of the item is the core of your COGS calculation.
Customs Duties and Import VAT
For many South African e-commerce entrepreneurs sourcing from Alibaba or international suppliers, shipping and duties are significant. While Import VAT can often be reclaimed if you are a VAT-registered vendor, the actual customs duties paid to SARS are a direct cost of the product. These must be included in your COGS to accurately reflect your landed cost.
Packaging and Labelling
If you have custom-branded boxes, tissue paper, or stickers that are used for every single order, these are direct costs. However, there is a nuance here. If you buy 10,000 boxes at once, they sit as an asset (inventory) on your balance sheet and only move to COGS on your income statement when the box is actually shipped to a customer.
What Qualifies as Operating Expenses (OpEx) for E-commerce?
Operating expenses are the costs of staying in business that aren't tied to a specific unit sale. These are often referred to as 'overhead.' In the South African context, these are the costs you pay once a month or once a year to keep the lights on and the website running.
Marketing and Advertising Spend
A common mistake is thinking Facebook Ads or Google Shopping spend is a COGS item. It isn't. Marketing is an operating expense. While it helps generate sales, it is categorized as a selling expense. Whether you spend R5,000 or R50,000 on ads this month, the 'cost' of the physical item you sold remains the same.
E-commerce Platform Fees
Your monthly subscription to Shopify, WooCommerce hosting, or the 15-20% referral fee charged by Takealot usually falls under operating expenses. Some accountants argue that Takealot fees are a direct cost of sale (COGS-adjacent), but traditionally, fixed platform subscriptions are OpEx.
Salaries and Freelance Fees
Payments for your virtual assistant in the Philippines or your part-time bookkeeper in Johannesburg are operating expenses. This also includes your own drawings or salary as a director. These costs do not generally fluctuate unit-by-unit with your sales volume.
How to Calculate COGS for Your E-commerce Business
The standard formula used by SARS and international accounting bodies is: (Beginning Inventory + Purchases during the period) - Ending Inventory = COGS.
The Importance of Stocktakes
As of March 2026, many South African SMEs are moving toward perpetual inventory systems, but a physical year-end stocktake (ending February 28/29) is still vital. If you started the year with R100,000 in stock, bought R500,000 more, and ended with R150,000, your COGS for the year is R450,000.
Factoring in the Rand Exchange Rate
Since the Rand can be volatile, South African e-commerce sellers must be careful with exchange rate fluctuations. When you pay a supplier in USD, the ZAR value at the time of the transaction (or the time the goods clear customs) is what determines your COGS. Smartbook helps you track these fluctuations so your margins remain accurate even when the Rand dips.
Is Shipping COGS or an Operating Expense?
This is a nuanced question. Inbound shipping (getting product from supplier to you) is always part of COGS. Outbound shipping (sending the product to the customer) is typically treated as a selling expense under OpEx. However, if you offer 'free shipping' and have baked that cost into your product price, some sellers prefer to track it closely linked to the sale.
Inbound Freight: The Hidden COGS
If you pay a courier to bring 100 kg of product from a Johannesburg warehouse to your home office in Pretoria, that cost should be added to the value of the inventory. It is part of the 'landed cost.' This allows you to see the true cost of making the item available for sale.
Last-Mile Delivery as OpEx
When you use The Courier Guy or Pargo to deliver to an end-user, this is an operating expense (specifically, a distribution or selling cost). It happens after the product is already finished and ready for sale. Keeping this in OpEx helps you see how much your logistics are eating into your gross profit.
Tax Deductibility for South African Businesses
Both COGS and Operating Expenses are tax-deductible, but they are deducted differently. COGS is deducted at the time the item is sold. Operating expenses are generally deducted in the period they are incurred.
Section 11(a) of the Income Tax Act
This is the 'general deduction formula' in South Africa. It allows you to deduct expenses incurred in the production of income, provided they are not of a capital nature. Both your inventory costs and your rent/utilities qualify. However, you cannot 'double dip.' You cannot claim the cost of stock when you buy it AND when you sell it.
Small Business Corporation (SBC) Tax Rates
If your e-commerce business is registered as a private company (Pty Ltd) and meets the turnover requirements (under R20 million per year), you might qualify for SBC tax rates. These are much lower than the flat 27% corporate tax rate. Correctly separating COGS vs operating expenses e-commerce is essential here to prove your taxable income falls within the favourable brackets for the March 2026 tax year.
Common Pitfalls in E-commerce Accounting
Many South African sellers treat their bank balance as their profit. This is a recipe for disaster. If you spend R200,000 on stock in February, your bank balance drops, but you haven't actually 'lost' that money—it has just shifted from Cash to Inventory on your Balance Sheet.
Mistaking Cash Flow for Profit
Because COGS only hits your P&L when an item sells, you might have a month with R0 in sales but R50,000 in operating expenses. You've made a loss. Conversely, you might have a month with R100,000 in sales and R10,000 in OpEx, but if your COGS was R70,000, your actual profit is only R20,000—not R90,000.
Ignoring Returns and Spoilage
In the South African e-commerce landscape, returns are common. When a customer returns a locally made garment, that item returns to inventory, and its cost is removed from COGS. If the item is soul-crushingly damaged (spoilage), it remains in COGS or is written off as an expense. Smartbook handles these adjustments seamlessly so you don't overpay tax on items you never actually sold.
How Smartbook Simplifies the COGS vs OpEx Maze
You started an e-commerce store because you love your products and your customers, not because you wanted to become a SARS compliance expert. Managing the intricate split between direct and indirect costs can be overwhelming, especially as you scale from 10 orders a month to 1,000.
Smartbook is designed specifically for South African entrepreneurs. Our platform integrates with your bank feeds and sales channels to automatically help you categorise your spending. By identifying what is COGS vs operating expenses e-commerce, Smartbook gives you a real-time view of your Gross Margin and your Net Profit.
You can see at a glance if your shipping costs are rising, if your marketing spend is out of sync with your revenue, or if your inventory levels are getting dangerously high. This level of clarity is what separates a struggling side hustle from a thriving South African brand. Ready to take control of your e-commerce finances? Explore Smartbook today and see how easy it is to manage your COGS, expenses, and SARS compliance in one place.
Comments