Margin & Markup Calculator

Find your profit margin and markup from cost and selling price, work out the price you need for a target margin, or price from a markup on cost.

FreeInstant resultNo signup
Copied

Reviewed & updated for 2026 by Methodology & sources · How we calculate

How to calculate profit margin

Profit margin is the share of the selling price you keep after the cost of the item: margin = (price − cost) ÷ price × 100. Subtract cost from price to get the profit in dollars, divide that profit by the price, and multiply by 100.

Example: an item that costs $32 and sells for $89 makes $57 of profit. $57 ÷ $89 = 64.04% margin. The same $57 divided by the $32 cost is a 178.13% markup.

Going the other way, to hit a target margin divide the cost by (1 − margin): price = cost ÷ (1 − margin). For a 40% margin on a $60 cost, $60 ÷ 0.60 = $100. A common slip is adding 40% to the cost instead, which gives $84 and only a 28.57% margin.

Margin to markup table

The markup on cost that produces each gross margin, and the selling price for an item that costs $100.

MarginMarkup neededPrice on $100 cost
10%11.11%$111.11
15%17.65%$117.65
20%25%$125.00
25%33.33%$133.33
30%42.86%$142.86
35%53.85%$153.85
40%66.67%$166.67
45%81.82%$181.82
50%100%$200.00
60%150%$250.00
70%233.33%$333.33
75%300%$400.00
80%400%$500.00
90%900%$1,000.00

Gross, operating and net margin

The calculator measures gross margin on a unit: price against the cost of the item itself. Two wider margins take more costs out before dividing by revenue:

  • Gross margin = (revenue − cost of goods sold) ÷ revenue.
  • Operating margin also subtracts running costs such as rent, wages, marketing and software.
  • Net margin subtracts everything, including interest and income tax.

For a year with $500,000 of sales, $300,000 cost of goods, $120,000 of running costs and $20,000 of interest and tax: gross profit $200,000 is a 40% gross margin, operating profit $80,000 is 16%, and net profit $60,000 is 12%. A healthy-looking gross margin can still leave a thin net one, which is why pricing should start from the margin you need after running costs.

Industry markup benchmarks

IndustryTypical markupEquivalent margin
Restaurant food200-300%67-75%
Restaurant alcohol300-500%75-83%
Jewelry100-300%50-75%
Clothing retail100-200%50-67%
Furniture80-200%44-67%
Electronics5-15%5-13%
Grocery15-30%13-23%
New cars5-12%5-11%

Markup vs margin: the math that trips up retailers

Markup and margin describe the same dollar of profit, but they divide by different bases, and confusing them is one of the most common pricing mistakes in retail. Markup divides profit by cost; margin divides profit by selling price. Because price is always larger than cost (assuming you're profitable), the margin percentage will always be smaller than the markup percentage for the same item.

Quick mental conversions: 25% markup = 20% margin. 50% markup = 33.3% margin. 100% markup (keystone) = 50% margin. 200% markup = 66.7% margin. The shortcut formulas are margin = markup ÷ (1 + markup) and markup = margin ÷ (1 − margin). Retailers who say "we make 40%" are usually quoting markup, but their accountant reporting "40% gross margin" means margin, a meaningful difference when a buyer says "give me your cost plus 40%."

Worked retail example: A boutique buys a sweater for $32 wholesale, sells it for $89. Profit is $57. Markup = 57 / 32 = 178%. Margin = 57 / 89 = 64%. The store reports a 64% gross margin to its bank. The buyer thinks of it as "I almost triple my money." Both are right; both describe the same transaction.

Why industries have such different markups

A markup isn't just profit, it's the funding pool for every cost the cost-of-goods-sold line doesn't capture: rent, payroll, marketing, shrinkage, returns, inventory carrying cost, and the risk of unsold merchandise. Industries with high markups (jewelry, fashion, restaurants) carry expensive, slow-turning, or perishable inventory and need fat margins to survive. Industries with low markups (grocery, electronics, gas stations) move volume, tiny per-unit profit, enormous turnover.

Restaurants need 200-400% food markup because food cost is only one-third of total operating cost. A $4 plate of pasta sells for $18 not because of greed but because labor, rent, and overhead consume two-thirds of every dollar before profit. Alcohol carries even higher markup (300-500%) because it sits on a shelf with no waste risk and pays for the experience around it.

Grocery's 15-30% markup looks tiny, but a grocery store turns inventory 12-20 times a year, meaning a $1 of working capital generates $12-20 of sales annually. New car dealerships sit at the bottom (5-12%) and survive on financing, trade-in spreads, and service department margins (which can hit 70%+).

Common pricing mistakes

  • Quoting markup as margin: Telling investors "we have 40% margins" when you mean 40% markup overstates true margin by more than 11 points (40% markup is only 28.6% margin).
  • Forgetting discounts erode margin faster than they appear: A 20% discount on a 50% margin item doesn't drop margin to 30%, it drops margin to 37.5%. A 30% discount on the same item crushes margin to 28.6%.
  • Ignoring landed cost: Wholesale cost isn't your true cost. Add freight, customs, packaging, returns reserve, and labor to handle. A $20 wholesale item might have a $25 landed cost, markup off the wrong number turns a "60% markup" into 28%.
  • Across-the-board markup: Slow-moving products need higher markup to cover the carrying cost of sitting on shelves. Fast turners can take less. A flat-percentage rule starves inventory you most want to sell.
  • Anchoring to competitor price without knowing their cost: A competitor may have a different supply chain, scale, or strategy. Pricing to match them blindly can mean you're selling at a loss.

FAQs

What is markup?

Markup is the percentage you add to the cost of a product to determine its selling price. Formula: Markup % = (Price − Cost) / Cost × 100. Example: Cost $50, sell for $75 = 50% markup ((75-50)/50 = 0.50).

What's the difference between markup and margin?

Both express the same profit but use different denominators. Markup = profit / COST. Margin = profit / PRICE. A 50% markup is a 33.3% margin. A 100% markup is a 50% margin. Margin is bounded at 100%, markup is unbounded. Margin is what investors and accountants use; markup is what retailers think in.

What's a good markup percentage?

Depends on the industry. Restaurants: 200-400% on food, 300-500% on drinks. Jewelry: 100-300%. Clothing: 100-200%. Furniture: 80-200%. Grocery: 15-30%. Electronics: 5-15%. Books: 40-50%. Auto: 5-12% on new cars, 25-50% on used. The higher the markup, the more inventory risk, marketing cost, or specialty value justifies it.

How do I calculate selling price from cost?

Selling price = Cost × (1 + markup %). Example: Cost $40, want 60% markup. Selling price = 40 × 1.60 = $64. Profit per unit = $24.

What is keystone markup?

Keystone markup = 100% markup, or doubling the cost. Common in jewelry, gift, and boutique retail. Cost $50, sell for $100. Modified keystone is keystone + a bit more (often 100-130% markup) for higher-margin categories.

Can a profit margin be more than 100%?

No. Margin is profit as a share of the price, and profit can never exceed the price, so 100% is the ceiling and is reached only by something that cost nothing. Markup has no ceiling: a $5 item sold for $25 carries a 400% markup but an 80% margin. A target margin of 100% or more has no selling price, which is why the calculator refuses it.

Should margin be worked out before or after sales tax?

Before. Sales tax you collect belongs to the state and is passed on, so it is not revenue. Use the pre-tax selling price: a $107.00 receipt in a 7% state is a $100.00 sale plus $7.00 of tax, and margin is measured on the $100.00.

Related

I know

Profit margin

—

Enter cost and selling price

Selling price—
Profit per unit—
Margin—
Markup—
Profit on 100 units—

Calculation

  • Markup and margin are different things measured against different bases. A 50% markup on cost is a 33.3% margin on price.
  • Uses the unit cost you enter. Overheads, shipping, payment-processing fees and returns all sit between this figure and actual profit.

Full methodology, sources and limitations