Business

Markup Calculator

Selling price = cost × (1 + markup ÷ 100). A product that costs $40 with a 50% markup sells for $60. That is a $20 profit, which is a 50% markup on cost but only a 33.33% margin on the selling price. Markup and margin are not the same number.

What do you want to work out?
$

Include purchase price, shipping in, packaging and per-sale fees.

% of cost
% of price
$

Selling price

—

—

Selling price
—
Profit per unit
—
Markup (profit ÷ cost)
—
Margin (profit ÷ price)
—

—

Three ways to use the markup calculator

  • Price from markup: you know your cost and the markup you want to add. The calculator gives the selling price, profit and resulting margin.
  • Price for a margin: you know the profit margin you need, perhaps to cover overheads, and want the price that delivers it.
  • Markup of a price: you already have a cost and a selling price, for example a supplier’s recommended retail price, and want to know the markup and margin it gives you.

Markup formulas

Profit = selling price − cost Markup (%) = profit ÷ cost × 100 Margin (%) = profit ÷ selling price × 100 Price from a markup: price = cost × (1 + markup ÷ 100) Price for a margin: price = cost ÷ (1 − margin ÷ 100)

Markup vs margin: why the numbers differ

Markup and margin describe the same profit from two different angles. Markup looks up from the cost: how much did I add to what I paid? Margin looks down from the selling price: how much of each sale do I keep?

Because the selling price is always bigger than the cost (when you make a profit), margin is always the smaller percentage. Mixing them up is one of the most common pricing mistakes in small businesses. If you need a 40% margin to cover your overheads and add 40% to cost instead, you end up with only a 28.57% margin.

Margin to markup conversion table

If you want this marginUse this markup
20%25%
25%33.33%
30%42.86%
40%66.67%
50%100%

The conversion formulas are: markup = margin ÷ (1 − margin), and margin = markup ÷ (1 + markup), using decimals (0.40 rather than 40%).

Worked examples

1. Adding a 50% markup

Cost $40, markup 50%: price = 40 × 1.50 = $60. Profit = $20. Margin = 20 ÷ 60 = 33.33%.

2. Pricing for a 40% margin

Cost $40, target margin 40%: price = 40 ÷ (1 − 0.40) = 40 ÷ 0.60 = $66.67. Profit = $26.67, which is 40% of $66.67 and a 66.67% markup on cost.

3. Checking a supplier’s suggested price

Cost $40, suggested retail price $70. Profit = $30. Markup = 30 ÷ 40 = 75%. Margin = 30 ÷ 70 = 42.86%.

What to include in “cost”

Your markup is only as good as your cost figure. For a product business, the cost per unit should usually include:

  • the price you pay the supplier or manufacturer,
  • inbound shipping, duties and customs fees, spread across the units,
  • packaging and labels,
  • per-sale fees, such as card processing or marketplace commissions.

Overheads such as rent, salaries and software are usually covered by the margin rather than built into the unit cost. That is why it helps to know the overall margin your business needs. The profit margin calculator shows gross, operating and net margin from your income statement.

Common pricing rules of thumb

  • Keystone pricing doubles the cost (100% markup, 50% margin). It is a traditional retail starting point, not a rule.
  • Cost-plus pricing adds a fixed markup to every product. It is simple, but it ignores what customers are willing to pay and what competitors charge.
  • Value-based pricing starts from what the product is worth to the customer, then checks that the markup covers costs.

Whatever method you use, run the numbers both ways. Check the markup to see what you add to cost, and the margin to see what you keep.

Markup for services

Service businesses use markup too, for example when a contractor resells materials or an agency bills subcontracted work. The math is identical: enter what the materials or subcontractor cost you, then apply your markup. For your own time, an hourly rate that covers your costs and target profit is usually a better tool than a markup.

If you pay salespeople on commission, remember that it comes out of the same margin. The commission calculator shows what each sale costs you in commission at flat or tiered rates.

Frequently asked questions

What is the difference between markup and margin?

Both use the same profit, but divide it by different numbers. Markup divides profit by cost; margin divides profit by selling price. A $40 item sold for $60 has a $20 profit: 20 ÷ 40 = 50% markup, and 20 ÷ 60 = 33.33% margin.

How do I convert margin to markup?

Markup = margin ÷ (1 − margin), using decimals. A 40% margin is 0.40 ÷ 0.60 = 0.6667, or a 66.67% markup. To go the other way, margin = markup ÷ (1 + markup).

What price gives me a 40% margin?

Divide cost by (1 − margin). For a $40 cost and a 40% margin: 40 ÷ 0.60 = $66.67. A common mistake is adding 40% to cost ($56), which gives only a 28.57% margin.

What is keystone pricing?

Keystone pricing is a retail rule of thumb where the selling price is double the cost, a 100% markup. That equals a 50% margin.

Should cost include shipping and fees?

Yes, if you want a true picture of profit. Include everything it costs to get the product ready to sell: the purchase price, inbound shipping, packaging and per-sale fees such as payment processing or marketplace commissions.