All calculators

Comparison · Pricing & Margin

Gross Margin vs. Net Margin: What Each Includes

Follow one revenue total through gross, operating, and net profit so each margin has a clear cost scope and the same sales denominator.

By PriceAndProfit Editorial Updated

Gross margin and net margin both divide a profit measure by revenue, but they subtract different costs first. Gross margin stops after cost of goods sold. Net margin uses net income after the remaining applicable expenses and other income or expense. A store can show an attractive gross margin while its final result is negative because operating costs consume more than gross profit supplies.

Gross margin is 40%, operating margin 12%, and net margin 10% of the same $50,000 sales.
Hypothetical reconciliation. All percentages divide the stated profit subtotal by $50,000 of sales.

Worked calculation

Gross margin = (net sales − cost of goods sold) ÷ net sales × 100%; net margin = net income ÷ net sales × 100%

Take a hypothetical month with $50,000 of net sales and $30,000 of cost of goods sold. Gross profit is $20,000 and gross margin is 40% of sales. If operating expenses are $14,000, operating profit becomes $6,000, or 12% of sales. Assume the example has another $1,000 of net expense and no other items. Net income is then $5,000, giving a 10% net margin. No tax rate or financing assumption is supplied here.

The $20,000 of gross profit is not freely available cash. It first supports the expenses below the gross-profit line, and collection timing can differ from the revenue period. Likewise, a $6,000 operating profit cannot be labeled net income if additional expenses remain. Write the numerator next to every reported percentage. A dashboard labeled simply margin hides whether the calculation includes fulfillment, administrative staff, or other costs.

Hypothetical worked example
MeasureProfit dollarsPercentage of $50,000 sales
Gross $20,000 40%
Operating $6,000 12%
Net in this example $5,000 10%

Decision checks and limits

Cost classification matters when comparing periods or channels. If fulfillment labor moves from cost of goods sold to operating expenses, reported gross margin can rise while operating profit remains unchanged. Before treating that movement as better pricing, reconcile the dollar totals. Comparisons between businesses are especially fragile when their cost classifications differ; this page supplies a calculation method, not a benchmark for a good margin.

For pricing decisions, start with the product's defined gross margin and then build a contribution view that includes additional costs triggered by a sale. Use the overall operating result to test whether the planned volume covers shared expenses. Net margin is a final reporting measure, not a substitute for estimating the incremental effect of one order. If net sales are zero, none of these sales-based ratios has a valid denominator; report the dollar loss and an undefined margin rather than zero percent.

Gross margin

  • Cost scope: Subtracts cost of goods sold. Useful for reviewing the defined product-cost relationship.
  • Blind spot: Does not by itself cover all operating expenses or establish final profitability.

Net margin

  • Cost scope: Uses net income after all applicable income and expense items.
  • Blind spot: Can move for reasons unrelated to the current selling price or product cost.
Bottom line

Choose the measure or structure that matches the stated decision, then reconcile the dollars using the same period and cost scope.

Apply the calculation

  1. Fix the reporting scope

    Use the same reporting period, returns treatment, and net-sales total before comparing any margins.

  2. Trace every cost

    Show where each expense enters the profit calculation. Prevent a delivery charge or a payroll amount from appearing twice.

  3. Investigate changes

    Separate price changes, product mix, and cost reclassification. A higher percentage alone does not establish more profit dollars.

Method references: SEC: Beginners' Guide to Financial Statements. Accessed October 22, 2026. All dollar figures are hypothetical worked examples.

Related calculators & guides