Calculate gross profit and margin from net sales and cost of goods sold. Change the cost to see how much of each sales dollar you keep.
Example figures
Gross margin40%Profit as a share of net sales
Gross profit$400
Cost share of sales60%
Calculation breakdown
Gross Margin Percentage Calculator results
Gross profit1,000 − 600
$400
Gross margin100 × 400 ÷ 1,000
40%
Cost share of sales100 × 600 ÷ 1,000
60%
Use sales after returns and discounts. Match the cost of goods to the items sold in the same period.
What changes the result?
Gross margin by net sales
Gross margin vs. gross profit
Gross profit subtracts cost of goods sold from net sales. Divide that dollar profit by net sales and multiply by 100 to express gross margin. A 40% margin leaves 40 cents per sales dollar to cover operating expenses and profit.
Worked example
Selling $1,000 of goods that cost $600 leaves $400, or 40 cents of gross profit per dollar of net sales. A $50 rise in cost lowers margin by five percentage points.
Is a 40% gross margin high?
A 40% gross margin leaves $40 from each $100 of net sales for overhead, interest, tax and profit. Compare it with the same product line and period. A high gross margin can still produce a net loss.