Gross margin shows how much of a business’s net sales remains after the cost of goods sold is subtracted. To calculate it, divide gross profit by net sales. The result can help you compare periods or offerings, but it does not show what remains after operating expenses or whether customers will accept a proposed price.
Use the same revenue and cost definitions each time, then consider what the calculation leaves out. If you want the broader bookkeeping context, the small business bookkeeping guide explains how financial reports fit into a regular review.
Gross profit, gross margin, and markup
These terms describe related measures, but they are not interchangeable:
- Net sales are sales after the returns, discounts, or allowances included in the business’s reporting method.
- Cost of goods sold (COGS), or a comparable cost-of-sales line, is the cost assigned to goods sold. A report may use another label for services; the categories included can vary by business type, accounting method, and reporting purpose.
- Gross profit is net sales minus COGS.
- Gross margin expresses gross profit as a share of net sales.
- Markup compares the amount added to cost with the cost itself.
The IRS uses a similar starting calculation for Schedule C: net receipts minus cost of goods sold produces gross profit. That publication addresses federal tax reporting for its intended audience; use the definitions in your own financial reports consistently and check with a qualified professional if you have a tax-classification question.
The gross margin formula
Start with the business’s net sales and COGS for the same period and reporting scope:
Gross profit = net sales − cost of goods sold
Gross margin (%) = (gross profit ÷ net sales) × 100
For a single offering, use the net selling price and the cost assigned to that sale:
Gross margin (%) = ((net selling price − cost assigned to the sale) ÷ net selling price) × 100
Keep the denominator in view. Gross margin divides profit by sales; markup divides the amount added by cost. If the cost assigned to a sale is C and its selling price is P, then markup is (P − C) ÷ C, while margin is (P − C) ÷ P. Using a markup percentage as if it were a gross-margin percentage will produce a different price.
Before comparing products or periods
Confirm that the reports cover the same scope
Check the date range, entity, location, product group, and reporting basis. A month compared with a quarter, or one location compared with the consolidated business, can make a difference appear larger or smaller than it is. Check whether refunds, discounts, or credits are included consistently in net sales.
Review what the report includes in direct costs
COGS is not a universal shopping list of costs. A retailer, manufacturer, and service business may classify costs differently. For example, inventory and purchase costs can affect a product business’s calculation, while a service business may focus its management analysis on costs directly associated with delivering the service. Whether labor, shipping, platform fees, or other items belong in a particular line depends on the business’s reporting method and accounting policy.
Do not move an expense into or out of COGS just to make a margin look better. If you change a classification or method, document the reason and consider how it affects comparisons with earlier periods. Tax reporting can follow additional rules, so a management calculation should not be treated as a tax conclusion.
Look at the underlying sales mix
A business-wide margin can move because the mix of products, services, customers, or channels changed—even when the margin on each individual offering stayed similar. When possible, compare like with like. A blended average is useful for a high-level view, but it may hide which offering or channel is driving the result.
If the question is how the business performed over a completed month, use the monthly profit and loss review to check the report period, revenue, direct costs, and changes in context.
Use gross margin as one input when reviewing price
A margin target can help translate a cost assumption into a candidate selling price. It does not set a market price by itself. First decide what cost the calculation is meant to cover and what margin target the business is evaluating. Then use:
Candidate net selling price = relevant cost per sale ÷ (1 − target margin)
Write the target margin as a decimal in the formula. The result is a starting point based on the cost included in the numerator. If the advertised price will be discounted, compare the resulting net price with the amount customers are likely to pay. If the cost leaves out delivery time, materials, fulfillment, commissions, or other costs relevant to the offer, the calculated price will not account for them.
Next, test the candidate price against the customer’s alternatives, the value of the offer, expected sales volume, capacity, and the business’s full cost structure. The SBA recommends using market research and competitive analysis to understand demand, alternatives, and what customers pay. A target margin calculation cannot tell you whether the price is acceptable in that market.
Gross margin is not the same as contribution margin
Gross margin is based on sales and the COGS assigned in the financial report. Contribution margin uses variable costs: contribution margin dollars = sales − variable costs, and contribution margin ratio = contribution margin dollars ÷ sales. A cost included in COGS does not automatically behave like a variable cost, so the categories and purpose differ. Do not substitute one measure for the other without checking what the calculation includes.
The SBA’s break-even guidance uses price and variable cost to calculate contribution margin and then relates contribution margin to fixed costs. That is a broader analysis than gross margin alone: a business can report a positive gross margin and still fail to cover rent, administration, financing, or other costs.
A practical way to review a change in margin
When the result shifts, investigate the records and operating conditions before changing prices:
- Verify the inputs. Check sales, credits, refunds, cost entries, and the period covered. Confirm that the data is complete enough for the comparison.
- Separate price, cost, and mix. Ask whether the change came from a selling-price adjustment, higher direct costs, a different combination of offerings, or a change in how transactions were recorded.
- Compare the same basis. Review comparable periods or offerings using the same scope and cost definitions. If the method changed, explain the effect rather than presenting the comparison as like for like.
- Test a proposed price. Use a margin calculation to understand the effect of a candidate price, then consider market demand, sales volume, and costs outside the calculation.
- Review the business-wide result. A stronger product margin may not offset lower sales volume or higher operating costs. Read the P&L and other relevant records before drawing a conclusion.
If the question is whether timing of collections and payments can support a change, that belongs in a forward-looking review such as the cash flow forecast guide. Gross margin is a performance measure, not a cash forecast.
Common gross-margin mistakes
- Using markup as margin. The denominator is different: margin uses sales; markup uses cost.
- Comparing reports with different scopes. Check dates, locations, offerings, and reporting basis before interpreting a change.
- Ignoring returns or discounts. Use net sales as presented in the report and confirm adjustments are handled consistently.
- Using a blended average to price every offering. Product, service, and sales-channel costs can differ; review a suitable level of detail.
- Changing cost classifications without documenting them. This can make one period appear stronger while undermining useful comparisons.
- Treating gross margin as net profit. Operating expenses and other costs still affect the business-wide result.
- Assuming a target margin proves the market will pay the price. A formula cannot replace customer, competitor, and demand research.
- Using gross margin as a tax answer. Financial-report categories and tax rules do not automatically resolve one another.
Frequently asked questions
What is the difference between gross profit and gross margin?
Gross profit is the amount left after subtracting COGS from net sales. Gross margin expresses that amount as a percentage of net sales.
Is gross margin the same as markup?
No. Gross margin divides the amount left after cost by the selling price or net sales. Markup divides the amount added by the cost. The two percentages are not interchangeable.
Does a higher gross margin always mean a better business?
Not by itself. The measure does not show sales volume, operating expenses, cash timing, or whether customers will accept the price. Review it alongside the records and decision you are evaluating.
Can I use gross margin to set a selling price?
It can help estimate a candidate price for a chosen cost and target margin. You still need to consider which costs are included, other expenses, customer demand, competitors, and the offer’s sales volume.
How often should I review gross margin?
Use a cadence that fits the business and review it when prices, costs, sales mix, or reporting categories change. Make sure each comparison uses a consistent scope.

