To calculate margin, divide profit by the selling price: (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. As Patriot Software puts it, markup shows "how much more your selling price is than the amount the item costs you."
  • Margin expresses that profit as a percentage of price. It's the share of revenue you keep after cost.

Because your cost is always smaller than your price, dividing by cost gives a bigger percentage. As Harvest notes, "these different bases mean markup percentages are always higher than margin percentages for the same profit." That single asymmetry 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.

Key definitions before the formulas

Three terms underpin both calculations:

  • Revenue — the money you earn from selling a product.
  • Cost of goods sold (COGS) — the total direct cost of producing or procuring that product, including materials and production fees. For print-on-demand sellers this is the base product price plus the print provider's fulfillment charge.
  • Gross profit — revenue left over after deducting COGS. As Cin7 explains, gross margin "refers to the amount of sales minus the cost of goods sold." Markup and margin both start here; they just divide that profit by different denominators.

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

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.

A concrete cross-check from Consero Global: if a product costs $100 and you apply a 25% markup, the selling price is $125 — and the resulting gross margin is only 20%, not 25%.

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). As Consero Global explains, "by dividing the cost of the product by the inverse of the gross margin equation, you will arrive at the selling price needed to achieve the desired gross margin percentage":

  • 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.

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 that a 100% markup — doubling your cost — is only a 50% margin. And as Patriot Software confirms, "if you mark up products by 25%, you're going to get a 20% margin." The gap widens as numbers climb. Print or bookmark this chart 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 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.

Pricing from a target margin vs a target markup

This is the step most pricing guides skip entirely. The formula you use to set price depends on which target you're working from:

  • Pricing from a target markup: Price = Cost × (1 + Markup). If your cost is $16 and you want a 150% markup: $16 × 2.5 = $40.
  • Pricing from a target margin: Price = Cost ÷ (1 − Margin). If your cost is $16 and you want a 60% margin: $16 ÷ 0.40 = $40.

The most common mistake here is confusing the two operations: wanting a 40% margin but adding 40% to cost instead. Adding 40% to cost is a markup operation — as GrowthForce explains, using the terms interchangeably causes trouble "because the margin is expressed as a percentage of total revenue while the markup is expressed as a percentage of the cost of goods sold." That gap compounds across every SKU in your catalog.

For POD sellers managing dozens of products across Printify and Printful, small per-unit margin errors add up fast once you start pushing paid traffic to under-margined products. See our guide on building a product map to identify which SKUs are actually carrying your margin.

Markup vs margin: which should you use?

Neither metric is universally "better" — they answer different questions at different stages of your pricing workflow.

  • Use markup when you're starting from a known cost and need to arrive at a selling price. Markup is the natural operation: you add a percentage on top of what you paid. As Consero Global notes, "markup is based on cost and helps set prices."
  • Use margin when you're measuring financial health or comparing products. Margin tells you what share of every dollar of revenue you actually keep, which is the figure that maps directly to your P&L. As Consero Global continues, "margin is based on selling price and measures financial health."
  • Use both when benchmarking across channels or product lines. Harvest points out that businesses "should adapt to industry-specific norms" — knowing what margin percentage you need to hit is a financial goal; markup is the lever you pull to get there.

The mistake isn't choosing markup over margin or vice versa. It's using one when you mean the other — or stopping at gross margin when you need to know true per-order profit.

Why margin matters more than markup for real profit

Here's what most 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 (estimated at standard processor rates): −$1.60
  • − Pick and pack / fulfillment: −$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 significantly here. The number that decides whether you can afford to scale is the profit after fees, shipping, and acquisition cost.

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 ceiling — spend more than $16 to land an order and you're underwater regardless of how good your markup looked. For POD sellers advertising on Meta and Google, understanding where ad spend erodes margin is the central challenge. See how improving purchase frequency can widen contribution margin without requiring a lower cost base, and how Meta Ads CBO vs ABO budget structure affects the efficiency of every ad dollar you spend.

Margin and markup in a print-on-demand context

POD sellers face a specific wrinkle: your COGS is set by a third-party fulfillment provider — Printify or Printful — not by you. That means your margin is squeezed from two directions you don't fully control: the base product cost your provider charges, and the shipping rate they pass through.

A few POD-specific pricing realities to keep in mind:

  • Provider costs vary by variant. A black unisex tee and a white women's fitted tee may have different base costs from the same provider, so a blanket markup applied across the catalog produces wildly different margins by variant.
  • Shipping kills margin silently. Offering "free shipping" to the customer doesn't eliminate the cost — it moves it from the customer's cart to your margin. Always model shipping into COGS before setting price.
  • Platform fees stack. Shopify transaction fees, payment processor rates, and any app fees all come out after gross margin.
  • Catalog costs aren't confirmed until an order completes. Because POD suppliers only confirm the true fulfillment cost at the order level, any margin calculation based on catalog preview pricing is an estimate until a real order processes. Never treat a supplier's listed cost as final until it appears on a completed order.

The practical implication: never set prices using a markup against a catalog preview cost. Set them using the actual fulfilled order cost — the number that appears after a real order completes — because that's what actually hits your margin. For a strategic overview of how to structure a profitable POD business around these constraints, see PodVector's POD strategy guide.

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% — a gap confirmed by GrowthForce's markup-vs-margin analysis. That 17-point gap can turn a profitable 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 math to mark up a price. If you want a 40% margin, don't add 40% to cost — that's a markup operation. Divide cost by (1 − 0.40) = 0.60 instead.

Comparing across the wrong base. When you benchmark two products or two channels, make sure both figures are stated the same way — margin-to-margin or markup-to-markup. As Fully Accountable notes, "using the wrong metric in financial reports can lead to serious misunderstandings about business performance." Mixing them makes the weaker product look stronger.

Ignoring ad attribution gaps. If your Google Ads attribution is broken — for example, missing ValueTrack tokens — your reported cost-per-order can be understated, which makes your per-order margin look better than it really is. Our guide to Google Ads attribution settings for POD sellers explains how to spot and fix this.

Over-relying on a single metric across the funnel. Markup is useful at the pricing stage; gross margin is useful for product comparisons; contribution margin is what matters for growth decisions. Using gross margin to decide whether to scale ad spend is one of the most common and costly errors in ecommerce.

Where PodVector fits

Once you're pricing dozens of SKUs across Printify and Printful, tracking true per-order margin by hand breaks down fast. PodVector connects Shopify, Meta Ads, Google Ads, Printify, and Printful into a live data warehouse and surfaces your true per-order profit — the $6 figure above, not the $24 that markup or gross margin implies.

Victor, PodVector's AI employee, 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 to a target margin, bulk repricing products to a target margin, or raising the free-shipping threshold to protect contribution margin. Victor reads your Meta Ads and Google Ads data to inform those recommendations but does not execute changes on your ad accounts — all writes happen on the Shopify side, and every move requires your explicit approval.

He's not a dashboard — he analyzes your live business data, identifies your next profit move, and executes it only after you approve. For a fuller picture of how this works in practice, see the POD seller's guide to AI automation for ecommerce.

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. As Consero Global puts it, "markup calculations are best used for setting a competitive pricing strategy, while margin calculations are critical for financial reporting." 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. Harvest confirms: markups are always higher than their corresponding margins because cost is always less than selling price.

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 gap is one of the most common pricing errors in ecommerce.

What is a good margin for print-on-demand?

There's no single answer, but gross margin alone is the wrong target. What matters is contribution margin after shipping, payment fees, and ad spend. A high gross margin on a product that requires heavy ad spend to sell can still be an unprofitable SKU. Understanding your product map — which SKUs carry margin and which drain it — is the starting point. See our product map guide for a framework to identify winners and losers across your catalog.

Does a good margin mean my product is profitable?

Not on its own. Gross margin only accounts for product cost. Shipping, payment processing, fulfillment, and advertising all come out afterward. A 60% gross margin can shrink to a much smaller true margin once those costs hit, so always calculate contribution margin — and ideally profit after ad spend — before deciding a product pays.

How does dropshipping affect margin vs markup calculations?

When you don't hold inventory — as with POD or dropshipping — your COGS is entirely the supplier's charge per fulfilled order. That makes margin calculations straightforward in theory but tricky in practice, because the cost is only confirmed at the order level. If you're evaluating how AI tools can help you monitor and act on margin data at scale, see the best AI chat tools for ecommerce compared for an overview of what's available to POD sellers today.

How does margin relate to ROAS and ad efficiency?

ROAS (return on ad spend) tells you how much revenue you generated per dollar of ad spend — but revenue isn't profit. A high ROAS on a low-margin product can still be a money-losing campaign. The correct metric to optimize for is profit after ad spend, which means you need to know your contribution margin before you can interpret ROAS meaningfully. For POD sellers running Google Ads, attribution gaps can silently distort both ROAS and margin reporting — see our guide to Google Ads attribution settings explained for POD sellers for how to close those gaps.