Skip to main content
ilovecalcs logoilovecalcs.

Business · Live

Markup vs Margin Calculator, price your products correctly.

Enter your cost price and either a markup or margin percentage. The calculator instantly shows the selling price, profit, and converts between markup and margin so you always know both.

How it worksReal-time

Inputs

Pricing details

$

What you pay for the product

Profit goal — enter

%

How much above cost you charge

Markup vs Margin

Markup

Profit ÷ Cost

$50 profit, $100 cost

= 50% markup

Margin

Profit ÷ Revenue

$50 profit, $150 revenue

= 33.3% margin

Same transaction, two different percentages.

Selling price

50% markup · 33.33% margin

$150

$50.00 profit on $100.00 cost

33.33% margin50% markup

Selling price

$150.00

Total profit

$50.00

Gross margin

calculated

33.33%

Markup

entered

50%

Breakdown

Full calculation

Cost price
$100.00
Markup (50% of cost)
+ $50.00
Selling price
$150.00
calculatedGross margin (Profit ÷ Selling Price)
33.33%
Markup (Profit ÷ Cost)
50%

Markup is based on cost. Margin is based on selling price. The same profit expressed both ways will always give a higher markup percentage than margin percentage.

Field guide

Markup vs margin: the most common pricing mistake in business.

Markup and margin both describe profit as a percentage, but they use different denominators. Markup divides profit by cost. Margin divides profit by selling price (revenue). Because the denominators are different, the same transaction produces two different percentages, and confusing them is one of the most costly mistakes a business can make.

A business that targets a 50% margin but accidentally uses the markup formula ends up charging as though it wants a 33% margin. Over thousands of transactions, that gap erodes profit significantly.

The formulas explained

Assume you buy a product for $100 and sell it for $150. Your profit is $50.

Markup = Profit / Cost = $50 / $100 = 50%
Margin = Profit / Selling Price = $50 / $150 = 33.33%

Both describe the same $50 profit on the same $100 product. The markup is always higher than the margin for any profitable product, because cost is always smaller than selling price.

To convert between them:

Selling Price from markup = Cost x (1 + Markup / 100)
Selling Price from margin = Cost / (1 - Margin / 100)

Why markup and margin are never equal

Markup and margin converge toward each other at very low profit percentages (below 10%, the difference is small) and diverge sharply at high percentages. At 50% markup, the margin is 33.3%. At 100% markup (double the cost), the margin is 50%. At 200% markup (triple the cost), the margin is 66.7%.

A 100% margin is impossible: it would require a selling price of infinity, since the formula would divide by zero (1 - 1 = 0). Practically, a very high margin like 90% implies an enormous markup: Selling Price = Cost / 0.10 = ten times the cost.

When to use markup

Markup is the natural choice when you are building pricing from costs upward. Retailers, wholesalers, and manufacturers typically think in markup terms because they know the cost of goods and want to add a fixed percentage on top. Markup ensures your pricing covers costs and delivers a predictable gross dollar amount per unit sold.

Common markup percentages by industry:

  • Grocery and supermarkets: 7 to 15% markup on most products (tight margins, high volume).
  • Electronics and appliances: 10 to 30% markup, depending on the product category and brand positioning.
  • Clothing and apparel: 50 to 100% markup (keystoning) is the retail standard. Luxury brands can exceed 200%.
  • Restaurants: Food cost is typically targeted at 25 to 35% of the selling price, implying a 200 to 300% markup on ingredient cost.
  • Software and SaaS: 80 to 90%+ gross margins are common once fixed costs are covered, because the cost of delivering an extra software seat is near zero.

When to use margin

Margin is the natural choice when you are analyzing financial performance or communicating with investors and accountants. Gross margin percentage appears on income statements and in industry benchmarking reports. If your target is a specific gross margin percentage (for example, 40% gross margin as a business model requirement), use the margin formula to set prices, not the markup formula.

Margin is also more intuitive for understanding the portion of each sale that is profit. A 30% gross margin means 30 cents of every dollar of revenue is profit before operating expenses. This is easier to visualize than the corresponding 42.9% markup.

The keystoning rule in retail

Keystoning is the practice of doubling the wholesale cost to arrive at the retail price. A product bought for $25 is priced at $50. That is a 100% markup. The resulting margin is 50%: $25 profit on $50 revenue. In traditional brick-and-mortar retail, keystoning was the default pricing heuristic because it provided enough margin to cover rent, staff, returns, and shrinkage while leaving a reasonable profit.

Online retail operates on different economics. Lower overheads allow profitable operation at 30 to 50% markup, while premium brands deliberately set markup well above keystone pricing to signal exclusivity.

Worked example: pricing a product

You manufacture a product with a total cost of $40 per unit (materials plus labour plus overhead).

  • If you target a 75% markup: Selling Price = $40 x 1.75 = $70. Profit = $30. Margin = $30 / $70 = 42.9%.
  • If you target a 40% margin: Selling Price = $40 / 0.60 = $66.67. Profit = $26.67. Markup = $26.67 / $40 = 66.7%.

Note how different the selling prices are. The wrong formula in the wrong direction means either undercharging (losing profit) or overcharging (losing sales). Knowing which metric your target refers to is essential.

Disclaimer

This calculator computes gross markup and gross margin only. It does not account for operating expenses, taxes, returns, discounts, or cost of capital. Gross margin is not the same as net profit margin. Consult a financial professional for pricing strategy that accounts for your full cost structure and market conditions.