Markup and margin describe the same profit in two different ways, and confusing them is one of the easiest pricing mistakes a small seller can make.
What is the difference between markup and margin?
Markup is your profit on a product divided by what the product cost you. Margin is that same profit divided by the selling price. A product that costs $70 and sells for $100 has a $30 profit, a 42.9% markup and a 30% margin. Markup is always the bigger percentage.
This guide is for anyone selling physical products: an online shop, a craft seller, a boutique, a food stand or a reseller. It explains both numbers, shows how to convert one into the other, and walks through worked examples for setting a price, running a sale and accounting for costs that are easy to forget. If you sell services billed by the hour instead, our guide on how to price your services starts from a different place.
The formulas
The U.S. Chamber of Commerce's CO website defines a pricing markup as the percentage added to a product's cost to determine its final selling price. It gives the formula this way: (sales price − unit cost) ÷ unit cost × 100 = markup percentage.
Margin, often called gross margin, uses the same profit but divides by the price instead: (sales price − unit cost) ÷ sales price × 100 = margin percentage. The Chamber's example uses a $100 product that costs $70 to make. The profit is $30, so the margin is 30% and the markup is $30 ÷ $70, or 42.9%.
Because the cost is always smaller than the price when you make a profit, dividing by cost gives a bigger number than dividing by price. That's why the same product can be described as "a 43% markup" and "a 30% margin" at the same time, and both are correct.
Converting between markup and margin
You don't need the price or the cost to switch between the two. If you know one percentage, you can find the other. Write each percentage as a decimal first, so 40% becomes 0.40.
To turn a margin into a markup: markup = margin ÷ (1 − margin). To turn a markup into a margin: margin = markup ÷ (1 + markup).
Here are a few common pairs, rounded to one decimal place:
- 20% margin = 25.0% markup
- 25% margin = 33.3% markup
- 33.3% margin = 50.0% markup
- 40% margin = 66.7% markup
- 50% margin = 100.0% markup
- 60% margin = 150.0% markup
A 100% markup, where the price is double the cost, is sometimes called keystone pricing in retail. Notice that it gives a 50% margin, not a 100% one. A margin can never reach 100%, because that would mean the product cost nothing.
How to set a price from a target margin
Many sellers decide what margin they need, then work backward to a price. The formula is: price = cost ÷ (1 − target margin).
This is where mixing up the two numbers costs money. If you want a 40% margin and simply add 40% to your cost, you've applied a 40% markup, and your actual margin is only about 28.6%. The examples below show the gap in dollars.
Worked examples
These examples use made-up numbers so the math is easy to follow. Swap in your own costs.
Example 1: The basic comparison. A mug costs you $70 to produce and sells for $100. Profit is $100 − $70 = $30. Markup is $30 ÷ $70 = 42.9%. Margin is $30 ÷ $100 = 30%.
Example 2: The common mistake. A candle costs you $12, and you want a 40% margin. Adding 40% to cost gives $12 × 1.40 = $16.80. Your profit is $4.80, and $4.80 ÷ $16.80 is a 28.6% margin, well short of your goal. Using the margin formula instead, the price is $12 ÷ (1 − 0.40) = $12 ÷ 0.60 = $20. Profit is $8, and $8 ÷ $20 is exactly 40%. On 500 candles, the difference between the two prices is $3.20 × 500 = $1,600 of gross profit.
Example 3: What a sale really costs. Keep the candle at $20 with a $12 cost. Run a 20% off sale and the price drops to $16. Your profit falls from $8 to $4, which is half, even though the price only fell by a fifth. To earn the same $800 of gross profit you made from 100 candles at full price, you'd need to sell $800 ÷ $4 = 200 candles on sale. Discounts hit margin much harder than they look.
Example 4: Counting the full cost of each item. A seller buys a tote bag for $8, pays $1.50 per bag to have it shipped in, and spends $0.50 on packaging. Payment processing costs 3% of the sale price. At a $20 price, the processing fee is $0.60. The true cost per bag is $8 + $1.50 + $0.50 + $0.60 = $10.60. Profit is $20 − $10.60 = $9.40, a 47% margin. Using only the $8 purchase price would have shown a 60% margin, which overstates how much each sale really earns. The Chamber's guide makes a similar point: account for internal labor costs or vendor fees that affect your profits after calculating your markup.
Example 5: Checking a whole year's gross margin. Product sellers who file Schedule C figure gross profit the same way on their tax return. On Schedule C (Form 1040), line 1 is gross receipts or sales, line 2 is returns and allowances, and line 5 is gross profit: line 3 (receipts minus returns) minus line 4, cost of goods sold. Say a shop had $60,000 in sales and $1,500 in returns, leaving $58,500. Part III of the form builds cost of goods sold: inventory at the beginning of the year ($8,000) plus purchases ($30,000) plus materials and supplies ($2,000), which adds to $40,000, minus inventory at the end of the year ($7,000). That's $33,000. Gross profit is $58,500 − $33,000 = $25,500, and the gross margin is $25,500 ÷ $58,500 = 43.6%. If your prices are set for a 50% margin but the year comes in at 43.6%, discounts, returns, shrinkage or rising costs may be eating the difference.
Gross margin isn't take-home profit
Gross margin only subtracts the cost of the goods themselves. It doesn't include rent, software, advertising, insurance, your website or your own pay. Those come out of gross profit afterward. A product with a healthy-looking 40% margin can still lose money if the business sells too few units to cover its fixed costs.
That's why margin and break-even work together. Once you know your margin per unit, you can figure out how many units you need to sell each month to cover overhead. Our guide on how to calculate your break-even point walks through that math step by step.
A step-by-step pricing checklist
Use these steps each time you price a new product or review an old one. Keep the numbers in a simple spreadsheet so you can update them when costs change.
- Add up the full cost per unit: purchase or materials, inbound shipping, packaging, and any per-sale fees.
- Decide on a target gross margin that leaves room to cover your overhead.
- Set the price with price = cost ÷ (1 − target margin).
- Check the price against what similar products sell for, and adjust if needed.
- Before running a sale, recalculate the margin at the sale price.
- At least once a year, compare your actual gross margin with your target.
Common mistakes to avoid
The biggest mistake is the one in Example 2: treating markup and margin as the same number. If a supplier, a mentor or a software tool says "40%," ask whether that's markup or margin before you use it.
A second mistake is leaving out costs that are tied to each sale, such as shipping in, packaging and payment fees. Those small amounts can take several points off your margin.
A third is underestimating discounts. Because a discount comes straight out of profit, a modest price cut can wipe out a large share of what you earn on each item.
A fourth is pricing once and never revisiting it. Supplier costs, shipping rates and fees change, and a price that worked when you launched may now deliver a much thinner margin.
Finally, don't confuse a strong margin with a profitable business. Margin is a per-item measure; profit depends on volume and overhead too.
What to do next
Pick your three best-selling products and work out both markup and margin using your full cost per unit. If any fall short of the margin you need, the formula price = cost ÷ (1 − target margin) shows exactly where the price would have to be. If you're also building or updating an online store, keep your price list and costs side by side so changes are easy to track. For a broader look at how larger companies report margins, our guide to reading an earnings report shows where gross margin appears in a public company's results.
Frequently asked questions
Is a 50% markup the same as a 50% margin?
No. A 50% markup means the price is 1.5 times the cost, which is a 33.3% margin. A 50% margin requires a 100% markup, where the price is double the cost.
How do I calculate a selling price from a margin?
Divide your cost by one minus the margin as a decimal. For a $12 item and a 40% margin, the price is $12 ÷ 0.60 = $20.
Where does gross profit appear on a tax return?
For sole proprietors filing Schedule C, gross profit is line 5: receipts minus returns and allowances, minus cost of goods sold from Part III.
Content on The Evergreen Edit is for educational and informational purposes only and is not individualized financial, investment, tax or legal advice. Learn more.
Which money-saving habit will you focus on next?
This article is for educational purposes only and isn't personalized financial, tax or legal advice. Consider talking with a qualified professional about your situation.

Kiara Miller — Founder & Editor
Kiara Miller is the founder and editor of The Evergreen Edit. He has been doing independent finance research for two decades, is a tax preparer, and reviews every article before it's published.
More about Kiara →Get smarter about your money.
Join readers who get money stories on their chosen topics, daily or as new articles post.


