What is the difference between margin and markup?
Margin divides profit by selling price; markup divides profit by cost. Same dollars, different denominators.
Compare cost and selling price to get both margin and markup—two related but different percentages.
Provide unit cost and the price you sell at.
How to use Margin Calculator, plus the formulas and logic behind the results.
Margin is profit as a share of selling price. Markup is profit as a share of cost. The same dollar profit yields different percentages under each definition.
Profit = selling price − costMargin % = profit ÷ selling price × 100Markup % = profit ÷ cost × 100Margin vs markup
Profit is selling price minus cost. Margin divides by selling price; markup divides by cost. Zero selling price or zero cost blocks the related percentage.
Margin ≠ markup. A 40% margin is not a 40% markup. Example: cost $60, price $100 → $40 profit, 40% margin, ~66.67% markup.
Common questions about the calculation and how to interpret the estimate.
Margin divides profit by selling price; markup divides profit by cost. Same dollars, different denominators.
Many businesses set targets as margin on revenue. Confirm which definition your team or software uses.
Yes, if selling price is below cost—the calculator still reports the loss percentages.
Markup divides by cost, so a zero cost makes markup undefined.
This tool computes a simple gross margin from unit cost and price, before overhead taxes.
No—educational pricing math only; not accounting or tax advice.