ToolJutsu
All tools
Calculator Tools

Markup Calculator

Calculate selling price, profit margin, or markup from any two values — bidirectional.

What do you want to calculate?

Cost

$40.00

Selling price

$50.00

Markup %

25%

profit ÷ cost

Profit margin %

20%

profit ÷ selling

Markup vs margin — the difference

For these numbers, profit is $10.00. The markup of 25% divides that profit by the cost ($40.00). The margin of 20% divides the same profit by the selling price ($50.00). They are always two different numbers — markup is always larger than margin for the same trade.

Cost $40.00 → Selling $50.00. Markup 25% · Margin 20% · Profit $10.00.

Processed on your device. We never see your files.

How to use Markup Calculator

What this calculator does

This calculator handles retail and wholesale pricing math in three modes: find the selling price from cost plus markup, find the markup percentage from cost plus selling price, or back-solve cost from selling price minus markup. Every mode also surfaces the profit margin percentage — because markup and margin are the most-confused pair in business pricing, and seeing both numbers side by side prevents the classic mistake of quoting one when you mean the other.

All math is plain arithmetic running locally on your device.

Markup vs margin — pick one and stick to it

This is the single most important concept in pricing, and it produces a shocking amount of cost-of-goods drift in small businesses that get it wrong:

  • Markup is the percentage added to cost. Selling price = cost × (1 + markup%). A 50% markup on a $40 cost gives a $60 selling price.
  • Margin is the percentage of the selling price that is profit. Margin = (selling − cost) / selling. The same $40 → $60 transaction has a 33.3% margin.
CostSellingMarkupMargin
$40$5025%20%
$40$6050%33.3%
$40$80100%50%
$40$100150%60%
$40$160300%75%

The two numbers converge only at 0% (no profit) and approach 100% margin asymptotically (which corresponds to infinite markup — selling price ≫ cost). For typical retail margins of 30-50%, the markup is 43-100%.

How to use it

  1. Find selling price mode: enter cost and markup %. The calculator gives selling price + corresponding margin %.
  2. Find markup % mode: enter cost and selling price. The calculator gives both markup and margin percentages.
  3. Find cost mode: enter selling price and markup %. The calculator back-solves the cost.

In every mode, you see all four numbers — cost, selling, markup %, margin % — so the markup/margin distinction is visible at a glance.

Industry-typical markup ranges

Markups vary wildly by category. A grocery store running on 10% markup and a jewellery store running on 300% markup are both viable businesses — the difference is turnover. Some rough bands:

  • Grocery: 10-30% markup (some loss-leaders below cost)
  • Restaurants (food): 200-300% markup on ingredient cost
  • Apparel (retail): keystone 100% markup at full price; sales bring this lower
  • Electronics — big-ticket: 5-15% markup (razor-thin)
  • Electronics — accessories: 100-300% markup (HDMI cables, phone cases, etc.)
  • Furniture: 80-200% markup from wholesale
  • Jewellery (retail): 250-400% markup
  • Software / SaaS: cost of goods is so low (servers + bandwidth) that gross margin is typically 70-90%
  • Wholesale / B2B: 15-30% markup
  • Used / second-hand resale: highly variable, often 200%+ on items bought cheap

These are starting reference points, not targets. The right markup for your specific business depends on competition, fixed costs, and how fast you turn inventory.

Discounts compress markup proportionally

When you discount the selling price by X%, the markup decreases proportionally. A $60 item with 50% markup, discounted to $48 (20% off selling), now has a 20% markup on the same $40 cost. The dollar profit drops from $20 to $8 — a 60% drop in absolute profit from a 20% sticker discount. Run the Percentage Off Calculator in parallel to this one when modelling promotional pricing.

For tax: sales tax sits on top of selling price and goes to the government. It is neither markup nor margin. If your state has a 9% sales tax on a $60 item, the customer pays $65.40 and you remit $5.40 to the state. Your profit math is unchanged.

Privacy

The calculator runs plain arithmetic in JavaScript on your device. There are no fetch calls, no analytics on the values you enter, no server-side logging.

Frequently asked questions

What's the difference between markup and margin?
Markup is the percentage added to cost to get the selling price. Margin is the percentage of the selling price that is profit. They sound the same but produce different numbers for the same transaction. Example: cost $40, selling price $50. Markup = (50 − 40) / 40 × 100 = 25%. Margin = (50 − 40) / 50 × 100 = 20%. The same $10 of profit is 25% of the cost but 20% of the price. Sellers who quote 'a 50% markup' often mean 50% margin (much higher prices) — or vice versa — and that confusion produces real pricing mistakes. The calculator above always surfaces both numbers so you cannot accidentally mix them up.
What's a 'good' markup for retail?
It depends on the product category, but typical retail bands look like this. Grocery runs 10-30% markup (low, high volume). Apparel runs 50-100% markup at full price (which discounts heavily — the 'keystone' tradition is 2× cost = 100% markup). Restaurants mark food up 200-300% from raw ingredient cost. Electronics are 5-10% on big-ticket items (TVs, laptops) but 100%+ on accessories (HDMI cables). Furniture runs 80-200% from wholesale. Jewellery historically 250-400%. The number is a function of category competition, holding cost, and turnover speed — high-velocity low-margin (grocery) trades off against high-margin slow-turnover (jewellery). Whatever your category, benchmark against competitors and your fixed costs.
Can I have a markup over 100%?
Yes — and most consumer categories do. The math caps at 100% only when you confuse markup with margin. A 100% markup means selling price = cost × 2 (double the cost). A 300% markup means selling price = cost × 4 (four times cost). For comparison, the equivalent margins are 50% and 75% respectively — both ceiling near 100% because margin can never reach 100% (that would imply zero cost). When someone says 'I make 80% on this product,' they usually mean 80% margin (not markup), which is a 400% markup on cost.
How does markup interact with sales tax and discounts?
Markup is calculated on the pre-tax cost-to-selling-price relationship. Sales tax is added on top of the selling price at the register and goes to the government, not your margin. Discounts off the selling price compress margin and markup proportionally — a 20% discount on a 100% markup leaves you with a 60% markup on the discounted item. Reverse-engineering a discount is a separate calculation; our Percentage Off Calculator handles that workflow. Don't confuse 'this customer gets 20% off our markup' with 'we sell this at 20% above cost' — those are radically different deals.
Is my pricing data sent anywhere?
No. The calculator runs as plain arithmetic in JavaScript on your device. Cost, selling price, markup %, margin % — every value stays in the browser tab. No fetch calls, no analytics, no server logging.

Related tools