Markup Calculator

By · Updated Nov 10, 2026 · Editorial policy

On this page
  1. Cost + markup → selling price
  2. Cost + price → markup & margin
  3. Cost + target margin → price
  4. Reverse: price → maximum cost
  5. Markup vs margin conversion
  6. Which calculator do you need?
  7. The three formulas behind the tools
  8. Worked examples
  9. Markup to margin at a glance
  10. What "cost" should include
  11. When to use markup and when to use margin
  12. Limits of this calculator
  13. 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

Selling price
Profit
Margin

Already have a price? Find its markup ↓

Cost + price → markup & margin

Markup
Margin
Profit

Price for a target margin instead ↓

Cost + target margin → price

Selling price
Equivalent markup

Selling with fees? Use the pricing margin calculator →

Reverse: price → maximum cost

Max cost
Profit

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.

MarkupMarginPrice multiplier

Which calculator do you need?

Almost every pricing question is one of four, and each tool on this page answers one of them:

  1. "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.
  2. "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.
  3. "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.
  4. "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:

And two conversions, so you can move between them without re-entering anything:

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:

MarkupMarginPrice = 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

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

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/