Two ratios, different denominators
Suppose an item costs $60 and sells for $100. Gross profit is $40. Gross margin is $40 ÷ $100 × 100 = 40%. Markup is $40 ÷ $60 × 100 = 66.67%. Both describe the same transaction, but answer different questions.
Convert a target margin into a price
If you want a 40% gross margin on a $60 cost, divide $60 by 0.60 to get $100. Multiplying by 1.40 would give $84 and a gross margin of only 28.57%. A markup is not interchangeable with a margin.
Use the right number at the right time
Markup is convenient when building a price from a cost. Margin is useful when comparing the proportion of revenue retained across products. Keep cost definitions consistent when comparing categories, and account for selling expenses separately.
Check the edge cases
A zero selling price makes gross margin undefined, and a zero product cost makes markup undefined. A selling price below cost produces negative gross profit. No ratio should be presented as a meaningful zero when its denominator is zero.
Key takeaway. Use margin to understand revenue retained and markup to understand price above cost.
Try the calculatorIllustrative examples only. This guide is general information, not financial, tax or accounting advice.