Gross profit is a dollar amount, while gross margin usually expresses it as a percentage of sales. A business can increase its gross profit while experiencing a decline in its gross profit margin.
Gross profit is net sales minus the cost of goods sold, often shortened to COGS. Gross profit margin divides that result by net sales and expresses it as a percentage.
| Measure | Calculation | What it tells you |
|---|---|---|
| Gross profit | Net sales − cost of goods sold | The dollar amount remaining after the cost of the goods sold |
| Gross profit margin | Gross profit ÷ net sales × 100 | The percentage of each sales dollar remaining after that cost |
The wording isn’t completely consistent across reports. AccountingCoach explains that some people use gross margin to mean gross profit in dollars, while others use it for the percentage. Check the units and formula rather than relying on the label alone.
A report showing “gross margin: $40,000” is describing an amount. A report showing “gross margin: 40%” is describing a ratio. To keep your own reporting clear, label the measures gross profit ($) and gross profit margin (%).
Throughout this article, gross margin means the percentage. The formulas also work with a service business’s cost of delivering services, which may appear as cost of sales or cost of revenue.
Calculate both from the same sales figures
Start with net sales, which means sales after returns, allowances and discounts. Use the costs associated with those sales for the same reporting period. Mixing a month’s revenue with a year’s costs won’t produce a useful result.
Imagine a retailer has $100,000 in net sales and $60,000 in COGS for one month. All amounts in this example are hypothetical Canadian dollars, excluding sales taxes.
Calculate gross profit first
Gross profit = net sales − COGS
The retailer’s calculation is $100,000 − $60,000 = $40,000. That’s the amount left after accounting for the cost of the merchandise sold, with other business expenses still to cover. You can’t treat the full $40,000 as money available for the owner to withdraw.
Turn gross profit into a margin percentage
Gross profit margin (%) = gross profit ÷ net sales × 100
For the same retailer, $40,000 ÷ $100,000 × 100 = 40%. It retains 40 cents of every sales dollar after COGS, before the remaining expenses.
If you’re using Excel, divide gross profit by net sales and format the cell as a percentage. The underlying result is 0.40, which displays as 40%. Multiplying by 100 as well as applying percentage formatting would display 4,000%.
You can also work backwards from the percentage. A 40% margin on $100,000 in net sales means gross profit of $100,000 × 0.40 = $40,000. Always convert the percentage to its decimal form for that multiplication.
Gross profit can rise while gross margin falls
A larger dollar result doesn’t necessarily mean you’re retaining more of each sales dollar. Extend the retailer’s example to a second month, using the same cost classifications.
| Measure | First month | Second month |
|---|---|---|
| Net sales | $100,000 | $150,000 |
| COGS | $60,000 | $100,000 |
| Gross profit | $40,000 | $50,000 |
| Gross profit margin | 40% | 33.3% |
Gross profit increased by $10,000, so there’s more money available to cover the remaining expenses. But gross margin fell by about 6.7 percentage points. Each sales dollar now leaves about 33 cents after COGS, compared with 40 cents before.
Both results deserve attention. The extra gross profit may help cover the business’s overhead, but expanding sales hasn’t preserved the earlier margin percentage. You’d need the rest of the income statement to know whether net profit improved.
A falling margin gives you something to investigate. Check selling prices after discounts, supplier costs, production costs and the mix of products sold. Selling more of a lower-margin product can reduce the overall percentage even if individual product prices haven’t changed.
The costs you include change the result
The subtraction is straightforward; deciding which costs belong in it takes more care. For a retailer, COGS includes the cost of the inventory actually sold. Buying inventory that remains unsold doesn’t make the entire purchase a cost of that period’s sales.
For a manufacturer, inventory costs can include materials, production labour and allocated production overhead. COGS isn’t limited to costs that vary with each extra unit. Fixed production overhead can also form part of inventory cost and reach the income statement when that inventory is sold.
General administrative salaries and head-office expenses are different from production costs. Don’t exclude every salary from COGS or include the entire payroll automatically. Classify costs according to the work they support and the accounting policies your business uses.
Apply the same approach when comparing periods, products or companies. If one report includes a cost in COGS and another puts it below gross profit, their margins aren’t directly comparable. Ask your bookkeeper or accountant to resolve unclear classifications before using the result to change prices.
Gross margin and markup use different denominators
For an individual item, margin divides its gross profit by its selling price. Markup divides the same gross profit by its cost. A target markup of 40% therefore won’t give you a gross margin of 40%.
Suppose an item sells for $100 and its cost is $60. Its $40 gross profit produces a 40% margin ($40 ÷ $100 × 100) and a 66.7% markup ($40 ÷ $60 × 100).
If you instead add a 40% markup to that $60 cost, the price becomes $84. The $24 gross profit divided by $84 gives a margin of about 28.6%. Before accepting a pricing calculation, check which base the percentage uses.
Gross profit still has to cover the rest of the business
Neither gross profit nor gross margin tells you the final profit after all expenses. Selling costs, general administration, interest and income tax still affect the result. Net profit accounts for the remaining income and expenses, so a business can have positive gross profit and still report a net loss.
These measures also don’t tell you how much cash is in the bank. Under accrual accounting, a sale can contribute to gross profit before the customer pays. The distinction between cash flow and profit becomes especially useful when sales look strong but bills are coming due.
For pricing decisions, read the margin alongside sales volume, operating expenses and customer demand. A competitive pricing analysis adds market context, but a competitor’s price won’t tell you whether your own costs are covered.
Put dollars and percentages beside each other
Open your latest income statement and calculate both measures from the same net sales and cost figures. Record gross profit in dollars and gross profit margin as a percentage, then compare them with the previous period using consistent classifications.
If the figures move in different directions, investigate what changed before adjusting your prices.
Frequently asked questions
Can gross margin be negative?
Yes. With positive net sales, gross margin is negative when cost of goods sold exceeds those sales. Gross profit is also negative, meaning the sales haven’t covered COGS even before the business’s remaining expenses.
What happens to gross margin when net sales are zero?
Gross profit can still be calculated as net sales minus COGS, but gross profit margin is undefined when net sales are zero. You can’t divide by zero. Report the percentage as unavailable rather than 0%.
What is a good gross profit margin?
There isn’t one target that suits every business. Compare businesses with similar models and cost classifications, and check whether your gross profit covers the remaining expenses at your sales volume. A percentage alone won’t tell you whether the business earns a net profit.
Can you average the gross margins of different products?
For an overall gross profit margin, add the products’ gross profit amounts and divide by their combined net sales, then multiply by 100. A simple average of individual margin percentages can mislead you when the products generate different amounts of sales.

Tech Help Canada Staff researches, writes, and reviews practical content for business owners and professionals. Our coverage spans business, marketing, SEO, technology, and the tools and systems people use to grow and operate online. We focus on clear, useful information backed by research, hands-on experience, and editorial review. Learn more about our team and editorial standards. Need help with something? Contact Us







