Margin Calculator
Profit margin from cost and price.
Profit margin from cost and price.
The Margin Calculator finds selling price, cost, or margin percentage from any two of those inputs — the essential retail and e-commerce pricing tool.
Margin % = (Price − Cost) / Price. Markup % = (Price − Cost) / Cost. Margin and markup are different metrics on the same numbers.
Margin = (Price − Cost) / Price
Markup = (Price − Cost) / CostA $40 cost item with a target 40% margin sells at $66.67 for $26.67 profit — that's a 66.7% markup on cost.
Margin is profit as a % of price; markup is profit as a % of cost. The same $10 profit on a $25 sale is 40% margin or 66.7% markup.
Depends on industry — grocery 2–4%, apparel 40–60%, SaaS 70%+, luxury 60–80%. Compare to peers, not across categories.
Gross margin includes only direct product cost. Net margin subtracts all operating expenses. Investors track both.