Markup & Margin Calculator
- Profit is price minus cost: $100.00 − $60.00 = $40.00. Margin divides that profit by the selling price: $40.00 ÷ $100.00 = 40.00%.
- Markup divides the same profit by the cost instead: $40.00 ÷ $60.00 = 66.67%. Same dollars, two different denominators — confusing them is the classic pricing error.
- To hit a target margin, divide cost by (1 − margin): a 50% margin on a $60.00 cost needs a price of $120.00, which is a 100% markup. A 100% margin is impossible at any finite price.
This markup vs margin calculator takes two inputs — your cost and your selling price — and instantly returns both your profit and the two percentage figures that matter most. Margin divides profit by the selling price; markup divides the same profit by the cost. Same dollars, different denominators. That difference produces numbers that can surprise you. A cost of $60 and a price of $100 yields $40 in profit, which is a 40.00% margin but a 66.67% markup. The gap widens further at higher prices: a cost of $25 and a price of $39.99 produces $14.99 in profit, equal to a 37.48% margin and a 59.96% markup. Conversely, a cost of $200 and a price of $250 yields a 25.00% markup but only a 20.00% margin. The calculator also works in reverse: to price for a target margin, use price = cost ÷ (1 − margin). A 50% margin on a $60 cost requires a $120 price, which equals a 100% markup. Note that a 100% margin is impossible at any finite price, while markup has no ceiling.
The method behind these results is the accepted standard for pricing and profitability analysis because it cleanly separates two distinct questions: how much room you have to discount (margin) and how much you are marking up your cost (markup). Confusing the two leads to underpricing and eroded profits, so this page lays out the formula, step-by-step workings, worked examples, and sources so you can verify every figure and apply the method with confidence.
Worked examples
Cost $60, sold at $100
The $40 profit is a 40.00% margin but a 66.67% markup — same dollars, different denominators. (60 $ · 100 $)
| Gross margin | 40.00% |
| Markup on cost | 66.67% |
| Profit per unit | $40.00 |
| Price for a 30% margin | $85.71 |
| Price for a 50% margin | $120.00 |
Cost $25, sold at $39.99
Profit of $14.99 is a 37.48% margin and a 59.96% markup. (25 $ · 39.99 $)
| Gross margin | 37.48% |
| Markup on cost | 59.96% |
| Profit per unit | $14.99 |
| Price for a 30% margin | $35.71 |
| Price for a 50% margin | $50.00 |
Cost $200, sold at $250
A 25.00% markup only delivers a 20.00% margin — the gap that catches new sellers out. (200 $ · 250 $)
| Gross margin | 20.00% |
| Markup on cost | 25.00% |
| Profit per unit | $50.00 |
| Price for a 30% margin | $285.71 |
| Price for a 50% margin | $400.00 |
The most common pricing mistake in business
The most common pricing mistake in business is quoting markup when you mean margin. The two figures describe the same profit in dollars, but they divide it by different denominators. Margin divides profit by the selling price, while markup divides the same profit by the cost. Because the selling price is always larger than the cost, the margin percentage is always smaller than the markup percentage for the same transaction. When a business owner says they are pricing at a 40% margin when they are actually using a 40% markup, the company silently loses money on every sale.
Consider a concrete example that reveals how wide this gap can become. A cost of $200 and a selling price of $250 produces $50 in profit. That translates to a 25.00% markup but only a 20.00% margin. If you told a partner or investor you were earning a 25% margin on this product, you would be overstating your profitability by 5 full percentage points. Over thousands of transactions, that 5-point gap can be the difference between a healthy bottom line and an unexpected loss. This is exactly why a reliable markup vs margin calculator is essential for any business setting prices.
The same pattern holds across different price points and cost structures. A cost of $60 and a selling price of $100 yields $40 in profit, which works out to a 40.00% margin but a 66.67% markup. A cost of $25 and a selling price of $39.99 yields $14.99 in profit, resulting in a 37.48% margin and a 59.96% markup. In both cases, the margin is significantly lower than the markup, and quoting the wrong figure gives a false picture of how much money the business actually keeps from each sale.
Understanding the difference also matters when you work backward from a target margin to set a price. To price for a target margin, the formula is price equals cost divided by one minus the margin. A 50% margin on a $60 cost requires a $120 price, which is a 100% markup. A business that mistakenly applies a 50% markup to that same $60 cost would set the price at $90 and earn only a 33% margin, falling well short of the intended profit target.
Worked examples
The fastest way to understand why a markup vs margin calculator matters is to run real numbers. Margin divides profit by the selling price, while markup divides the same profit by the cost. Same dollars, different denominators — and the gap between the two percentages grows wider as the profit itself grows.
Take a product that costs $60 and sells for $100. The profit is $40. Divide that $40 by the $100 selling price and you get a 40.00% margin. Divide the same $40 by the $60 cost and you get a 66.67% markup. The profit dollars are identical, but the markup figure always comes out higher because the cost is always smaller than the selling price.
A second case shows the same pattern at a different scale. A cost of $25 and a price of $39.99 produces $14.99 in profit. That works out to a 37.48% margin and a 59.96% markup. A third case flips the perspective: a cost of $200 and a price of $250 yields a 25.00% markup but only a 20.00% margin. In every case, markup exceeds margin for the same transaction.
These examples also explain why you cannot simply pick a percentage and apply it to both metrics. To price for a target margin, use the formula price = cost ÷ (1 − margin). A 50% margin on a $60 cost requires a $120 price, which is a 100% markup. The two figures describe the same deal from different angles.
Finally, remember the theoretical limits. A 100% margin is impossible at any finite price, because reaching it would require a cost of zero. Markup has no such ceiling — a cost of $1 and a price of $101 gives a 10,000% markup. This is why a reliable calculator matters: mixing the two terms leads to pricing errors that compound quickly.
| Cost | Selling Price | Profit | Margin | Markup |
|---|---|---|---|---|
| $60 | $100 | $40 | 40.00% | 66.67% |
| $25 | $39.99 | $14.99 | 37.48% | 59.96% |
| $200 | $250 | $50 | 20.00% | 25.00% |
Pricing backwards from a target margin
If you know the profit you want to keep on every sale, you can work backward to the right price. Margin divides profit by the selling price, while markup divides the same profit by the cost — same dollars, different denominators. That difference matters because a target margin does not translate directly into the same markup figure. A markup vs margin calculator helps you convert one to the other without doing the algebra by hand.
To price for a target margin, use the formula: price = cost ÷ (1 − margin). Say your cost is $60 and you want a 50% margin. Divide $60 by 0.5 and you get a $120 price. That $60 of profit is a 100% markup on cost, even though it is only a 50% margin on price. The same method works for other targets: a 30% margin on a $60 cost requires an $85.71 price, while a 50% margin on a $25 cost requires a $50 price.
The verified examples show why the two figures diverge as the target rises. Cost $60, price $100 gives $40 profit — a 40.00% margin but a 66.67% markup. Cost $25, price $39.99 gives $14.99 profit — a 37.48% margin and a 59.96% markup. Cost $200, price $250 gives a 25.00% markup but only a 20.00% margin. In each case the profit dollars are identical; only the denominator changes.
One limit is worth noting: a 100% margin is impossible at any finite price, while markup has no ceiling. You can double your cost for a 100% markup, but you can never reach a 100% margin because the selling price would have to be infinite. This is why the divide-by-(1 − margin) method breaks down as the target approaches 100% — the denominator shrinks toward zero and the price climbs without bound.
- Margin = profit ÷ selling price; markup = profit ÷ cost.
- Price for a target margin: price = cost ÷ (1 − margin).
- 50% margin on $60 cost → $120 price (100% markup).
- 30% margin on $60 cost → $85.71 price.
- 100% margin is impossible at any finite price.
Conversion table: markup to margin
The fastest way to understand the gap between these two metrics is to look at common markup-to-margin pairs side by side. The reason the numbers never match is simple: margin divides profit by the selling price; markup divides the same profit by the cost. Same dollars, different denominators. Because the selling price is always larger than the cost (assuming a profit), the margin percentage always comes out smaller than the markup percentage for the same transaction. A markup vs margin calculator applies this logic instantly, but seeing the pairs written out helps you build an intuition for how the two values diverge as markup grows.
At the low end, a 25% markup produces only a 20% margin. Verified: cost $200, price $250 gives a 25.00% markup but only a 20.00% margin. The five-point gap is modest because the cost and the selling price are relatively close. As the markup percentage climbs, the gap widens considerably. A 50% markup equals a 33.3% margin, and a 100% markup equals a 50% margin. Notice that doubling the markup from 50% to 100% does not double the margin — it rises from 33.3% to 50%. The margin percentage climbs more slowly because the selling price (its denominator) is growing at the same time the profit is growing.
Real-world examples with uneven numbers confirm the same pattern. Verified: cost $60, price $100 gives $40 profit — a 40.00% margin but a 66.67% markup. Verified: cost $25, price $39.99 gives $14.99 profit — a 37.48% margin and a 59.96% markup. In both cases the markup figure sits well above the margin figure, and the exact gap depends on how large the profit is relative to the cost. When you need to move in the opposite direction — starting from a target margin and solving for price — use the formula price = cost ÷ (1 − margin). A 50% margin on a $60 cost requires a $120 price, which is a 100% markup.
One important boundary separates the two metrics permanently. A 100% margin is impossible at any finite price, while markup has no ceiling. You can keep raising the selling price to push the markup percentage higher and higher, but the margin percentage will only approach 100% without ever reaching it, because the profit can never equal the full selling price unless the cost is zero. This is why a business that talks about '100% markup' is describing something entirely routine, while a business that talks about '100% margin' is describing something mathematically impossible.
| Markup | Margin | Verified Example |
|---|---|---|
| 25.00% | 20.00% | Cost $200, price $250 |
| 50.00% | 33.30% | Common pair |
| 59.96% | 37.48% | Cost $25, price $39.99 |
| 66.67% | 40.00% | Cost $60, price $100 |
| 100.00% | 50.00% | Cost $60, price $120 |
Which one should your business track?
Most businesses benefit from tracking both metrics, but each serves a distinct purpose. Margin is the better choice for profitability reporting because it expresses profit as a share of the money that actually came in — the selling price. Markup is better for quick pricing rules because it tells your team how much to add to a cost to reach a target price. The difference comes down to the denominator: margin divides profit by the selling price, while markup divides the same profit by the cost. Same dollars, different denominators.
The numbers show why confusion is so common. Take an item with a cost of $60 and a price of $100. That yields $40 in profit, which works out to a 40.00% margin but a 66.67% markup. A lower-priced example tells the same story: a cost of $25 and a price of $39.99 produces $14.99 in profit, equal to a 37.48% margin and a 59.96% markup. A third case drives the point home — a cost of $200 and a price of $250 gives a 25.00% markup but only a 20.00% margin. In every case the profit dollars are identical, but the percentages diverge because of the base used.
For internal reporting, margin gives a truer picture of how much of your revenue is actually profit. That makes it the standard for income statements, investor updates, and financial dashboards. For day-to-day pricing, markup is simpler to apply: a buyer or salesperson can take a cost figure and multiply by a set factor without needing to know the final price in advance. When a team mixes the two terms, the result is often underpricing — someone applies a 40% markup thinking it will deliver a 40% margin, when it actually delivers far less.
Keeping both straight in a team starts with a shared rule: use markup when setting prices and margin when reporting results. A markup vs margin calculator can help by converting between the two on the spot, so no one has to work the formula by hand. The pricing formula is straightforward: price equals cost divided by (1 minus the target margin). A 50% margin on a $60 cost requires a $120 price, which works out to a 100% markup. That example also shows why the two metrics can never be equal at any positive price: a 100% margin is impossible at any finite price, while markup has no ceiling.
Margin, markup and VAT/tax
Margin divides profit by the selling price; markup divides the same profit by the cost. Same dollars, different denominators. That single difference is why a product can look far more profitable on a markup basis than it does on a margin basis, and it is the core reason people turn to a markup vs margin calculator to keep the two from being confused.
The numbers make the gap concrete. A cost of $60 and a price of $100 gives $40 profit — a 40.00% margin but a 66.67% markup. A cost of $25 and a price of $39.99 gives $14.99 profit — a 37.48% margin and a 59.96% markup. Flip the perspective and a cost of $200 with a price of $250 gives a 25.00% markup but only a 20.00% margin. In every case the profit dollars are identical; only the denominator changes.
When you set a price for a target margin, use the formula price = cost ÷ (1 − margin). A 50% margin on a $60 cost requires a $120 price, which works out to a 100% markup. Notice the asymmetry: a 100% margin is impossible at any finite price, while markup has no ceiling. You can always double, triple, or quadruple your cost and report a markup that keeps climbing, but margin can never reach that upper bound.
Keep in mind that the figures here are pre-tax. VAT and sales tax sit on top of the selling price and flow through to the tax authority, so they do not change the profit split between cost and price. What does change profit is a discount, and discounts cut margin faster than intuition suggests. Because margin is a percentage of the selling price, every dollar you shave off the price comes straight out of the numerator while the cost stays fixed. A small-looking percentage discount can erase a large share of margin before the effect feels obvious, which is another reason to run the numbers rather than trust a rough guess.
FAQs
What is the difference between markup and margin?
Margin is profit divided by price, while markup is profit divided by cost. For example, on a $60 cost and $100 price, the profit is $40. The margin is 40.00%, but the markup is 66.67%. Same profit, different bases: margin uses price, markup uses cost.
How do I price for a 50% margin?
Divide cost by (1 minus 0.50). For a $60 cost, divide $60 by 0.50 to get a $120 price. That price represents a 100% markup over cost. The formula ensures profit equals half the selling price, achieving the target margin.
Is a 100% markup the same as a 100% margin?
No. A 100% markup equals a 50% margin because doubling cost means profit is half the price. A 100% margin would require giving the product away cost-free, which no finite price achieves. Profit can never equal the full selling price unless cost is zero.
How do I convert markup to margin?
Use the formula: Margin equals markup divided by (1 plus markup). For example, a 25.00% markup converts to a 20.00% margin. Divide 0.25 by 1.25 to get 0.20, or 20.00%. This formula accounts for the difference between cost-based and price-based percentages.
Why did my discount hurt more than expected?
Discounts come off the price, which is margin's denominator. A 10% price cut on a 20% margin halves the profit per unit. Because margin percentages are calculated against price, reducing price shrinks the base that determines profitability, making discounts disproportionately damaging to profit.
Should retail prices be set by markup or margin?
Either works if used consistently. Margin ties directly to the profit percentages in financial statements, making it easier to track performance against business goals. Markup is simpler to calculate from cost. The key is choosing one method and applying it uniformly across all products to avoid confusion.