Cost of goods sold (COGS) calculator
Cost of goods sold, or cost of sales, is the direct cost of what you sold: materials, hosting, payment fees and anything else that grows with each sale.
The formula
COGS = direct costs of what you sold
Worked example: £15,000 a month
The example is a UK software company in one month: £50,000 of revenue excluding VAT, 400 customers and £180,000 in the bank.
- £15,000 ÷ £50,000 revenue = 30.0% of revenue
Try it with your numbers
Work out your COGS
It starts on the example. Replace any figure with your own; nothing you type leaves your browser.
Your cost of goods sold
£15,000
a month
- £15,000 ÷ £50,000 revenue = 30.0% of revenue
Formula: Direct costs of what you sold.
- Gross profit
- £35,000
- Gross margin
- 70.0%
Everything your numbers show
29 of 29 worked out so far. Select one for its page.
- Revenue£50,000a month
- VAT£6,000a month
- MRR£40,000a month
- ARR£480,000a year
- GMV£250,000a month
- ARPU£119.62a month
- CAC£300a customer
- LTV£2,791a customer
- LTV:CAC9.3:1
- Churn3.0%a month
- NRR99.6%a month
- GRR95.7%a month
- AOV£111.11an order
- Gross margin70.0%
- EBITDA−£4,000a month
- ROI30.0%
- YoY67.7%year on year
- MoM6.4%month on month
- QoQ14.3%quarter on quarter
- Burn rate£9,000a month
- Runway20 months
- Operating cash flow−£7,000a month
- Profit and loss−£5,000a month
- Balance sheet£160,000Net assets
- Cash flow−£9,000a month
- COGS£15,000a month
- OPEX£39,000a month
- CAPEX£2,000a month
- FTE8.0Full-time equivalents
How to read your result
COGS as a share of revenue is the other side of gross margin. If it falls per sale as you grow, your costs scale well.
Watch out for
Fixed costs such as rent or most salaries do not belong in COGS. Putting them there makes margins look worse and hides how costs scale.
Last checked . Estimates only, not financial, tax or legal advice: check your accounts and documents, and take advice before you act. More terms in the startup glossary.