Margin vs Markup: How to Price From Cost
By FindMySum · Last reviewed
A margin and markup calculator takes any two of cost, selling price, margin and markup and works out the other two, along with the profit per item. Margin and markup describe the same profit from two directions: margin compares it with the selling price, markup compares it with the cost. Because the base is different, a 50% markup is only a 33.33% margin, and pricing from the wrong one is one of the most common ways small businesses end up with thinner profits than they planned. This article sets out the formulas, works through the default example and each calculation mode, and explains where the numbers come from.
The four values
Cost is what one unit costs you: the purchase price from the supplier, or materials and direct labour if you make it, plus freight and duty if you pay them.
Selling price is what the customer pays, before sales tax.
Margin is profit as a percentage of the selling price. It is always below 100%, because profit can never be larger than the price.
Markup is profit as a percentage of the cost. It has no upper limit: an item that costs $10 and sells for $50 has a 400% markup.
The "What do you know?" selector tells the calculator which two values to use. The other two fields are ignored in that mode, so the defaults for margin (25%) and markup (50%) don't affect the default result, which uses cost and price.
The formulas
profit = price − cost
margin = profit ÷ price × 100
markup = profit ÷ cost × 100
price from margin = cost ÷ (1 − margin ÷ 100)
price from markup = cost × (1 + markup ÷ 100)
cost from margin = price × (1 − margin ÷ 100)
cost from markup = price ÷ (1 + markup ÷ 100)
Converting between the two percentages needs no prices at all: markup = margin ÷ (100 − margin) × 100. The calculator works in exact decimals and rounds results to the cent and to two decimal places for percentages.
Worked example with the calculator's defaults
The default mode is cost and selling price, with a $100 cost and a $150 price.
- Profit: $150 − $100 = $50 per item.
- Margin: $50 ÷ $150 = 33.33%.
- Markup: $50 ÷ $100 = 50%.
- Cost share of the price: $100 ÷ $150 = 66.67%. Every sale returns two-thirds of its price to cover the item itself, leaving one-third toward overhead and profit.
If you priced this product thinking "50% margin", you would have expected $100 of profit per $200 sale. What you actually have at $150 is a 50% markup, and that gap between the two terms is exactly what the calculator is built to show. A true 50% margin needs a $200 price, double the cost, which is the same as a 100% markup. Check the $200 price.
The other modes
Starting from the same $100 cost and $150 price, here is what each mode returns when you fill in the remaining defaults:
| Mode | You enter | Result |
|---|---|---|
| Cost + margin | $100 cost, 25% margin | Price $133.33, profit $33.33, markup 33.33% |
| Cost + markup | $100 cost, 50% markup | Price $150, profit $50, margin 33.33% |
| Price + margin | $150 price, 25% margin | Cost $112.50, profit $37.50, markup 33.33% |
| Price + markup | $150 price, 50% markup | Cost $100, profit $50, margin 33.33% |
Cost and margin is the mode most retailers need: you know what you paid and the margin you want. A 25% margin on a $100 cost needs a $133.33 price; a 40% margin needs $166.67, a markup of 66.67%. Try cost and a 40% margin.
Price and margin works the other way, for a market price you can't change. If competitors sell at $150 and you need a 25% margin, you can pay a supplier no more than $112.50. Run the price and margin case.
Margin to markup at a glance
The calculator includes a conversion table. A few useful rows:
| Margin | Markup | Price = cost × |
|---|---|---|
| 20% | 25% | 1.25 |
| 25% | 33.33% | 1.33 |
| 30% | 42.86% | 1.43 |
| 40% | 66.67% | 1.67 |
| 50% | 100% | 2 |
| 60% | 150% | 2.5 |
| 75% | 300% | 4 |
The gap widens quickly. Up to about 20% margin the two numbers are close; above a 50% margin, the markup is more than double the margin. That is why a buyer who negotiates a 10% discount from a supplier does more for a high-margin line than a low-margin one, and why a 50% sale wipes out the profit on anything priced at a 100% markup.
What the calculator does not do
It works one item at a time and treats the cost you enter as complete. It doesn't allocate rent, wages or marketing to each unit, so the margin it shows is a gross margin on the product, not the net margin of the business; the profit calculator covers that. It doesn't add GST, HST or PST to the selling price, so enter prices before tax and use the sales tax calculator for the shelf price. To test whether a margin is enough to cover your fixed costs at realistic volumes, use the break-even calculator, and to see what a promotion does to the price, the discount calculator.
More questions
How do I set a price that still meets my margin after a sale?
Work backwards from the sale price. If you want a 25% margin even when the item is 20% off, the discounted price has to be cost ÷ 0.75. With a $100 cost that is $133.33, so the regular price has to be $133.33 ÷ 0.80 = $166.67. Use the cost and margin mode for the first step, then the discount calculator to check the second.
My supplier raised my cost. How much should my price go up?
To keep the same margin, raise the price by the same percentage as the cost. A 10% cost increase on a $100 item priced at $150 means a new cost of $110 and a new price of $165, which keeps the margin at 33.33%. Raising the price by the same dollar amount, $10, keeps the profit at $50 but lowers the margin to 31.25%.
What markup do I need to cover overhead as well as the cost of the product?
The margin on each item has to cover your share of rent, wages and other fixed costs before any profit is left. If overhead runs at 20% of sales and you want 10% profit, you need a gross margin of about 30%, which is a markup of 42.86% on cost. The break-even calculator shows how many sales that margin needs to cover a given level of fixed costs.
Should my cost include GST/HST?
If your business is registered for GST/HST and can claim input tax credits, use your cost before tax, because the GST/HST you paid comes back to you. If you are not registered, or the item's tax is not recoverable, the tax you paid is part of your real cost and should be included. Provincial PST paid on items you use in the business is generally not recoverable.
Why does my point-of-sale system show a different margin from this calculator?
Retail systems often calculate margin on average cost, which shifts as you buy stock at different prices, or include freight, duty and supplier discounts in the cost. Some also report markup but label it margin. If you enter the same cost and price here, the figures should match the standard definitions; a gap usually points to a different cost figure.
Is it better to talk to customers or staff in markup or margin?
Use margin for decisions about the business, because it lines up with your income statement and can be compared with overhead as a percentage of sales. Markup is handy on the shop floor, because it turns a cost straight into a price with one multiplication. Agree on one term internally, since mixing them up underprices products.
Sources
This article explains how the calculator works and is general information, not financial, tax, legal or medical advice. Rules change; check the sources above or a qualified professional before you act.