Empire AI Finance
Cost of Goods Sold (COGS)
The direct cost behind every sale. Understand what COGS includes, how to calculate it, and why it is the foundation of your gross profit.
COGS Calculator
Your Inventory Numbers
Inventory value at the start of the period.
Cost of additional inventory bought during the period.
Inventory value remaining at the end of the period.
Cost of Goods Sold
£0.00
What COGS Means
Cost of Goods Sold, or COGS, is the direct cost of producing or acquiring the products a business sells during a period. It includes raw materials, manufacturing labour, freight-in and the purchase price of finished goods bought for resale.
COGS appears directly below revenue on the profit and loss statement. Subtracting COGS from revenue gives you gross profit — the first measure of whether your pricing and sourcing are working.
COGS Formula
Primary Formula
COGS = Opening Inventory + Purchases − Closing Inventory
This version is used by businesses that hold inventory. It measures the cost of the inventory that left the business as sales during the period.
For Resellers
COGS = Purchase Cost of Goods Sold
If you buy finished goods and resell them without holding significant inventory, COGS is simply the amount you paid for the goods you sold.
Worked Example
A retailer starts the quarter with £12,000 of inventory, buys £34,000 more during the quarter, and has £8,000 of inventory left at the end.
COGS = £12,000 + £34,000 − £8,000
COGS = £38,000
COGS vs Operating Expenses
| Aspect | COGS | Operating Expenses |
|---|---|---|
| Definition | Direct cost of goods sold | Indirect costs of running the business |
| Examples | Raw materials, product cost, manufacturing labour, freight-in | Rent, marketing, admin salaries, software, utilities |
| Where it appears | Below revenue on the P&L | Below gross profit on the P&L |
| Tied to sales volume | Yes — usually rises with more sales | No — often fixed or semi-fixed |
| Impact on margin | Used to calculate gross profit | Used to calculate operating profit |
Use Cases
Gross Profit Analysis
Subtract COGS from revenue to see how much money is left to cover operating expenses and profit.
Inventory Management
Tracking COGS against opening and closing inventory helps identify waste, shrinkage or overstocking.
Pricing Decisions
Knowing your true COGS lets you set prices that protect margin without guessing.
Tax & Accounts Filing
COGS is a standard line item on UK profit and loss statements and tax computations.
Mini-FAQ
What is included in COGS?
COGS includes direct costs such as raw materials, manufacturing labour, freight-in and the purchase cost of finished goods sold during the period.
Is COGS the same as operating expenses?
No. COGS is the direct cost of goods sold. Operating expenses are indirect costs like rent, marketing, admin salaries and software subscriptions.
How do you calculate COGS?
Use the formula: Opening Inventory + Purchases − Closing Inventory. This gives the cost of inventory that was sold during the period.
Can a service business have COGS?
Service businesses typically report cost of sales instead of COGS. This may include direct labour or third-party costs directly tied to delivering the service.
Why does COGS matter?
COGS is subtracted from revenue to calculate gross profit. It is essential for pricing, margin analysis and understanding how efficiently inventory is being used.
Founder Vision
Empire AI Finance was built to remove the confusion from business finance. COGS is one of the most important numbers in any product business, yet it is often misunderstood or buried in spreadsheets.
Our goal is to make concepts like COGS clear, calculable and actionable — so founders can price confidently, manage inventory wisely and understand their true gross margin.
Trust & Safety
Empire AI Finance is a software and analysis platform. We do not provide financial advice, manage money, execute trades, hold deposits or promise investment returns. The information on this page is for educational and informational purposes only.
For decisions affecting your business, tax position or legal obligations, consult a qualified accountant or legal professional familiar with your jurisdiction.
What Empire AI Finance Does Not Provide
Financial Advice
We do not give personalised financial, investment, tax or legal advice. Our outputs are generated by software for informational purposes.
Trading or Brokerage
We do not execute trades, hold securities, or operate an investment platform. Empire AI Finance is a software toolset, not a broker-dealer.
Deposit-Taking or Custody
We never request, receive or hold client funds, cryptocurrencies or assets. All payments go through secure third-party checkout providers.
Promises of Returns
We do not guarantee profits, savings, valuations or business outcomes. Any examples shown are illustrative, not typical or guaranteed.
Explore the full toolkit
From COGS and gross profit to net margin and break-even, Empire AI Finance gives you the calculators and explainers to understand your numbers with clarity.
Last updated: 23 October 2026