How gross margin works
Gross margin is gross profit over revenue. $2,000,000 of sales minus $1,300,000 of cost of goods leaves $700,000, a 35 percent margin. It is not earnings, and it is not a current ratio. It is the share of each sale that survives its direct cost.
Current ratio
1.50
Take out $160,000 of inventory and the quick ratio is 1.10.
- Quick ratio, inventory removed
- 1.10
- Gross profit
- $700,000
- Gross margin
- 35.00%
Everything due to become cash within a year: cash, receivables, inventory, prepayments.
Everything falling due within a year, including the next twelve months of loan repayments.
Stock on hand. It sits inside current assets, and it is what the quick ratio takes back out.
The top line of the income statement. A full year here, and the same period in the line below.
The cost that only exists because the sale happened, over the same period as revenue. Wages, rent and marketing sit below it.
On this page
In short
- Gross profit is revenue minus cost of goods sold. On $2,000,000 of sales and $1,300,000 of cost that is $700,000. Gross margin is 35 percent.
- A software-shaped sheet on the same $2,000,000 of sales with $300,000 of cost of goods prints $1,700,000 of gross profit and an 85 percent margin. Same sales, different cost base above the line.
- A grocer on $5,000,000 of sales and $3,900,000 of cost of goods keeps $1,100,000, a 22 percent margin, which is more gross profit in dollars than the wholesaler's 35 percent on a smaller top line.
- Gross margin is not contribution margin. Contribution margin is a per-unit planning identity. Gross margin is a statement ratio.
- How the current ratio works is the liquidity pair on the same calculator. This page is the margin.
What survives the direct cost of the sale
Gross margin asks: of every dollar of sales, how much is left after the cost that only exists because the sale happened?
is revenue, cost of goods sold, both off the same stretch of the income statement. On $2,000,000 of sales and $1,300,000 of cost, gross profit is $700,000 and the margin is 35 percent.
Cost of goods sold means the goods themselves, the freight in, the direct labour that made them, the hosting bill for the accounts a software firm signed up. The factory manager's salary, the office lease and the sales team sit below that line, not in it. High margin does not mean high profit. A firm at 85 percent gross margin that spends everything below the line on engineers and sales can lose money.
The business ratios calculator on this page prints this margin next to the current and quick ratios so a liquid wholesaler is not confused with a high-margin firm that happens to share a current ratio.
The same sales, a different cost base
Hold sales at $2,000,000. Cut cost of goods to $300,000, the software-shaped sheet. Gross profit is $1,700,000. Margin is 85 percent. The current ratio on that sheet is still 1.50, matching the wholesaler. Liquidity did not move. The margin did, because almost none of the second copy's cost sits above the gross profit line.
Neither company is better run than the other on this evidence. One buys goods and resells them. The other writes code once and sells it many times. The margin is mostly telling you which is which.
A grocer on $5,000,000 of sales and $3,900,000 of cost of goods keeps $1,100,000, a 22 percent margin. That is more gross profit in dollars than the wholesaler's $700,000 at 35 percent. Margin is a share. Gross profit is a pile. Ranking firms on the share alone ranks the business model, not the cash.
Gross margin is not contribution margin
Contribution margin is price minus variable cost per unit, used to find a break-even count. Gross margin is a year of revenue minus a year of cost of goods, over that revenue. They can sit near each other on a one-product firm and still be different objects the moment overheads sit inside cost of goods, or variable selling costs sit below the gross profit line.
How contribution margin works is the per-unit identity. How break-even analysis works is the unit count that identity feeds. Mixing the two is how a 35 percent gross margin gets read as a 35 percent contribution margin and a break-even that will not match the books.
A good number is industry-relative
There is no right gross margin on its own. A grocer runs a low margin on high volume on purpose. A software firm runs a high margin and then spends it below the line. Compare a company with itself a year ago, and with companies doing the same work. A margin that has fallen from 40 percent to 35 percent in four quarters says something. The same 35 percent read cold says almost nothing until you know what the company sells.
Two other numbers change the reading. How much fixed cost sits below the gross profit line decides how much volume the margin has to cover, which is the break-even question. How much of the balance sheet is borrowed decides how much room there is for a bad quarter, which is the leverage ratio.
Match the period, then read the line
Revenue and cost of goods sold have to come from the same stretch of time. A year of sales against a quarter of cost is not a margin. A balance sheet line mixed into this ratio is not a margin either: inventory is a stock on a date, cost of goods is a flow over a stretch.
Gross profit is not earnings. What each firm keeps at the bottom depends on the cost base sitting below that line, which no margin on this page shows. How free cash flow works is further down the statement, after tax, capex and the change in working capital.
What this page is not doing
It is not a ranking of firms, not a contribution-margin calculator, and not a net-margin engine. The three sheets are 35 percent on $2,000,000 of wholesale sales ($700,000 of gross profit), 85 percent on the same sales with a software-shaped cost of goods ($1,700,000), and 22 percent on $5,000,000 of grocery sales ($1,100,000). This is educational material, not financial advice.
Worked examples
A wholesaler, all three ratios
A distributor holds $600,000 of current assets, of which $160,000 is inventory, against $400,000 of current liabilities. Over the year it sold $2,000,000 of goods that cost $1,300,000 to buy. What do the three ratios read?
- Current ratio is current assets over current liabilities: .
- Take the inventory out to get the quick assets: .
- Quick ratio divides that by the same liabilities: .
- Gross profit is revenue minus the cost of goods sold: $2,000,000 minus $1,300,000 is $700,000.
- Gross margin is gross profit over revenue: , which is 35 percent.
The current ratio is 1.50 and the quick ratio is 1.10, so the next year of bills is covered either way you count. Gross margin is 35 percent, meaning $700,000 of the $2,000,000 in sales is left over to pay wages, rent and everything else that is not the cost of the goods themselves.
Same liquidity, a completely different margin
A software company reports the same $600,000 of current assets and $400,000 of current liabilities, but holds no inventory at all. It bills $2,000,000 a year, and its cost of goods sold, mostly hosting and customer support, is $300,000. How does it compare with the wholesaler?
- The current ratio is identical: .
- Nothing comes out for inventory, so the quick ratio is the same 1.50.
- Gross profit is $2,000,000 minus $300,000, which is $1,700,000.
- Gross margin is , which is 85 percent.
Both liquidity ratios read 1.50, because there is no inventory to strip out. Gross margin is 85 percent against the wholesaler's 35 percent on the same $2,000,000 of sales. Neither company is better run than the other. One buys goods and resells them, the other writes code once and sells it many times, and the margin is mostly telling you which is which.
Liquid on paper, not once the stock comes out
A grocery chain holds $900,000 of current assets against $450,000 of current liabilities, which looks comfortable next to both companies above. But $675,000 of that is stock sitting on the shelves. Revenue is $5,000,000 and the goods cost $3,900,000.
- Current ratio: , the strongest reading on this page.
- Quick assets are what is left once the stock comes out: .
- Quick ratio: , the weakest reading on this page.
- Gross profit is $5,000,000 minus $3,900,000, which is $1,100,000.
- Gross margin is , which is 22 percent.
The same company scores 2.00 on the current ratio and 0.50 on the quick ratio. Three quarters of its current assets are groceries, so the bills falling due in the next year are twice the quick assets standing behind them. For a grocer that sells its stock in days and pays suppliers later, this is ordinary. In a firm holding machine parts that turn over once a year, the identical 0.50 would be a real warning.
Common questions
Is a higher gross margin always better?
No. It often names the business model. A grocer at 22 percent can keep more gross profit in dollars than a specialist at 85 percent on a much smaller top line, and both can lose money below the line.
Where does the sales team sit?
Usually below gross profit, in operating expenses, not in cost of goods. Direct labour that made the thing that was sold sits in cost of goods. Mixing those two is how a margin gets padded or understated.
Can gross margin be negative?
Yes. Cost of goods larger than revenue means every sale loses money before any overhead is paid. No volume covers that. Raise the price, cut the direct cost, or stop selling that line.
Keep reading
- How net profit margin works
- Gross margin vs net profit margin
- How return on assets works
- How DuPont analysis works
- Gross margin vs contribution margin
- Balance sheet, defined
- Cash flow, defined
- Current ratio and gross margin calculator
- How the current ratio works
- How contribution margin works
- How break-even analysis works
- How the leverage ratio works
- How operating margin works
- Operating vs gross margin
This page is educational material, not financial advice. The figures come from the formula shown and assume the inputs you enter hold for the whole term. Your own rate, fees, taxes and timing will differ, so treat the output as arithmetic to check a decision against, not as a recommendation.