What is cost of goods sold?
The short answer
Cost of goods sold (COGS) is the direct cost of the products you sold, or the services you delivered, in a period. It covers costs such as materials, stock and the labor that went into each job, but not overheads such as rent or marketing.
What it includes
For a business that sells products, cost of goods sold is mainly what you paid for the stock you sold, plus costs such as freight to bring it in. For a service business, it is the direct cost of doing the work: materials and parts used on jobs, subcontractors and the wages of the people doing the work, for the hours spent on it.
It does not include overheads that would exist whether you sold anything or not, such as office rent, insurance, software, admin wages and marketing.
What counts as cost of goods sold in your own accounts is set by how your books are kept, so check with your accountant if you are unsure.
How it is used
Revenue minus cost of goods sold is your gross profit:
Gross profit = revenue - cost of goods sold
Gross margin = gross profit / revenue x 100
For example, if your business brought in $50,000 last month and the materials and job labor for that work cost $30,000, your gross profit is $20,000 and your gross margin is 40%.
Why it matters for marketing
Gross margin is the figure to use when judging ads and campaigns, because it shows how much of each sale is left to pay for the marketing that won it. The profit margin calculator turns a price and a cost into a margin, and you can enter your revenue and cost of goods sold for a whole period to see your gross margin.