Skip to main content
Business & Spreadsheet

Markup Calculator

Find selling price, profit, markup %, and margin % from your cost. See both numbers for the same sale so you never confuse markup with margin again.

By CalculatorPlanet Editorial Team

Last updated

Selling price
$60.00
Profit
$20.00
Markup %
50.00%
Margin %
33.33%
How it works

How the Markup Calculator Formula Works

Markup and margin both measure the same dollar of profit, but against two different bases. Markup divides profit by cost — what you paid. Margin divides the identical profit by selling price — what the customer paid. Because selling price is always larger than cost on a profitable sale, margin is always the smaller percentage of the two, and the gap widens as the percentage climbs. A $40 item marked up 50% sells for $60: that $20 of profit is 50% of the $40 cost, but only 33.33% of the $60 selling price. Same sale, same $20, two legitimate percentages that describe it, and they will never be equal unless profit is zero.

To go from cost to a selling price, markup and margin use different arithmetic, not just a different label. Markup multiplies: selling price equals cost times (1 plus the markup as a decimal). Margin divides: selling price equals cost divided by (1 minus the margin as a decimal), because the margin percentage applies to the selling price you're still solving for, not to the cost you already know. Plugging a margin target into the markup formula, or the reverse, is the single most common pricing mistake this calculator exists to catch — it doesn't just give the wrong number, it gives a number that looks plausible enough to use.

markup% = (sellingPrice - cost) / cost * 100; margin% = (sellingPrice - cost) / sellingPrice * 100; sellingPrice = cost * (1 + markup%/100) OR cost / (1 - margin%/100)
What goes in, what comes out
  • cost$What the item or service costs you — the wholesale price, unit cost of goods, or your direct cost to deliver it.
  • percent%Your target markup or target margin, whichever you select. The two are not interchangeable even though the field looks the same.
  • sellingPrice$What you charge the customer, before tax.
  • profit$Selling price minus cost — the same dollar figure whichever percentage you used to get there.
  • markupPercent%Profit as a percentage of cost. Always the larger of the two percentages on a profitable sale.
  • + 1 more input below
Selling price
60
markup% = (sellingPrice - cost) / cost * 100; margin% = (sellingPrice - cost) / sellingPrice * 100; sellingPrice = cost * (1 + markup%/100) OR cost / (1 - margin%/100)
Values shown are from the worked example below
cost
$
What the item or service costs you — the wholesale price, unit cost of goods, or your direct cost to deliver it.
percent
%
Your target markup or target margin, whichever you select. The two are not interchangeable even though the field looks the same.
sellingPrice
$
What you charge the customer, before tax.
profit
$
Selling price minus cost — the same dollar figure whichever percentage you used to get there.
markupPercent
%
Profit as a percentage of cost. Always the larger of the two percentages on a profitable sale.
marginPercent
%
Profit as a percentage of selling price. Always the smaller of the two percentages on a profitable sale.
Step by step

Using the Markup Calculator

  1. Enter cost$

    Type the figure you already have — the result updates as you type.

  2. Enter percentage type

    Choose from Markup %, Margin %.

  3. Enter target percentage%

    Type the figure you already have — the result updates as you type.

  4. Read the result

    The figure updates live as you type, so there is nothing to submit. Press Calculate if you want the answer brought into view — useful on a phone, where the keyboard covers the result panel.

Business & Spreadsheet — where this calculation gets used.
Worked example

A Real Worked Example

A product that costs $40, marked up 50%, sells for $60: 40 × 1.50 = 60. The $20 of profit is exactly 50% of the $40 cost, which is what "50% markup" means by definition. But that same $20 is only 33.33% of the $60 selling price — so if this item's margin were reported instead of its markup, it would read as 33.33%, not 50%, even though nothing about the sale changed.

The mix-up shows up fastest when someone aims for a margin but applies a markup formula instead. Setting percentage type to margin and entering 50% on the same $40 cost gives a $80 selling price (40 ÷ 0.50 = 80), not $60 — a $40 gap on a single item. That's the practical cost of treating markup and margin as interchangeable: the two formulas solve for genuinely different selling prices from the same target percentage and the same cost.

1
cost
40
2
percentType
markup
3
percent
50
This calculator returns60sellingPrice20profit50markupPercent33.33marginPercent
Going deeper

What Else to Know

Why Markup and Margin Are Never the Same Number

Every markup percentage has a corresponding margin percentage, and they convert cleanly with a small formula pair: margin equals markup divided by (1 plus markup), and markup equals margin divided by (1 minus margin), both as decimals. A 25% markup converts to a 20% margin (0.25 ÷ 1.25 = 0.20); a 50% markup converts to a 33.33% margin (0.50 ÷ 1.50 = 0.3333). Margin is always the smaller figure on a profitable sale, and the gap between the two grows as the percentage climbs — at very high markups, like the 150%+ common in specialty apparel, the margin sits dramatically lower than the markup number alone would suggest.

A concrete illustration that shows up in pricing guides from Sage and elsewhere: a $5 item marked up 50% sells for $7.50, but the same $5 item priced to hit a 50% margin has to sell for $10, because a 50% margin means half of the selling price is profit, which only works out if the selling price is double the cost. Same cost, same intended "50%," two very different prices — the source of most real-world markup versus margin confusion isn't the arithmetic, it's assuming the word "50%" means the same thing both times.

The practical risk runs one direction more often than the other: a business that wants a specific margin, because that's the number tied to covering overhead and hitting a profit target, but prices using a markup formula instead, will consistently under-price. A 40% markup on a $100 cost item sells for $140 and nets a 28.57% margin, not the 40% margin that might have been the actual goal — a gap of over 11 percentage points that compounds across every unit sold.

Typical Markup Ranges by Industry

Markup varies enormously by business model, and the ranges below are general orientation, not a target to copy without checking your own overhead and competition. Grocery and other high-volume, low-margin retail commonly runs markups in roughly the 10% to 40% range, since thin margins are offset by sales volume and fast inventory turnover.

Restaurants sit at the other end for food specifically: the widely cited industry benchmark targets a food cost of 28% to 35% of the menu price, which works out to a markup on that food cost of roughly 185% to 260% — a number that looks aggressive until you remember it has to cover labor, rent, and everything else a plated meal involves beyond the raw ingredients. Specialty retail and apparel frequently sit well over 100% markup, sometimes 150% to 250%, to absorb seasonal discounting, returns, and the cost of carrying inventory that doesn't always sell at full price.

What actually sets a sustainable markup for a specific business is overhead, competition, and how fast inventory turns, not an industry average pulled from a blog post. A business with low fixed costs and fast turnover can often profit at a markup well below its category's typical range; one with high overhead or slow-moving stock may need to run above it just to break even. Treat any industry figure, including the ranges above, as a starting point for a conversation with your own numbers, not a number to key in directly.

Margin, Overhead, and Break-Even

Markup is the more intuitive number for setting a single price — it's a direct percentage added to what you already know, the cost. Margin is the more useful number for the bigger question of whether the business as a whole is sustainable, because margin percentage is what actually funds everything that isn't the direct cost of goods: rent, payroll, marketing, and profit. A retailer running a 20% margin keeps 20 cents of every sales dollar before those overhead costs are paid; the other 80 cents already went to the supplier. That framing is why margin, not markup, is the number that shows up in break-even and profitability analysis: break-even revenue is fixed costs divided by margin percentage, so a lower margin means every fixed dollar of overhead requires proportionally more total sales to cover.

This is also why pricing purely off a target markup can quietly erode profitability even when every individual sale looks fine on paper. If overhead grows relative to sales volume, sales that were profitable at last year's cost of goods and last year's markup can produce a lower margin than the business actually needs to cover its current fixed costs — a gap that a markup-only view of pricing won't surface, because markup only ever looks at cost, never at what share of revenue overhead is consuming.

What Counts as Cost Before You Apply a Markup

"Cost" isn't always just the number on a supplier's invoice. For a reseller, the cost of goods sold is the wholesale or unit price of the item, but a fuller landed cost also folds in inbound shipping, customs and duties, and packaging — expenses that hit every unit before it's ever offered for sale. Running a markup against only the invoice price systematically overstates real profitability once those add-on costs are counted, because the same dollar of apparent profit has to stretch further than the calculation assumed.

Online sellers hit a similar blind spot from the other direction: payment-processing fees and marketplace referral commissions come out of the selling price after the sale closes, not out of the cost entered beforehand. Whether to fold these into cost, which raises the base a markup is measured against, or track them as a separate deduction from profit afterward is a judgment call — but leaving them out entirely, on either side, is how a markup can look healthy on paper while the bank balance tells a different story.

One retail convention worth knowing by name is keystone pricing: doubling the wholesale cost, which is exactly a 100% markup and a 50% margin. It became a default in independent retail because it's fast to calculate by hand and leaves room to absorb markdowns, theft, and slow-moving inventory — not because 100% is inherently the right markup for everything. Categories with thin competitive margins, like electronics, often markup well below keystone; fashion and jewelry frequently run above it. It's a starting heuristic this calculator doesn't assume, not a rule it enforces.

Questions

Frequently Asked Questions About the Markup Calculator

What is the difference between markup and margin?

Markup divides profit by cost; margin divides the same profit by selling price. Because selling price is larger than cost on any profitable sale, margin is always the smaller percentage of the two. A $40 item marked up 50% sells for $60, giving a 50% markup but only a 33.33% margin on that identical $20 of profit — the same sale, described two correct but different ways.

How do you calculate markup percentage?

Subtract cost from selling price, divide by cost, then multiply by 100. A $10 cost item selling for $15 has $5 of profit, and $5 divided by $10 is 0.50, or 50% markup. Markup is always measured against cost, never against the selling price — dividing by the selling price instead gives you margin, a different number.

How do you calculate margin percentage?

Subtract cost from selling price, divide by selling price (not cost), then multiply by 100. The same $10 item selling for $15 has $5 of profit, and $5 divided by the $15 selling price is 0.333, or 33.3% margin. Using cost as the denominator instead of selling price is the one substitution that turns a margin calculation into a markup calculation.

How do you convert markup to margin?

Divide the markup, as a decimal, by 1 plus the markup. A 25% markup is 0.25 ÷ 1.25 = 0.20, or 20% margin. A 50% markup is 0.50 ÷ 1.50 = 0.3333, or 33.33% margin. This conversion holds for any cost, since it's derived purely from the relationship between the two percentages, not from a specific dollar amount.

How do you convert margin to markup?

Divide the margin, as a decimal, by 1 minus the margin. A 20% margin is 0.20 ÷ 0.80 = 0.25, or 25% markup. A 50% margin is 0.50 ÷ 0.50 = 1.00, or 100% markup. This is the exact reverse of the markup-to-margin conversion, and the two formulas will always produce a matching, consistent pair.

What is a good markup percentage?

It depends heavily on the business: high-volume, low-overhead categories like grocery often run markups around 10% to 40%, while specialty retail and apparel commonly run well over 100%. Restaurants target food costs of 28% to 35% of menu price, implying a markup on that ingredient cost in the 185% to 260% range. Your own overhead, competition, and inventory turnover matter more than any industry average.

How do you find selling price from cost and markup?

Multiply the cost by 1 plus the markup percentage as a decimal. A $40 cost with a 50% markup is 40 × 1.50 = $60. Confirm it by working backward: $60 minus $40 is $20 of profit, and $20 divided by the $40 cost is exactly 0.50, or 50%, matching the markup you started with.

Can markup or margin be negative?

Yes, whenever the selling price is below cost, such as a clearance sale or a loss-leader promotion. A $100 item sold at a 20% loss for $80 has a markup of -20% and a margin of -25%, since the same -$20 divides differently against the $100 cost versus the $80 selling price. Margin approaching -100% or beyond signals the selling price is falling toward zero.

Is margin always lower than markup for the same sale?

Yes, whenever there's a genuine profit — margin divides by the larger number (selling price), so it's mathematically always the smaller percentage. The two are only equal at 0%, meaning no profit at all. The gap widens as the percentage climbs: a 100% markup is only a 50% margin, and a 300% markup is only a 75% margin.

What's the difference between margin and profit?

Profit is a dollar amount — selling price minus cost. Margin is that same profit expressed as a percentage of selling price, which makes it comparable across items of very different prices. A $5 profit on a $10 item and a $50 profit on a $1,000 item have identical dollar gaps of scale, but wildly different margins: 50% versus 5%, which is the number that actually reflects how efficiently each sale converts revenue into profit.

Is this margin the same as gross margin or contribution margin?

This calculator's margin is gross margin: selling price minus your cost (often called cost of goods sold, or COGS), divided by selling price. Contribution margin is a related but different figure used in broader business accounting — it subtracts only variable costs from revenue, leaving fixed costs like rent and salaries out of the calculation entirely. For pricing a single item, gross margin is the number that matters; contribution margin matters more for whole-business profitability analysis.

What is a 25% markup on $100?

A 25% markup on a $100 cost adds $25 profit, for a $125 selling price: 100 × 1.25 = 125. That $25 of profit is 25% of the $100 cost, matching the markup, but only 20% of the $125 selling price — its margin. The two percentages describe the identical $25, just measured against different bases.

Should shipping and fees count as cost?

For an accurate markup, yes — at least the inbound shipping, customs, and packaging that hit every unit before it reaches a customer. Payment-processing and marketplace fees come out after the sale, so many sellers track them separately from cost rather than folding them in, but ignoring them entirely on either side makes markup look healthier than actual profit really is. There's no single required convention, only the requirement to be consistent and honest about what's included.

What is keystone pricing?

Keystone pricing means doubling your cost to set the selling price — exactly a 100% markup, which works out to a 50% margin. Independent retailers adopted it because it's easy to calculate without a calculator and leaves room to absorb markdowns, returns, and slow-moving stock. It's a starting heuristic, not a rule: categories with thin competition, like electronics, often markup well below keystone, while fashion and jewelry frequently run above it.

References

  1. [1] Corporate Finance Institute. “Markup - Learn How to Calculate Markup & Markup Percentage.” Corporate Finance Institute. Accessed 2026-08-23.
  2. [2] Wall Street Prep. “Markup Percentage | Formula + Calculator.” Wall Street Prep. Accessed 2026-08-23.
  3. [3] Sage. “Markup calculator (and how to calculate markup).” Sage Advice US. Accessed 2026-08-23.
  4. [4] TouchBistro. “Menu Pricing: How to Calculate Food Cost Percentage.” TouchBistro. Accessed 2026-08-23.