Margin & Markup Calculator
: Enter any two of cost, price, profit, margin or markup and get the rest, with margin to markup conversion- Cost
- 80.00
- Selling price
- 100.00
- Profit
- 20.00
- Gross margin
- 20.00%
- Markup
- 25.00%
- In words
- A 20.00% margin is a 25.00% markup.
| Margin | Markup |
|---|---|
| 10.00% | 11.11% |
| 15.00% | 17.65% |
| 20.00% | 25.00% |
| 25.00% | 33.33% |
| 30.00% | 42.86% |
| 33.33% | 49.99% |
| 40.00% | 66.67% |
| 50.00% | 100.00% |
| 60.00% | 150.00% |
Margin & Markup Calculator
Enter any two of cost, selling price, profit, gross margin and markup, and the other three are worked out. Margin and markup are easy to mix up because both start from the same profit but divide by different amounts; the result shows both, plus the conversion between them, so you can price a product or check a quote.
How to calculate margin and markup
- Type any two values into
Cost,Selling price,Profit,Gross margin %orMarkup %. - The other three fields fill in and are marked
calculated. The two fields you edited last are the ones used, so typing a third value replaces the older of your two. - To find a price from a cost and a margin, enter the
CostandGross margin %. To go the other way, enter theSelling priceand theCost. - Read the five figures and the line that converts margin to markup. Use
Copy allorDownload(CSV or text) to take them elsewhere, orClearto start again.
Example
A product that costs 80.00 and sells at 100.00, then the same cost priced for a 40% margin. Margin is measured on the price and markup on the cost, so the same 20.00 profit is a 20% margin but a 25% markup.
Cost: 80.00
Selling price: 100.00Profit: 20.00
Gross margin: 20.00%
Markup: 25.00%
Conversion: A 20.00% margin is a 25.00% markup.
Cost 80.00 at a 40% margin: price 133.33, markup 66.66%
Cost 80.00 at a 40% markup: price 112.00, margin 28.57%Details
- Margin = profit ÷ selling price. Markup = profit ÷ cost. Margin is always below 100%, while markup has no upper limit: selling at twice the cost is a 100% markup but only a 50% margin.
- The two convert with margin = markup ÷ (1 + markup) and markup = margin ÷ (1 − margin). A 50% margin is a 100.00% markup; a 25% markup is a 20.00% margin. The table beside the result lists common margins: 10.00% is 11.11%, 15.00% is 17.65%, 20.00% is 25.00%.
- Money is calculated in whole cents and percentages to 2 decimals, with no floating-point error. When a price has to be rounded to a cent the margin shifts slightly, and the tool says so: Prices are whole cents, so the margin works out to 39.99% rather than 40.00%.
- A loss is shown as it is. Selling for 80.00 something that cost 100.00 gives -20.00 profit, -25.00% margin and -20.00% markup. A negative profit, margin or markup is accepted for this.
- If you enter a margin and a markup together, there is no money amount to work out, so the tool only checks whether they describe the same pricing. If they do not, it says what each would be as the other; clear one field, or add a cost, price or profit.
- A cost of 0 leaves markup undefined and a price of 0 leaves margin undefined; the result says so instead of showing a number. Price from a 20.00% margin on a cost of 50.00 is 62.50.
Limits
- Gross figures only. There is no tax, VAT or sales tax, discount, shipping, fees or overhead; enter the cost and price on the same tax basis.
- It does not account for fixed costs or volume. To find how many units cover your fixed costs, use the Break-even calculator.
- A margin of 100% or more is rejected, because it would need a zero or negative cost.
- Amounts take at most 2 decimal places, and amounts above 1,000,000,000,000 or percentages above 100,000% are refused with a message.
- Commas are thousands separators only:
12,5is rejected with a hint to type12.5.
FAQ
What is the difference between margin and markup?
Margin is profit as a share of the selling price; markup is profit as a share of the cost. The same sale can be both: a cost of 80.00 sold at 100.00 gives the result "A 20.00% margin is a 25.00% markup."
How do I convert markup to margin?
Divide the markup by 1 plus the markup: a 50% markup is 0.5 ÷ 1.5, a 33.33% margin. Type the markup alone and the margin is shown at once; add any cost or price to get the amounts too.
How do I find the selling price from cost and margin?
Enter the Cost and the Gross margin %. The price is cost ÷ (1 − margin): a cost of 60.00 at a 25% margin sells for 80.00. Adding 25% to the cost would give 75.00, which is only a 20.00% margin.
Why can't margin be 100%?
A 100% margin means the whole price is profit, which needs a cost of zero. Above 100% the cost would be negative, so the tool rejects it. Markup has no such limit.
What is the formula for gross profit margin?
(selling price − cost) ÷ selling price × 100. With a price of 100.00 and a cost of 80.00 that is 20.00 ÷ 100.00, 20.00%.
Runs entirely in your browser. Nothing is uploaded.