Markup vs Margin: Formulas, Conversion Chart & Calculator
Updated
Markup and margin describe the same gross profit using different bases. Markup divides gross profit by cost; margin divides it by selling price. A markup calculator or gross margin calculator helps compare them without confusing the percentages. Use consistent job costs in a contractor markup calculator; neither percentage measures net profit.
Markup % = (price − cost) ÷ cost × 100
Gross margin % = (price − cost) ÷ price × 100

Key takeaways
Markup = (Price − Cost) ÷ Cost
Margin = (Price − Cost) ÷ Price
Price (from margin) = Cost ÷ (1 − Margin %)
Why markup and margin are not the same number
| Markup | Margin |
|---|---|
Markup and margin both describe the relationship between cost and selling price, but they divide by different bases, and that single difference causes a lot of pricing mistakes. Markup is the amount you add on top of cost, expressed as a percentage of cost. | Margin is the amount you keep after cost, expressed as a percentage of the selling price. |
Because markup divides by the smaller number (cost) and margin divides by the larger number (price), for a positive cost and price, markup is higher than margin when there is a profit; at a loss, markup is less negative than margin.
This distinction matters most when someone says "I want a 50% margin" but types 50% into a spreadsheet cell labeled "markup." The two instructions produce different prices, different profit dollars, and different customer-facing numbers. Getting the formula right the first time avoids a quiet, compounding pricing error across every product in a catalog.
The two formulas side by side
Markup = (Price − Cost) ÷ Cost
Margin = (Price − Cost) ÷ Price
Both formulas share the same numerator: Price minus Cost, which is gross profit in dollars when cost is the item's cost of sales. The only difference is the denominator. Markup is gross profit divided by cost.
Margin is gross profit divided by price. Once you see that the numerator is identical, it becomes easier to convert between the two without memorizing a chart, though a reference table still helps for quick mental math.
Examples use made-up numbers. Education only, not tax, legal or investment advice.
A worked example with round numbers
The setup
- Suppose an item costs $100 to produce or acquire.
The math
- If you apply a 33⅓% markup (one-third of cost), the price becomes $100 + $33.33 = $133.33.
- Gross profit is $133.33 − $100 = $33.33.
- Now check the margin on that same sale: $33.33 ÷ $133.33 = about 25.0% (24.998% at the cent-rounded price).
- Run the reverse direction too. If you want a 25% margin on a $100 cost item, solve for price: Price = Cost ÷ (1 − Margin) = $100 ÷ (1 − 25%) = $133.33.
What it tells you
- Notice the markup (33⅓%) and the margin (25%) describe the exact same transaction but look like different numbers because they divide by different bases.
- Same price, same $33.33 profit, same 25% margin before cent rounding — confirming the two formulas are two views of one transaction, not two competing answers.
Conversion table, with the rounding caveat
A few markup/margin pairs come up often enough to be worth memorizing in rounded form, provided you remember they are rounded:
- 25% markup is approximately 20% margin
- 33⅓% markup is exactly 25% margin (33.3% rounds to about 24.98%)
- 50% markup is approximately 33.3% margin
- 100% markup is approximately 50% margin
These pairings are convenient shorthand, not exact equalities beyond their stated precision — a 33.3% markup on $100 produces $133.30, not $133.33, and the margin on that price is 24.98%, not 25%. An exact one-third markup gives an unrounded $133.333… price and exactly 25% margin; rounding the price to $133.33 gives approximately 25% (24.998%). When you carry fewer decimal places into a calculation, the error compounds across large order volumes, so for actual invoices and catalogs, retain adequate calculation precision, then round currency consistently at the documented invoice step.
Why the mix-up is expensive at scale
A single unit mispriced by a markup/margin confusion might be a few dollars off. Across thousands of SKUs or a year of invoices, the same conversion error becomes a consistent gap between the margin a business believes it is earning and the margin it is actually earning. If a cost-plus pricing policy says "add a 50% margin" but the formula used actually applies a 50% markup, the realized margin is only 33.3%, not 50% — a shortfall of nearly 17 percentage points of gross profit on every sale, repeated indefinitely until someone checks the math.
This is also why margin, not markup, is the ratio owners and lenders usually compare across periods or product lines. Margin is always expressed against the same base — revenue — so margins are directly comparable to each other in a way that markups, which are each measured against a different cost base, are not.
Keeping the two straight in practice
A simple habit prevents most mix-ups: always ask whether a percentage is "of cost" or "of price" before using it in a calculation. Markup percentages are of cost. Margin percentages are of price.
If a spreadsheet, quote, or conversation does not specify which base is intended, treat the number as ambiguous until it is confirmed, because using the wrong formula silently changes both the resulting price and the resulting profit.
It also helps to keep the two formulas visible side by side rather than relying on memory, since the formulas are mirror images that are easy to swap under time pressure. Labeling spreadsheet columns explicitly as "Markup %" and "Margin %," and showing both numbers for any priced item, removes the ambiguity at the point where decisions are actually made.
Frequently asked questions
Is a 100% markup the same as a 100% margin? No. A 100% markup on a $100 cost produces a $200 price, which is a 50% margin, since the $100 profit is half of the $200 price.
A 100% margin is not mathematically possible unless cost is zero, because margin can never reach 100% while there is a nonzero cost subtracted from price.
Should I track markup or margin? Track both, but label each clearly. Internal profitability tracking usually favors margin, because margin is measured against revenue and is directly comparable across products; markup is more common as an internal pricing instruction, such as "apply a 40% markup to wholesale cost."
Can markup or margin ever be negative? Yes. If price is set below cost, both the markup and margin formulas return negative numbers, correctly signaling a loss on that sale regardless of which formula is used.
Do these formulas include operating expenses like rent or payroll? No. Both markup and margin as defined here use cost of the item (what it took to acquire or produce one unit) and price, so the result is a gross-level measure.
Operating expenses are factored in separately when calculating operating or net margin.
Related reading: see cost-plus pricing for how markup is applied in a pricing policy. To convert between the two instantly, use the free markup calculator.
Convert markup and margin
- Margin = markup divided by (1 + markup)
- Markup = margin divided by (1 − margin)
| Markup | Margin |
|---|---|
| 25% | 20.00% |
| 33% | 24.81% |
| 50% | 33.33% |
| 100% | 50.00% |
Key terms
Example math
| Cost | Markup % | Price | Gross Profit | Margin % |
|---|---|---|---|---|
| $100.00 | 33⅓% | $133.33 | $33.33 | 25.00% |
| $100.00 | 25% | $125.00 | $25.00 | 20.00% |
| $100.00 | 50% | $150.00 | $50.00 | 33.33% |
| $100.00 | 100% | $200.00 | $100.00 | 50.00% |
Get the worksheet
A printable page with this lesson’s formula and a blank example table. Open it now or have the link emailed to you.
The Owner Track Letter
One cash decision. One AI workflow.
Questions owners ask
Is a 100% markup the same as a 100% margin?
No. A 100% markup on a $100 cost produces a $200 price, which is a 50% margin, since the $100 profit is half of the $200 price. A 100% margin is not mathematically possible unless cost is zero.
Should I track markup or margin?
Track both, but label each clearly. Margin is more common internally because it's measured against revenue and comparable across products; markup is more common as a pricing instruction.
Can markup or margin ever be negative?
Yes. If price is set below cost, both formulas return negative numbers, correctly signaling a loss on that sale.
Do these formulas include operating expenses like rent or payroll?
No. Both use item-level cost and price, giving a gross-level measure. Operating expenses factor in separately when calculating operating or net margin.
What's the difference between gross margin and net margin?
Gross margin is (Revenue − Cost of goods sold) ÷ Revenue. Net margin is net profit ÷ Revenue, after rent, payroll, interest and taxes. This lesson's margin is gross margin.
Sources
Connect the numbers
Made by an anonymous editorial team. Every piece is reviewed by our editorial team and approved by a person before it publishes.
