Markup Calculator
On this page
- Cost + markup → selling price
- Cost + price → markup & margin
- Cost + target margin → price
- Reverse: price → maximum cost
- Markup vs margin conversion
- Which calculator do you need?
- The three formulas behind the tools
- Worked examples
- Markup to margin at a glance
- What "cost" should include
- When to use markup and when to use margin
- Limits of this calculator
- FAQ
A price that's too low can feel busy and still leave you unpaid; a price that's too high can sit unsold. The difference is often a markup you meant as a margin, or a margin that never included your costs.
Turn cost into price, price into markup, or work backward to cost. See markup vs margin side by side, as you type.
Cost + markup → selling price
Cost + price → markup & margin
Cost + target margin → price
Reverse: price → maximum cost
Markup vs margin conversion
More margin tools: gross & net profit margin calculator · Shopify profit margin calculator · Full chart, 5% to 500% →
Markup = profit ÷ cost. Margin = profit ÷ price. Margin = markup ÷ (1 + markup). A 50% markup is a 33.33% margin.
| Markup | Margin | Price multiplier |
|---|
Which calculator do you need?
Almost every pricing question is one of four, and each tool on this page answers one of them:
- "I know my cost and the markup I want. What should I charge?" Use Cost + markup → selling price. A $24 item with a 60% markup sells for $38.40.
- "I already have a cost and a price. What am I making?" Use Cost + price → markup & margin. It shows both numbers, because they are not the same thing.
- "I need a specific margin. What price gets me there?" Use Cost + target margin → price. A $26 item priced for a 35% margin sells for $40.00.
- "The market price is fixed. How much can I pay for the item?" Use Reverse: price → maximum cost. If shoppers expect $49.99 and you need a 45% margin, you can pay up to $27.49.
If you only remember one thing: markup is measured against cost, margin is measured against price. The same dollars of profit give you a bigger markup percentage than margin percentage, every time.
More on the difference: markup vs. margin, worked out. How to calculate a markup, step by step.
The three formulas behind the tools
Every tool here uses the same three lines of arithmetic:
- Markup % = (price − cost) ÷ cost × 100
- Margin % = (price − cost) ÷ price × 100
- Price from a target margin = cost ÷ (1 − margin)
And two conversions, so you can move between them without re-entering anything:
- margin = markup ÷ (1 + markup)
- markup = margin ÷ (1 − margin)
Take the example from our FAQ: an item that costs $40 and sells for $60 makes $20 of profit. Against the $40 cost, that is a 50% markup. Against the $60 price, it is a 33.33% margin. Neither number is wrong. They answer different questions.
Worked examples
Pricing from a markup. A boutique buys scarves for $24 and uses a 60% markup on everything in that department. Price = $24 × 1.60 = $38.40. Profit is $14.40, which is a 37.5% margin. If the owner's accountant asks for gross margin, the answer is 37.5%, not 60%.
Keystone pricing. “Keystone” pricing means doubling the cost, which is a 100% markup. An $18 mug at keystone sells for $36, and the margin is exactly 50%. Try other multipliers, and what is left after fees, with the keystone pricing calculator.
Pricing to a target margin. A wholesaler wants a 35% gross margin on a product that costs $26. Dividing by (1 − 0.35): $26 ÷ 0.65 = $40.00. Check: $14 profit ÷ $40 = 35%. The equivalent markup is 53.85%, which is why "add 35%" would have undercharged: $26 × 1.35 is only $35.10.
Working backward from a fixed price. A competitor and the manufacturer's suggested price both sit at $49.99, so you can't charge more. You need a 45% margin to cover overhead. Maximum cost = $49.99 × (1 − 0.45) = $27.49. If you think in markup instead and want 80%, the maximum cost is $49.99 ÷ 1.80 = $27.77. Use these figures when you negotiate with a supplier: above them, the product doesn't fit your price.
Markup to margin at a glance
The chart in the tools above converts any number. These are the common ones:
| Markup | Margin | Price = cost × |
|---|---|---|
| 10% | 9.09% | 1.10 |
| 20% | 16.67% | 1.20 |
| 25% | 20.00% | 1.25 |
| 30% | 23.08% | 1.30 |
| 40% | 28.57% | 1.40 |
| 50% | 33.33% | 1.50 |
| 60% | 37.50% | 1.60 |
| 75% | 42.86% | 1.75 |
| 100% | 50.00% | 2.00 |
| 150% | 60.00% | 2.50 |
| 200% | 66.67% | 3.00 |
Two patterns are worth noticing. Margin can never reach 100%, because that would mean the item cost nothing, but markup has no ceiling. And the gap between the two numbers widens quickly: at a 25% markup they are 5 points apart, and at a 200% markup they are more than 133 points apart.
What "cost" should include
The calculators can only be as accurate as the cost you type in. For a product you resell, a useful cost is the landed cost: the price you paid the supplier plus inbound shipping, any duties you paid, and packaging that goes out with the item. If you sell on a marketplace or through a payment processor, their percentage fees come out of the price, not the cost. Those fees reduce your real margin even when your markup looks healthy. Our Shopify margin calculator handles plan and payment fees. The gross and net margin calculator shows what happens after operating costs. For a full walk-through, see pricing for resellers and retail.
When to use markup and when to use margin
- Use markup when you price item by item from a cost sheet, such as a quote, a menu or a retail price tag. It is quick: one multiplier per category.
- Use margin when you compare products, read financial statements or set targets. Gross margin is what shows up on an income statement, so goals like "keep the store at 40%" are margin goals.
- Use the reverse tool when the price is set by the market and the open question is what you can afford to pay.
Many businesses do both: they set a margin target and translate it into a markup multiplier for staff who price items. For a 40% margin, that multiplier is 1.6667 (cost × 1.6667 = price). The table above has the others.
Limits of this calculator
These tools give you exact arithmetic on the numbers you enter. They don't know your overhead, sales volume, taxes or what customers will pay. A price that hits your margin target can still be too high to sell, or too low to cover rent once volume drops. Treat the result as one input to a pricing decision, not the decision itself.
More pricing tools
- Pricing margin calculator: the price that hits your margin after marketplace fees, payment fees and shipping.
- Markdown & discount calculator: sale price, % off, margin after a discount and planned markdowns.
- Margin with sales tax: true margin when your price includes or excludes sales tax.
- Break-even calculator: units and sales needed to cover fixed costs.
- Keystone pricing calculator: double the cost, and what is left after fees and shipping.
- How to calculate a markup, step by step: worked examples for 25%, 50% and 80% markups, and pricing for a target margin.
- How to calculate food cost and set a menu price: a restaurant use case, from plate cost to menu price.
Enter your cost and target in the markup calculator above, and check the markup vs margin chart on this page before you commit to a price.
FAQ
What is the difference between markup and margin?
Markup is profit as a percentage of cost; margin is profit as a percentage of the selling price. A $40 item sold for $60 has a 50% markup and a 33.33% margin.
How do I calculate selling price from markup?
Selling price = cost x (1 + markup / 100). A $50 cost with a 40% markup sells for $70.
How do I price for a target margin?
Price = cost / (1 - margin / 100). A $40 cost at a 40% margin needs a $66.67 price.
What markup gives a 50% margin?
A 100% markup, meaning you double the cost.
How do I turn a margin target into a price?
Divide the cost by (1 − margin). For a 30% margin on a $14 cost, that is $14 ÷ 0.70 = $20.
Can margin be higher than 100%?
No. Margin is profit as a share of price, so it maxes out below 100%. Markup can be any size: a 300% markup is a 75% margin.
Cite this page: Pierre Mentor, “Markup Calculator,” MarkupCalc.com, updated Nov 10, 2026, https://markupcalc.com/



