Markup Calculator

Set prices with confidence: enter your cost and a markup, a target margin or a selling price, and see all three numbers side by side.

  • Tested formula
  • Instant results
  • Updated October 7, 2026

Your details

$
I know the
%
%
$

Results Updates as you type

Formulas

Price = Cost × (1 + Markup)
Price = Cost ÷ (1 − Margin)
Markup = Profit ÷ Cost · Margin = Profit ÷ Price
Example: An item costs $40. With a 50% markup the price is $60, the profit $20 and the gross margin 33.33%. To reach a 40% margin instead, you would need to charge $66.67 — a 66.7% markup.

Markup ↔ margin quick reference

  • 25% markup = 20% margin
  • 50% markup = 33.3% margin
  • 100% markup = 50% margin
  • 200% markup = 66.7% margin

Check how many units you must sell to cover fixed costs with the break-even calculator.

How to use the calculator

  1. Enter your cost per unit — what you pay to buy or make one item, including inbound shipping and packaging.
  2. Choose what you know: a markup percentage, a target gross margin or the selling price.
  3. Read the price, profit per unit, markup and margin together, so you never confuse the two.

Markup to margin chart

MarkupGross marginPrice on a $40 costProfit per unit
10%9.1%$44.00$4.00
20%16.7%$48.00$8.00
25%20.0%$50.00$10.00
33.3%25.0%$53.32$13.32
50%33.3%$60.00$20.00
75%42.9%$70.00$30.00
100%50.0%$80.00$40.00
150%60.0%$100.00$60.00
200%66.7%$120.00$80.00

Margin can never reach 100%, but markup has no upper limit. To convert: margin = markup ÷ (1 + markup) and markup = margin ÷ (1 − margin).

The most common pricing mistake

Many sellers want a “40% margin” and add 40% to cost. That gives a price of $56 on a $40 item — a margin of only 28.6%. To truly earn 40% of the selling price you need a 66.7% markup and a price of $66.67. The difference is $10.67 of profit per unit, which adds up quickly across a whole product line.

Typical markups by industry

  • Grocery: often 15–25% on staples, higher on prepared foods.
  • Clothing and accessories retail: keystone (100%) or more.
  • Restaurants: food is often priced at 3–4 times ingredient cost (200–300% markup); drinks higher.
  • Consumer electronics: relatively low, frequently under 20% on devices, with higher markups on accessories.
  • Handmade goods: a common rule is materials + labor, then double for wholesale and double again for retail.

These ranges vary widely by business. Your markup must cover overheads — rent, wages, software, marketing and payment fees — and still leave profit. If your overhead is 25% of sales, a 30% gross margin leaves only 5% net.

Frequently asked questions

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 product that costs $40 and sells for $60 has a $20 profit: a 50% markup but a 33.3% margin.
How do I calculate selling price from markup?
Price = cost × (1 + markup ÷ 100). A $40 item with a 50% markup sells for $60.
How do I calculate price from a target margin?
Price = cost ÷ (1 − margin ÷ 100). To earn a 40% margin on a $40 item, charge $40 ÷ 0.6 = $66.67.
What is keystone pricing?
Retail keystone pricing doubles the wholesale cost: a 100% markup, which equals a 50% gross margin.
How do I calculate markup from cost and price?
Markup = (price − cost) ÷ cost × 100. An item bought for $40 and sold for $60 has a markup of $20 ÷ $40 = 50%.
Should I price using markup or margin?
Use whichever your business tracks, but set targets in margin terms: margins are what appear in financial statements and they make it easier to see how much of each sale is left to cover overheads.

Last reviewed October 7, 2026. Results are estimates for informational purposes; see our disclaimer.