
How gross margin works
To find gross margin, start with revenue, which is the total money from sales. Subtract the cost of goods sold, which covers the direct costs of making or buying what you sell. The result is gross profit. Divide gross profit by revenue and multiply by 100 to get the gross margin percentage.
Direct costs usually include materials, inventory and the labor needed to produce the item. Overhead costs such as rent, marketing and office software are not part of cost of goods sold. They come out later, when you calculate net profit. Because of this, gross margin tells you about pricing and production efficiency rather than the full health of the business.
A higher gross margin means more of each sale is available to cover operating expenses. A lower margin can still work for a high-volume business, but it leaves less room for error. If your costs rise and you do not raise prices, your gross margin shrinks even when sales grow.
Example
This is a hypothetical example. A small shop has $50,000 of revenue in a month and $30,000 of cost of goods sold. Gross profit is $50,000 minus $30,000, which equals $20,000. Gross margin is $20,000 divided by $50,000, which equals 0.40. As a percentage, the gross margin is 40%. If the owner raises prices and the cost stays at $30,000 on the same sales, the margin improves, but the example assumes the same volume for simplicity.
Gross margin vs net margin
Gross margin and net margin both measure profitability, but they include different costs. Gross margin looks only at direct costs. Net margin subtracts every expense, including rent, payroll, interest and taxes.
| Measure | What it subtracts | What it tells you |
|---|---|---|
| Gross margin | Cost of goods sold | Pricing and production efficiency |
| Net margin | All expenses and taxes | Final profit from each sales dollar |
Common mistakes
- Confusing margin with markup. Markup is measured against cost, while margin is measured against revenue, so the percentages differ.
- Leaving out costs. Missing shipping, packaging or payment fees makes the margin look better than it is.
- Comparing different products. Calculate margin for each product line before you decide which items to push.
- Ignoring price changes. Supplier increases can quietly shrink your margin, so review it regularly.
Questions
Is a 40% gross margin good for your business?
It depends on your industry. Retail, restaurants and service businesses have very different cost structures. Compare your margin with businesses that sell similar products, and track whether your own margin is stable over time. Gross margin also helps you compare supplier prices. If a supplier raises its cost, you can calculate how much your selling price must rise to keep the same margin percentage, and whether customers are likely to accept the change. Test price changes on a small set of products before rolling them out widely.
How often should you calculate gross margin?
Many owners check it monthly, since costs and prices can change quickly. Calculating it by product line can show you which items earn the most per sale. For example, if a product sells for $100 and its cost of goods sold is $65, gross profit is $35 and the gross margin is 35%. Each product line should be checked separately, because margins often vary widely across a single catalog. Seasonal discounts can also lower the average, so compare the same months across years.
Does gross margin include taxes?
No. Gross margin stops at cost of goods sold. Taxes appear lower on the income statement, so a licensed accountant can help you understand how they affect your final profit. Accounting software can calculate gross margin automatically, but only if cost of goods sold is recorded correctly for each sale. Review the setup once a year so that new products, returns and supplier changes are captured accurately in the totals.
Related on BizOwnerEdge
- Profit margin and markup calculator
- Profit margin vs markup explained
- Customer acquisition cost calculator
- How to read a profit and loss statement
- How to calculate customer acquisition cost (and what to count)




