Margin vs markup: the difference, the formulas and a conversion table
The short answer
Margin is profit divided by the selling price; markup is profit divided by the cost. A product costing $60 and sold for $100 has a 40% margin and a 66.7% markup. Markup is always the larger number, which is why adding 40% to cost does not give a 40% margin.
On this page9 sections
- 01Two ways to describe the same profit
- 02A worked example
- 03Converting between them
- 04The expensive mistake: adding the margin you want to cost
- 05Which one should you use?
- 06Make sure 'cost' includes everything
- 07The same trap in service pricing
- 08Gross, operating and net margin
- 09Frequently asked questions
Two ways to describe the same profit
Both measures start from the same profit: selling price minus cost. They differ in what you divide by. Margin divides by the price, so it answers 'what share of each sale do I keep?' Markup divides by the cost, so it answers 'how much did I add on top of what it cost me?'
- Profit = Selling price − Cost
- Margin % = Profit ÷ Selling price × 100
- Markup % = Profit ÷ Cost × 100
- Price from cost and target margin = Cost ÷ (1 − Margin)
- Price from cost and markup = Cost × (1 + Markup)
A worked example
| Item | Calculation | Result |
|---|---|---|
| Selling price | $100.00 | |
| Cost | $60.00 | |
| Profit | $100 − $60 | $40.00 |
| Margin | $40 ÷ $100 | 40.0% |
| Markup | $40 ÷ $60 | 66.7% |
The same sale is a 40% margin or a 66.7% markup. Neither is wrong, but they are not interchangeable, and a price list that says '40%' without saying which one is ambiguous.
Converting between them
Margin = Markup ÷ (1 + Markup). Markup = Margin ÷ (1 − Margin). The table shows the common pairs.
| Markup | Equals margin | Margin | Equals markup |
|---|---|---|---|
| 25% | 20.0% | 20% | 25.0% |
| 50% | 33.3% | 30% | 42.9% |
| 100% | 50.0% | 40% | 66.7% |
| 150% | 60.0% | 50% | 100.0% |
| 200% | 66.7% | 60% | 150.0% |
Check one row
- a 50% markup on a $60 cost gives $90
- profit is $30, and $30 ÷ $90 = 33.3% margin
- Going the other way, a 30% margin means cost is 70% of the price, so markup is 30 ÷ 70 = 42.9%
Margin can never reach 100% because cost cannot be zero; markup has no ceiling.
The expensive mistake: adding the margin you want to cost
Say you want a 40% margin on an item that costs $60.
| Method | Price | Profit | Actual margin |
|---|---|---|---|
| Wrong: cost + 40% (markup) | $60 × 1.40 = $84.00 | $24.00 | 28.6% |
| Right: cost ÷ (1 − 0.40) | $60 ÷ 0.60 = $100.00 | $40.00 | 40.0% |
The wrong method leaves $16 on the table per unit: $100 versus $84. On a thousand units that is $16,000. Check: $24 ÷ $84 = 0.2857, so a 40% markup produced only a 28.6% margin.
Which one should you use?
- Margin for decisions about the business. Overheads, targets and comparisons are in terms of revenue, and margin is a share of revenue. Anything that has to add up to 100% (cost + profit = price) is clearer with margin.
- Markup for pricing from a cost sheet. Retailers and trades often price by adding a standard percentage to cost, which is a markup. That is fine if you know what margin it produces.
- State which one you mean. In a quote, a contract, a spreadsheet header. The ambiguity is where mistakes enter.
Make sure 'cost' includes everything
A margin is only as honest as the cost figure. For each sale include materials, subcontractors, delivery, payment processing fees, and the labour that goes directly into the work. A 3% card fee on a $100 sale takes the $60-cost example from a 40% margin to 37%: profit is $100 − $60 − $3 = $37. Overheads such as rent and software are usually covered separately through break-even analysis; see Break-even analysis: formula, worked example and how to use it.
The same trap in service pricing
Take a team member whose loaded cost (pay, employer costs, overhead share) is $45 an hour, and a target gross margin of 55% on their time.
| Method | Billing rate | Profit per hour | Actual margin |
|---|---|---|---|
| Right: $45 ÷ (1 − 0.55) | $100.00 | $55.00 | 55.0% |
| Wrong: $45 + 55% markup | $69.75 | $24.75 | 35.5% |
Check
- 45 ÷ 0.45 = 100
- 45 × 1.55 = 69.75
- (69.75 − 45) ÷ 69.75 = 0.3548
Over 1,000 billable hours the wrong method gives up $30,250 of gross profit (55,000 − 24,750). This is also why reseller 'double the cost' rules are 100% markups yielding 50% margins: easy to say, and worth checking against the margin you actually need.
Gross, operating and net margin
Margin is a family of measures, depending on which costs you subtract. A simple example with revenue of $100,000:
| Line | Amount | Margin on revenue |
|---|---|---|
| Revenue | $100,000 | |
| Direct costs (materials, delivery, direct labour) | −$55,000 | |
| Gross profit | $45,000 | 45.0% |
| Overheads (rent, admin, marketing) | −$30,000 | |
| Operating profit | $15,000 | 15.0% |
| Interest and tax | −$5,000 | |
| Net profit | $10,000 | 10.0% |
Check
- 100,000 − 55,000 = 45,000
- 45,000 − 30,000 = 15,000
- 15,000 − 5,000 = 10,000
Pricing decisions usually use gross margin, because you are deciding the price of one job against its direct cost. The gross margin has to be large enough to leave an acceptable operating margin after overheads: here a 45% gross margin leaves 15% before interest and tax.
Frequently asked questions
What is a good profit margin?
Can markup be over 100%?
How do I convert quickly between the two?
Related guides
Keep reading: pricing
- PricingHow to price a servicePrice a service from the cost of delivery, the market and the value to the client, with a worked cost build-up, packages, and what a discount really costs.5 min read
- PricingHow freelancers should set their rates (with the arithmetic)Work back from the income you need, subtract unbillable time and business costs, and see why a freelance rate is often double the salary-equivalent figure.4 min read
- Business financeBreak-even analysisHow to calculate the sales you need to cover fixed and variable costs, in units and revenue, plus margin of safety, target profit and the model's limits.4 min read
- PricingHourly vs project pricingHourly pricing shares risk with the client; project pricing moves it to you. When each fits, how overruns change your effective rate, and how to add a buffer.4 min read