🌐 EN

📐 Margin Calculator (Cost & Margin Calculator)

Solve for selling price, margin or cost using one of three price-and-margin modes.

Sale Price
—
Cost — Sale Price — Profit —
Margin vs Markup
Margin Rate (of sale price) — Markup Rate (of cost) —

Margin rate is profit as a percentage of the sale price, while markup rate is profit as a percentage of the cost. For the same profit amount, these two percentages are always different — check both together.

Related Calculators Discount Calculator ROI Calculator Wholesale Price Calculator Shopify Fee Calculator

Inputs and checks

  • Choose Cost + Margin Rate → Sale Price to enter Cost ($) and Margin Rate (of sale price) (%).
  • Choose Cost + Sale Price → Margin Rate to enter Cost ($) and Sale Price ($).
  • Choose Sale Price + Margin Rate → Cost to enter Sale Price ($) and Margin Rate (of sale price) (%); use a nonnegative margin below 100% in percentage-input modes.
  • Press Calculate or edit the visible inputs. Required cost and price amounts must be positive; money is shown to two decimals and rates to two decimals.

Reading the result

  • Margin Rate (of sale price) divides profit by the selling price, while Markup Rate (of cost) divides the same profit by cost; the two percentages can differ.
  • Calculations omit fees, taxes and overhead unless already included in your entered cost, so projected profit is not guaranteed.

Examples

Find the sale price for a 20% margin

Input
Mode: Cost + Margin Rate → Sale Price; Cost ($): $80; Margin Rate (of sale price) (%): 20%.
Result
Primary result: $100.00; Cost: $80.00; Sale Price: $100.00; Profit: $20.00; Margin Rate (of sale price): 20.00%; Markup Rate (of cost): 25.00%.
How to check it
$80 ÷ (1 − 0.20) = $100.00 sale price; profit $20.00; margin 20.00%; markup $20 ÷ $80 = 25.00%.

Compare margin and markup for a $120 sale

Input
Mode: Cost + Sale Price → Margin Rate; Cost ($): $80; Sale Price ($): $120.
Result
Primary result: $40.00; Cost: $80.00; Sale Price: $120.00; Profit: $40.00; Margin Rate (of sale price): 33.33%; Markup Rate (of cost): 50.00%.
How to check it
$120 − $80 = $40.00 profit; $40 ÷ $120 = 33.33% margin; $40 ÷ $80 = 50.00% markup.

Frequently asked questions

Is a 20% margin a 20% markup?
No. Margin uses the selling price as its base, whereas markup uses cost.
Can I start from a sale price and margin rate?
Yes. Choose Sale Price + Margin Rate → Cost.
Are platform fees included?
Only if you already included them in the Cost ($) you entered.