CalcWisp

Gross Margin

Also called: gross profit margin, gross margin percentage

Definition: Gross margin is gross profit as a percentage of sales: (sales − cost of goods sold) ÷ sales × 100. It shows how much of each sales dollar remains after direct costs.

Updated November 7, 2026 · How we check facts

Gross margin measures the share of sales left after paying the direct cost of the goods sold. Harvard Business School Online gives it as (Sales − Cost of Goods Sold) ÷ Sales. Because it is divided by the selling price, a gross margin is always below 100%.

Formula

gross margin (%) = (sales − COGS) ÷ sales × 100

Sales is the selling price (or total net sales); COGS is the direct cost of the goods sold.

Example

An item costs $60 and sells for $100. Gross profit is $40, so gross margin = 40 ÷ 100 × 100 = 40%. To reach that margin from a $60 cost, price = 60 ÷ (1 − 0.40) = $100.

Gross margin vs markup

Markup divides the same profit by cost instead of price. The $40 profit is a 40% gross margin but a 66.67% markup. Penn State Extension shows the same trap: a 30% markup on a $1.00 item yields only a 23% margin. See how to calculate profit margin for a conversion table, and the markup calculator to convert any pair.

Calculate it

Free toolProfit CalculatorProfit, margin and break-even in one place.Free toolMarkup CalculatorMarkup, margin, profit and price in one place.

Guides that explain it

Related terms

Sources

  1. Harvard Business School Online — How to Use Profitability & Margin Ratios
  2. Penn State Extension — What's the Difference Between Markup and Profit?