(Price − Cost) ÷ Price. To calculate markup, divide the same profit by the cost: (Price − Cost) ÷ Cost. Same dollar profit, two different denominators — which is why a 150% markup is only a 60% margin. Margin answers "what share of my revenue is profit?"; markup answers "how much did I add on top of cost?"
Margin and markup describe the exact same gap between what a product costs you and what you sell it for. They just divide that gap by different numbers. Mix them up and you can price a product you think earns a healthy profit but actually loses money on every order.
This guide walks both formulas with real numbers, gives you a conversion table, shows the algebra to switch between them, and — the part most articles skip — explains why hitting a target margin still doesn't tell you whether the order made money.
Margin vs markup: what's the actual difference?
Both start from the same two inputs: your cost and your selling price. The difference between them is your gross profit.
- Markup expresses that profit as a percentage of cost. It's the amount you add on top of what you paid.
- Margin expresses that profit as a percentage of price. It's the share of your revenue you keep after cost.
Because your cost is always smaller than your price, dividing by cost gives a bigger percentage. So the markup number is always larger than the margin number for the same product. That single fact is the source of nearly every pricing mistake.
Suppliers, wholesalers, and marketplaces tend to quote markup ("we mark these up 2x"). Accountants and P&L statements report margin. If you take a markup figure and treat it as a margin, you'll overestimate your profitability.
How to calculate markup
Use markup when you're starting from a known cost and deciding how much to add.
Markup % = (Price − Cost) ÷ Cost × 100
Say you run a print-on-demand store and a blank tee plus printing costs you $16. You sell it for $40.
- Profit: $40 − $16 = $24
- Markup: $24 ÷ $16 = 1.5 = 150% markup
So you've marked the product up 150% over its cost. To go the other direction — from a target markup to a price — multiply cost by (1 + markup):
- Price = $16 × (1 + 1.50) = $16 × 2.5 = $40
That's why a "2.5x" price and a "150% markup" mean the same thing.
How to calculate margin
Use margin when you want to know what fraction of each sale you actually keep.
Margin % = (Price − Cost) ÷ Price × 100
Same tee, same numbers, different denominator:
- Profit: $40 − $16 = $24
- Margin: $24 ÷ $40 = 0.60 = 60% margin
To price from a target margin instead, divide cost by (1 − margin):
- Price = $16 ÷ (1 − 0.60) = $16 ÷ 0.40 = $40
The dollar profit is identical — $24 either way. Only the base you compare it against changes: cost for markup, price for margin. This is the difference between gross profit and gross margin explained in the broader ecommerce metrics guide, where margin sits alongside contribution margin and net margin.
Margin vs markup conversion chart
The two never move together on a straight line. Here's how common markup percentages translate to margin, computed directly from the formulas above (each row is markup ÷ (1 + markup)):
| Markup | Margin |
|---|---|
| 25% | 20% |
| 50% | 33.3% |
| 75% | 42.9% |
| 100% | 50% |
| 150% | 60% |
| 200% | 66.7% |
| 300% | 75% |
Notice a 100% markup — doubling your cost — is only a 50% margin. And a 50% markup gives you a 33.3% margin, not 50%. The gap widens as the numbers climb. Print or bookmark a chart like this so you're never converting in your head mid-negotiation.
How to convert between margin and markup
You don't need a table if you remember two formulas. They're just algebraic rearrangements of the definitions above.
Markup → Margin: Margin = Markup ÷ (1 + Markup)
- A 150% markup: 1.5 ÷ (1 + 1.5) = 1.5 ÷ 2.5 = 0.60 → 60% margin ✓
Margin → Markup: Markup = Margin ÷ (1 − Margin)
- A 60% margin: 0.60 ÷ (1 − 0.60) = 0.60 ÷ 0.40 = 1.5 → 150% markup ✓
Both describe the same $16-cost, $40-price tee. If you only memorize one relationship, memorize that margin can never exceed 100% (you can't keep more than the whole price), but markup has no ceiling — a $16 cost sold for $160 is a 900% markup and a 90% margin.
Why margin matters more than markup for real profit
Here's what the top-ranking pricing guides leave out: hitting a 60% gross margin does not mean you kept 60% of the sale. Gross margin only subtracts the product cost. It ignores every other variable cost that eats an order.
Walk the same tee all the way down:
- Revenue: $40.00
- − Product cost (COGS): −$16.00 → 60% gross margin
- − Shipping: −$5.00
- − Payment processing (about 4%): −$1.60
- − Pick and pack: −$1.40
- = Contribution margin before ads: $16.00 (40% of revenue)
- − Ad spend allocated to the order: −$10.00
- = True per-order profit: $6.00 (15% of revenue)
Your "60% margin" product actually clears $6, or 15%. Markup told you nothing about this at all — it stopped at cost. Even margin, if you stop at gross margin, overstates reality by four times here. The number that decides whether you can afford to scale is the profit after fees, shipping, and acquisition cost, which our cost per order calculator breaks down line by line.
This is also why acquisition costs matter so much. If your true contribution margin is $16 before ads, then your break-even on advertising is fixed by that margin — spend more than $16 to land an order and you're underwater regardless of how good your markup looked. Managing the ad side, from what you pay per thousand impressions on Facebook to how ad frequency quietly raises your costs, is where a strong-margin product either stays profitable or quietly stops being one.
Common margin vs markup mistakes
Treating a supplier's markup as your margin. A vendor says "50% markup." You budget as if you keep 50% of revenue. You actually keep 33.3%. That 17-point gap can turn a plan into a loss.
Stopping at gross margin. As shown above, gross margin ignores shipping, payment fees, fulfillment, and ads. Always push through to contribution margin before you call an order profitable.
Using margin to mark up a price. If you want a 40% margin, don't add 40% to cost (that's a markup and only yields a ~28.6% margin). Divide cost by 0.60 instead.
Comparing across the wrong base. When you benchmark two products or two channels, make sure both are stated the same way — margin-to-margin or markup-to-markup. Mixing them makes the weaker product look stronger.
Where PodVector fits
Once you're pricing dozens of SKUs across print-on-demand suppliers, tracking true margin by hand breaks down fast. PodVector connects Shopify, Meta Ads, Google Ads, Printify, and Printful and computes your true per-order profit — the $6 figure above, not the $24 that markup or gross margin implies.
Victor, PodVector's AI operator, reads that live data and flags where your real margin is thinner than your markup suggested, then proposes Shopify-side moves you approve — repricing a loss-making SKU, for instance. Victor reads your ad data but does not touch your ad account. He's not a dashboard; he analyzes and acts with your sign-off.
See your true per-order profit with PodVector →
FAQs
Is markup or margin better for pricing?
Neither is "better" — they answer different questions. Use markup when you're setting a price from a known cost, because adding a percentage on top is the natural operation. Use margin when you're judging profitability, because it tells you what share of revenue you actually keep. The mistake is using one when you mean the other.
Why is markup always higher than margin?
Because markup divides profit by cost and margin divides the same profit by price — and price is always larger than cost. A bigger denominator produces a smaller percentage, so the margin figure is always the smaller of the two for any given product.
Can margin ever be higher than markup?
No. For the same product, margin is always less than markup. Margin also caps at just under 100% no matter how high the price goes, while markup has no upper limit. If you ever calculate a margin above its matching markup, you've swapped a denominator.
How do I convert a 50% markup to margin?
Use Margin = Markup ÷ (1 + Markup): 0.50 ÷ 1.50 = 0.333, or 33.3% margin. A 50% markup and a 50% margin are not the same thing — this eight-point gap is one of the most common pricing errors.
Does a good margin mean my product is profitable?
Not on its own. Gross margin only accounts for product cost. Shipping, payment processing, fulfillment labor, and advertising all come out afterward. A 60% gross margin can shrink to a 15% true margin once those hit, so always calculate contribution margin — and ideally profit after ad spend — before deciding a product pays.