Cost of goods sold in plain words: what it is, what goes into it and how to calculate it
Cost of goods sold is what it costs you to make or buy the thing you sell. A home bakery bakes 50 cakes a week and sells each for $10. It looks like $4 left on every cake, until you add up the whole batch: $300, or $6 a cake. And if only 40 of the cakes sell, each one that sold really cost $7.50.

On this page
What cost of goods sold is
Cost of goods sold is the total cost of making or buying one unit of the product or service you then sell. A muffin, a cup of coffee, an hour of a repairman's work, a pair of sneakers from a wholesaler: each one has its own cost.
Do not mix it up with price. The price is what you ask of the customer. The cost is what you have already spent. The gap between them is what you earn before the remaining expenses. How that gap turns into profit has its own article.
One more clarification. Cost is not every expense of the business. The office rent that the whole company shares, or all of your advertising, are not part of it until you decide how to split them among products.
What it is made of: direct and indirect costs
Costs fall into two groups. The test is simple: can you say which exact product this expense went into?
- Direct costs. Easy to tie to the product: ingredients for the cake, the box, the baker's time, gas for the oven. Eat the cake and you have eaten those costs too.
- Indirect costs. The whole business needs them but they do not attach to one cake: kitchen rent, internet and phone, advertising. They are allocated across products by a rule you choose, for example evenly per unit.
In formal accounting, cost of goods sold usually covers the direct costs plus production overhead, while advertising and delivery sit among operating expenses. For your own pricing, a "full cost per unit" that includes everything is more honest. Forget the indirect costs and the number comes out too low and the price too hopeful. It is the most common mistake among people who have just started selling.
How to calculate it
The formula is short: unit cost = (direct costs + indirect costs) / number of units.
- Pick a period or a batch: a week, a month, one production run.
- Add up the direct costs for it.
- Add the share of indirect costs for the same period.
- Divide the sum by the number of units you made.
Decide how you split indirect costs and keep using that method. Otherwise you cannot compare month to month. If you keep stock, the method for counting it (first in first out, or an average) is also part of the rules you pick and stick to.
Working it out on a cake
A made-up example. A home bakery bakes 50 cakes a week.
- Ingredients: $90.
- Boxes and packaging: $20.
- The baker's work: $80.
- Gas and electricity for baking: $10.
Direct costs: 90 + 20 + 80 + 10 = $200. Indirect for the same week: a share of kitchen rent $60, phone and internet $15, advertising $25, $100 together. Full cost: 200 + 100 = $300. Cost of one cake: 300 / 50 = $6.
Sell it for $10 and $4 is left on the cake, which is 40% of the price. It is the same 60 and 100 as in the piece on profitability, only in cakes: a markup of about 66.7% over cost and a 40% margin on price.

Why the number moves
It is not carved in stone. Two things push it up and down.
The first is volume. Suppose you bake 100 cakes, not 50. Direct costs double to $400. The indirect costs stay at the same $100, because rent does not care how many cakes you bake. That is $500 for 100 cakes, or $5 each instead of $6. The more you make, the more the fixed costs spread thin.
The second is what you fail to sell. You baked 50 and sold 40. The costs are still $300, but now they have to be divided by the 40 you sold: 300 / 40 = $7.50. The margin on a $10 price drops from 40% to 25%. The ten extra cakes did not vanish. They hid inside the cost of the rest.
The kinds of cost
- Production cost. Only what went into making the thing: materials, labor, a share of the workshop expenses.
- Full cost. Production cost plus selling costs: delivery packaging, advertising, logistics.
- Planned cost. What you worked out in advance when you launched the product.
- Actual cost. What it really turned out to be. The gap between planned and actual shows where your estimate was wrong.
The names and what is included depend on who is counting and why. For yourself you can use full cost. For official reporting the rules are their own and depend on the country.
Cost, price and profit
The price has to be above the cost, or every sale makes you poorer. But a price a little above cost does not guarantee profit either. Some costs may be left out of the calculation: taxes, card processing fees, discounts, returns. Card fees have their own article on merchant acquiring.
It helps to keep three numbers in front of you, not one: the cost, the price, and what you actually keep after everything. And ask yourself: if sales drop by a fifth, does the price still hold? If not, that is a reason to recalculate.
Common mistakes
- Not counting your own labor. If you are the baker and you pay yourself nothing, the cost is too low.
- Forgetting indirect costs. Rent, phone, bookkeeping software.
- Dividing by what you made, not by what you sold. Unsold goods sit there on your money.
- Calculating once. Ingredient and rent prices change, so redo the numbers every quarter.
- Not remembering how you split things. Pick a rule for indirect costs and write it down.
You can lower cost without making the product worse: buy in bulk what you use fast, cut waste and rejects, rethink packaging, negotiate with suppliers. Skimping on quality usually comes back as complaints and fewer repeat buyers.
Related reading: leasing, financial literacy, the family budget, the break-even point and what is revenue.
Where TASE fits
Every activity has its own "cost": for a cake it is ingredients and work, for trading it is fees and service charges. With TASE the facts are just as plain: accounts start at $10,000, the system trades futures on Binance, Bybit, OKX and BingX, your funds stay in your own exchange account, the API key is created without withdrawal rights, and every position is visible in your dashboard. More on the technology page. Exchange availability depends on your country, so check the terms before you register.
Where to start
Pick one product or service of your own. Write down all the costs for last month, mark which are direct and which indirect, and divide by the number of units you sold. Came out higher than you expected? That is normal. Most people are surprised right here.
This article is educational and is not financial, legal or tax advice. The numbers in the examples are hypothetical. Cost accounting rules depend on the country and the kind of business.
Frequently asked questions
What is cost of goods sold in simple words?
It is what it costs you to make or buy one unit of the product or service you sell. It includes direct costs and a share of indirect costs.
How do you calculate unit cost?
Add the direct costs and a share of indirect costs for the period and divide by the number of units. In the example, (200 + 100) / 50 = $6 per cake.
What is included in cost of goods sold?
Materials, labor and part of production overhead. In a full cost it also covers selling expenses. What is included depends on the rules you choose.
How is cost different from price?
Cost is what you spend per unit and price is what the customer pays. The gap pays for other expenses and leaves profit.
What types of cost are there?
Production cost, full cost, planned cost and actual cost. The first two differ by selling expenses, the last two by estimate versus result.
How can unit cost be reduced?
Buy in bulk, cut waste and rejects, negotiate with suppliers and raise volume. Avoid cutting quality, since lost customers cost more.
Educational content, not investment advice. Trading crypto and derivatives carries a high risk of losing all invested capital.



