Markup vs Margin: Formulas, Conversion Table and Calculator for DTC Brands
Last updated: November 2026
Markup and margin use the same dollars of profit and divide them by different numbers. Markup is profit as a share of what the product cost you. Margin is profit as a share of the price the customer paid. Because cost is always smaller than price, the markup percentage on a sale is always the bigger of the two. A 100% markup is a 50% margin, and mixing them up is one of the fastest ways to price a product lower than you meant to.
Hypothetical example: a DTC brand sells a product for $50 that costs it $20 landed (supplier price plus freight and duties). The profit on the product is $30. Markup is $30 ÷ $20 = 150%. Margin is $30 ÷ $50 = 60%. Same sale, same $30, two very different percentages.
From Nick: I was just recently consulting with a brand who usually had a $180 AOV for first-time orders, and they had one day where the new customer acquisition cost (NCAC) dropped to $72. They assumed that was great performance, and that a $72 NCAC was profitable. When we inspected further, we found out that somehow an email had got sent out that stacked a promotion on top of an existing promotion, and the first-order AOV for that day had dropped to $109. So at $109, at a $72 CAC, they lost money on those first-time customers. And so even NCAC, which is a very important metric, by itself can be deceptive if first-order profitability isn't being measured. Fortunately, that was discovered before ad spend was scaled, and so we avoided further losses.
Put your own numbers in below. The calculator gives you markup and margin for a product, what a discount does to that margin, and the price you'd need to hit a target margin.
Markup vs margin calculator
Prefilled with the hypothetical product on this page. Use your landed cost per unit. Nothing you type leaves your browser.
| Result | Value |
|---|---|
| Product profit per unit | |
| Markup (profit ÷ cost) | |
| Product margin (profit ÷ price) | |
| Price after the discount | |
| Product margin after the discount | |
| Extra units you'd need to sell to keep the same product profit | |
| Price for your target margin | |
| Markup that gives your target margin |
Markup vs margin formulas
Markup = (price - cost) ÷ cost
Margin = (price - cost) ÷ price
The top of both formulas is the same: the profit on the product. Only the bottom changes. If you know one and want a price, flip them around:
- Price from a markup: price = cost × (1 + markup). A $20 product at a 150% markup is $20 × 2.5 = $50.
- Price from a target margin: price = cost ÷ (1 - margin). A $20 product at a 65% margin is $20 ÷ 0.35 = $57.14.
The second one is the formula most DTC operators end up using, because almost every cost after the product (payment fees, discounts, ad spend measured as ROAS) is quoted as a share of the price, not the cost.
How to convert markup to margin, and back
Margin = markup ÷ (1 + markup)
Markup = margin ÷ (1 - margin)
A 150% markup is 1.5 ÷ 2.5 = 60% margin. A 60% margin is 0.6 ÷ 0.4 = 150% markup. The table covers the pairs that come up most often.
| Markup | Margin | Price on a $20 cost |
|---|---|---|
| 15% | 13.0% | $23.00 |
| 25% | 20.0% | $25.00 |
| 30% | 23.1% | $26.00 |
| 33.3% | 25.0% | $26.67 |
| 50% | 33.3% | $30.00 |
| 100% (keystone) | 50.0% | $40.00 |
| 150% | 60.0% | $50.00 |
| 200% | 66.7% | $60.00 |
| 300% | 75.0% | $80.00 |
| 400% | 80.0% | $100.00 |
Margin can never reach 100%, because that would mean the product cost nothing. Markup has no ceiling. That's why a markup number can look generous while the margin underneath it is thin.
Which margin? Product, gross and contribution margin
Markup only ever sees one cost: the landed cost of the product. Margin can be measured at several points down the order, and for a DTC brand the later ones decide whether an order makes money. Using the same $50 product, sold as a one-unit order:
| Step | Calculation | Per order | Margin |
|---|---|---|---|
| Price | What the customer paid | $50.00 | 100% |
| Product margin | $50 - $20 landed cost | $30.00 | 60% |
| Gross margin | $30 - $7 shipping and fulfillment - $1.50 payment fees | $21.50 | 43% |
| Contribution margin | $21.50 - $12 ad spend per order | $9.50 | 19% |
All of these numbers are made up to show the steps. The point is the drop: a product with a 150% markup leaves 19 cents of every dollar after the costs of getting it to a customer. Our contribution margin guide walks through each layer, and the profit margin calculator runs the full order for your store.
A note on names. In accounting, gross margin usually means revenue minus cost of goods sold, which is what this page calls product margin. We split shipping, fulfillment and payment fees out into their own layer because in DTC they're paid on every order and can be as big as the product cost.
Seeing where the money from an order goes, layer by layer, is the base of our Unit Economics course ($0). It takes under half an hour and walks through what's left of an order once everyone's been paid.
Why DTC brands price from margin, not markup
Markup is a natural way to think when you start from a supplier quote: take the cost, multiply it, get a price. Retail and wholesale have long worked that way, which is where keystone pricing (doubling the cost, a 100% markup) comes from. In a DTC brand, most of what happens after the price is set is measured against the price, so margin is the number that connects to everything else:
- Payment fees are a share of the order value.
- Discount codes come off the price, so their cost is a share of price too.
- Ad efficiency is usually read as ROAS, revenue per ad dollar. Break-even ROAS is 1 ÷ margin before ads, so it only works with margin.
- Targets and plans on a P&L are shares of revenue. A margin target drops straight into them; a markup target has to be converted first.
Markup still has a job. It's handy when talking to suppliers and when checking a single product's price against its landed cost. Many operators set prices in margin and sanity-check them in markup (opinion).
What a discount does to your margin
A discount comes off the price, but the landed cost stays where it is. So every point of discount comes straight out of the profit, and the margin drops faster than the discount percentage suggests. For the $50 product with a 60% product margin:
| Discount | Price | Product profit | Product margin | Extra units to keep the same product profit |
|---|---|---|---|---|
| 0% | $50.00 | $30.00 | 60.0% | n/a |
| 10% | $45.00 | $25.00 | 55.6% | +20% |
| 20% | $40.00 | $20.00 | 50.0% | +50% |
| 30% | $35.00 | $15.00 | 42.9% | +100% |
| 40% | $30.00 | $10.00 | 33.3% | +200% |
A 20% discount on this product needs 50% more units just to earn the same product profit. At 40% off it needs three times the units. The rule underneath it: extra units needed = discount ÷ (margin - discount), with both as decimals. That's before shipping, fulfillment and ad spend, which don't shrink when the price does, so the lift you'd need to keep the same contribution is usually larger still. Our Black Friday strategy guide runs this check through to contribution for a sale.
Two operators can look at the same 20% off code. One sees a 20% hit to profit. The other sees a 33% drop in product profit per unit ($30 down to $20) and knows exactly how many extra orders the promotion has to bring in before it's worth running.
Common markup and margin mistakes
- Using the supplier price instead of landed cost. Freight, duties, tariffs and the packaging that ships with each unit are part of the product cost. Leave them out and both markup and margin look better than they are.
- Treating a markup target as a margin target. Someone asks for "50% on this product". At a 50% markup a $20 product sells for $30, a 33% margin. At a 50% margin it sells for $40. That's a $10 gap on every unit.
- Comparing your markup with someone else's margin. Supplier decks, retail buyers and online threads mix the two terms freely. Ask which one before you compare.
- Quoting margin at list price. If most orders go out with a discount code, the margin that matters is the one on the price customers paid.
- Letting costs go stale. A cost field that was right at launch drifts every time a supplier price, freight rate or tariff changes. Every margin and markup built on it drifts too.
What is a good markup or margin?
There's no universal good markup or margin, and a single benchmark will be wrong for most brands. What a healthy number looks like depends on:
- Which margin you mean. A 40% product margin and a 40% contribution margin describe very different businesses.
- Category and price point. A heavy, low-priced product carries far more shipping cost per dollar of revenue than a light, expensive one.
- Repeat purchase. A brand whose customers come back can accept a thinner margin on the first order than one that sells each customer once.
- Return rates. Every return gives back revenue and adds cost, so high-return categories need more margin to end up in the same place.
- Channel mix. Wholesale, marketplaces and your own store each take a different share of the price.
- Growth or harvest. A brand buying growth may run thinner margins on purpose for a while.
The useful comparisons are your own products against each other, your margin this quarter against last, and the margin you planned against the one you got after discounts.
FAQ
Is a 50% margin a 100% markup?
Yes. A product that costs $20 and sells for $40 has $20 of profit. That's 100% of the cost (markup) and 50% of the price (margin).
How do I calculate markup?
Subtract the cost from the price, then divide by the cost. A product that costs $20 and sells for $50 has a markup of ($50 - $20) ÷ $20 = 150%.
Is a 30% markup the same as a 30% margin?
No. A 30% markup is a 23.1% margin. To get a 30% margin you'd need a markup of about 42.9%. On a $20 cost, that's the difference between a $26.00 price and a $28.57 price.
What is a 20% markup on $100?
If $100 is the cost, a 20% markup adds $20 for a price of $120. The margin on that sale is $20 ÷ $120, about 16.7%.
What margin is a 33% markup?
About 24.8%: 0.33 ÷ 1.33. A markup of one third (33.3%) is exactly a 25% margin.
How do you calculate a 30% margin?
Divide the cost by 0.70. A product that costs $20 needs a price of $20 ÷ 0.70 = $28.57 for a 30% margin.
Is a 40% profit margin high?
It depends which margin. A 40% product margin may leave little after shipping, fees and ads, while a 40% net profit margin would be unusual for most DTC brands. Compare it with your own history and the costs that sit below it.
What is keystone markup?
Keystone is pricing at double the cost: a 100% markup, which is a 50% margin. It comes from retail and wholesale, where it's a common starting point, not a target that fits every DTC product.
Price with the whole order in view
Anyone can multiply a supplier quote by two. Knowing what's left of each order after shipping, fees, discounts and ads is what lets you set a price, run a promotion or raise spend with confidence.
Want to start with the core numbers first? Get the Starter Toolkit →
Comments ()