A Free Calculator · Business Arithmetic · Updated 2026
Markup vs margin: what's the difference, and what's your number?
Markup and margin describe the same profit in dollars — they just measure it against
different baselines. Markup uses cost as the denominator; margin uses selling price.
Enter what you know and the calculator computes all four outputs at once. Every formula
is shown in full.
Selling price & profit·Markup % and margin %·Three calculation modes
The core distinction
A 50% markup and a 50% margin are not the same thing. A 50% markup on a $100
cost gives a $150 price — but the margin on that transaction is only 33.3% (because
$50 profit ÷ $150 price = 33.3%). Using them interchangeably is the most common
arithmetic error in pricing. This page shows exactly why they diverge and how to convert
between them.
Choose what you know in addition to cost, enter your numbers, and all four outputs update immediately.
What do you know?
Markup divides by cost; margin divides by selling price — they're not the same percentage.
$
What you paid to acquire or produce the item — before any profit.
Your known value
%
Profit as a percentage of cost. A 50% markup on $100 cost = $50 profit, $150 price.
%
Profit as a percentage of selling price. Must be less than 100%.
$
The price the customer pays. Must be greater than cost for a positive profit.
Selling price:
Selling Price
Profit
Markup %
Margin %
The formulas, in full
Nothing here is a black box. These are the exact calculations the tool runs — the same
arithmetic you could verify on paper. The distinction between markup and margin comes
entirely from which number sits in the denominator.
Because the two percentages use different denominators, every markup value maps to a
specific — and lower — margin value. This table shows the pairs most commonly encountered
in retail and wholesale pricing. The conversion formula is exact, not approximate.
Markup %
Margin %
Multiplier on cost
Example: $100 cost → price
10%
9.09%
× 1.10
$110.00
20%
16.67%
× 1.20
$120.00
25%
20.00%
× 1.25
$125.00
33.33%
25.00%
× 1.333
$133.33
50%
33.33%
× 1.50
$150.00
66.67%
40.00%
× 1.667
$166.67
100%
50.00%
× 2.00
$200.00
150%
60.00%
× 2.50
$250.00
200%
66.67%
× 3.00
$300.00
400%
80.00%
× 5.00
$500.00
Margin% = markup% ÷ (100 + markup%) × 100. All figures are exact to the decimal places
shown. Notice that margin always grows more slowly than markup — and is always lower for
any given transaction with positive profit.
Why the distinction matters in practice
The markup-vs-margin confusion causes real pricing errors. Here are the three situations
where getting the denominator wrong has direct business consequences.
Targeting a margin but applying a markup — the most common error
A buyer who wants a 30% margin and applies a 30% markup will end up with a 23.1% margin, not 30%. That gap compounds across thousands of transactions. The correct markup to achieve a 30% margin is 42.9% (30 ÷ 70 × 100). Always start from the target margin and work backward to the required markup multiplier — the calculator's "know the margin" mode does this automatically.
Comparing margins across businesses that report markup — and vice versa
Financial statements and industry benchmarks are not always explicit about which metric they use. A supplier quoting a "40% margin" and a trade publication reporting a "40% markup" describe very different transactions: a 40% margin implies a 66.7% markup, while a 40% markup only implies a 28.6% margin. Before comparing your numbers to an industry benchmark, confirm which denominator the benchmark uses.
Discounting from a price that already includes markup
If a product with a 50% markup is discounted by 50%, the seller does not break even — they sell at a loss. The original cost was $100, the price was $150, and a 50% discount on $150 gives $75 — which is $25 below cost. The safe way to think about discounts is in terms of margin: a product with a 33.3% margin can absorb up to a 33.3% price cut before hitting the cost floor (and that leaves zero profit). Any discount calculation should start from cost, not from the marked-up price.
How to use this calculator for common tasks
Three modes cover the common pricing questions. Pick the one that matches what you
already know.
Setting a price from a target markup
You know your cost and you have a markup target — common in wholesale and manufacturing. Select "Know the markup %", enter cost and markup, and the calculator returns the required selling price plus the resulting margin. Remember: a 50% markup yields a 33.3% margin, not a 50% one.
Back-calculating the price needed to hit a target margin
You know what gross margin you need to cover overhead. Select "Know the margin %", enter cost and the margin percentage, and the calculator returns the minimum selling price. This is the mode to use when you're working from a financial model or P&L target downward to a price floor.
Auditing a price that's already set
You have a cost and a selling price and want to know the markup and margin on that transaction — useful for reviewing historical pricing, competitive quotes, or prices inherited from a prior owner. Select "Know the selling price", enter both numbers, and the calculator returns the implied markup and margin percentages.
Converting between markup and margin without a specific cost
If you only need to convert one percentage to the other — say, a supplier tells you their "50% markup" and you need the margin — use the conversion formulas in the formulas section or the equivalence table above. No cost figure is needed for a pure percentage conversion.
Where to buy
Got your numbers? Here's where to pick up what you need:
The terms that come up in pricing conversations — defined precisely so the denominator
confusion stops before it starts.
Cost (cost of goods)
What you paid to acquire or produce the item before any profit is added. In a product business this is the purchase price from a supplier; in a service business it may include direct labor and materials. It is the denominator in the markup formula and the starting point for every pricing calculation on this page.
Selling price (revenue)
The price the customer pays. It is the denominator in the margin formula. Selling price = cost + profit. Because it is always larger than cost for a profitable transaction, dividing by it always produces a smaller percentage than dividing by cost alone — which is why margin is always lower than markup for the same transaction.
Profit (gross profit)
The difference between selling price and cost: profit = selling price − cost. It is the numerator in both the markup and margin formulas. Note that "gross profit" excludes operating expenses, taxes, and overhead — those deductions produce operating profit and net profit, which are not modeled here.
Markup %
Profit expressed as a percentage of cost: markup% = (profit ÷ cost) × 100. A $50 profit on a $100 cost is a 50% markup. Markup has no theoretical ceiling — a very low-cost item can carry a thousands-of-percent markup. It is always higher than the equivalent margin percentage for any profitable transaction.
Margin % (gross margin)
Profit expressed as a percentage of selling price: margin% = (profit ÷ selling price) × 100. A $50 profit on a $150 selling price is a 33.3% margin. Margin is bounded below 100% (a physical impossibility to exceed). It is always lower than the equivalent markup percentage for any profitable transaction.
Price multiplier (keystone)
A shorthand for expressing markup as a multiplier on cost rather than a percentage: a 50% markup = a 1.5× multiplier (cost × 1.5 = price). "Keystone" pricing historically meant doubling cost (100% markup, 2× multiplier, 50% margin) — a traditional retail rule of thumb. The multiplier form is convenient for quick mental math but carries the same markup/margin ambiguity as the percentage form.
Gross margin vs operating margin vs net margin
Three progressively narrower views of profitability. Gross margin subtracts only the direct cost of goods from revenue. Operating margin also subtracts operating expenses (rent, labor, overhead). Net margin subtracts everything including interest and taxes. This calculator computes gross margin only — the layer most directly controlled by pricing decisions.
Frequently asked
Both measure the same profit in dollars — but they use different denominators. Markup expresses profit as a percentage of cost (what you paid). Margin expresses profit as a percentage of the selling price (what the customer pays). A 50% markup on a $100 item gives a $150 price and a $50 profit — but that $50 profit is only 33.3% of the $150 selling price, so the margin is 33.3%. The numbers sound different but describe the same transaction. The confusion arises because people use the words interchangeably in conversation when they mean different things mathematically.
Because markup divides by a smaller number (cost) while margin divides by a larger number (selling price). Since selling price is always greater than cost when there's a positive profit, the denominator for markup is always smaller — and dividing the same profit dollar amount by a smaller number produces a larger percentage. The only time they're equal is when profit is zero (both are 0%). For any positive profit, markup% is always greater than margin%.
To convert markup to margin: margin% = markup% ÷ (100 + markup%) × 100. To convert margin to markup: markup% = margin% ÷ (100 − margin%) × 100. Example: a 50% markup converts to 50 ÷ 150 × 100 = 33.3% margin. A 33.3% margin converts back to 33.3 ÷ 66.7 × 100 = 50% markup. These are exact algebraic rearrangements of the definitions — no approximation involved. The equivalence table on this page lists common pairs.
There is no universal answer — it depends entirely on the business model, industry, and cost structure. Grocery stores commonly operate on gross margins of 25–35%; clothing retail often targets 50–60%; software and digital products can exceed 80%. The margin that keeps a business solvent is the one that covers operating expenses (rent, labor, overhead) after the cost of goods. This calculator computes gross margin (revenue minus cost of goods). Operating margin and net margin subtract additional expense layers that this tool doesn't model. Use gross margin as a starting point, then account for your full cost stack.
Use the margin-to-markup formula: markup% = margin% ÷ (100 − margin%) × 100. For a 40% margin: 40 ÷ 60 × 100 = 66.7% markup. That means you multiply your cost by 1.667 to reach the selling price. A common mistake is applying a 40% markup expecting a 40% margin — that only yields a 28.6% margin. The calculator above handles this automatically: select "Know the margin %", enter cost and 40, and it shows you the required selling price and the correct markup.
No. Margin is profit divided by selling price. Profit can never exceed selling price (that would require a negative cost), so margin is bounded below 100% — a limit it can only approach, never reach. Markup, on the other hand, has no upper bound: a cost of $0.01 sold for $10 is a 99,900% markup. This is another key asymmetry between the two measures — be careful when someone quotes "a 100% margin"; mathematically that's impossible unless the goods have zero cost.
The markup percentage stays the same if you apply it consistently, but the dollar profit and selling price change proportionally with cost. A 50% markup on a $100 cost yields $50 profit and a $150 price. If cost rises to $120 and you maintain the same 50% markup, you now need a $180 price to preserve the percentage — dollar profit grows to $60. If you instead keep the selling price fixed at $150, the markup percentage falls to 25% and the margin falls to 20%. This is why monitoring both dollar profit and percentage is important when input costs are volatile.
Gross margin only. Gross margin is (selling price − cost of goods) ÷ selling price. The calculator takes "cost" to mean the direct cost of the item or service — what you paid to acquire or produce it. It does not model operating expenses, taxes, shipping, or overhead. Net margin subtracts all of those from revenue before dividing, producing a lower (and often very different) percentage. For pricing decisions, gross margin is the right starting point; for measuring overall business health, you need the full income statement.
Common mistakes
Markup and margin are calculated from different bases — confusing them produces pricing errors that are difficult to spot until margins are reported.
Using markup and margin interchangeably
Markup = profit ÷ cost × 100. Margin = profit ÷ price × 100. Both measure profitability, but on different bases. For the same transaction, margin is always lower than markup (assuming positive profit). A 50% markup on a $100 cost produces a $150 price and a 33.3% margin — not a 50% margin. Treating them as the same number understates how much of each sale the business actually keeps.
Back-calculating a target price using the margin rate as if it were a markup rate
To reach a 40% margin, price = cost ÷ (1 − 0.40) = cost × 1.667. Applying the 40% as a markup instead — price = cost × 1.40 — produces a 28.6% margin, not 40%. The two formulas diverge by a larger amount as the target percentage rises. Always identify which base (cost or price) the percentage is measured against before back-calculating.
Applying a single markup to a cost that excludes overhead
Markup applied only to direct material cost ignores labor, shipping, storage, and fixed overhead. If those costs add 20% to the true landed cost, a 50% markup on materials alone may produce a negative real margin once all costs are counted. The markup base must include all costs attributable to the product, not just the purchase price of the goods.
Confusing gross margin with net profit margin
Gross margin = (price − cost of goods) ÷ price. Net profit margin deducts operating expenses, taxes, and interest on top of that. A business can have a 50% gross margin and a 5% net margin if operating expenses are high. This calculator computes gross margin only — it does not account for any costs beyond the direct cost of the item being sold.