Markup vs margin comes down to one important difference: markup measures profit against product cost, while margin measures profit against the selling price. Both use the same profit amount, but they express it as different percentages.
For example, if you buy a product for $50 and sell it for $100, your gross profit is $50. Your markup is 100%, but your gross profit margin is 50%.
Understanding these numbers helps you set prices, estimate profitability and avoid charging less than your business needs to earn.
What Is the Difference Between Markup and Margin?

Markup is the percentage you add to a product’s cost to establish its selling price. Margin is the percentage of the selling price that remains after subtracting the product’s cost.
Imagine you run an online store and purchase a product for $40. You sell it for $60, leaving $20 in gross profit before other business expenses.
Your markup is 50% because the $20 profit represents half of the original $40 cost. Your gross margin is 33.33% because that same $20 represents one third of the $60 selling price.
The difference is the number you divide by. Markup uses cost, while margin uses revenue.
Markup vs Margin Formulas
Both calculations start with the same two numbers: the selling price and the cost of the product.
First, calculate gross profit by subtracting the product cost from the selling price.
Gross Profit = Selling Price minus Cost
Once you know the profit, use the appropriate formula.
Markup Percentage Formula
Markup percentage equals gross profit divided by cost, multiplied by 100.
Markup Percentage = (Gross Profit / Cost) × 100
Profit Margin Formula
Gross profit margin equals gross profit divided by selling price, multiplied by 100.
Gross Margin Percentage = (Gross Profit / Selling Price) × 100
The formulas look similar because they use the same profit amount. The only difference is the denominator, which is the number used for division.
Remember this simple rule: use cost to calculate markup and selling price to calculate margin.
Markup vs Margin Example With Real Numbers
Suppose you purchase a product for $80 and sell it for $120. You want to understand how much you earn and what percentage that profit represents.
First, calculate the gross profit.
$120 selling price minus $80 cost equals $40 gross profit.
Now calculate the markup.
$40 divided by $80, multiplied by 100, gives you a 50% markup.
Next, calculate the gross margin.
$40 divided by $120, multiplied by 100, gives you a 33.33% gross margin.
Both results describe the same sale. You earned $40 before other expenses, but that profit equals 50% of your cost and 33.33% of your revenue.
This is why markup and margin should never be treated as interchangeable percentages.
Is a 20% Margin the Same as a 25% Markup?
Yes, approximately. A 25% markup produces a 20% gross margin when the selling price covers the product cost and the profit is calculated before other expenses.
For example, a product that costs $100 receives a $25 markup, giving it a selling price of $125.
The $25 gross profit divided by the $125 selling price equals a 20% margin.
However, a 20% margin does not mean you add 20% to your cost. If your cost is $100, a 20% markup produces a selling price of $120 and a margin of only 16.67%.
Is a 50% Margin Equal to a 100% Markup?
Yes. A 100% markup doubles the original cost, which produces a 50% gross margin.
For example, a product costs $50 and sells for $100. The $50 gross profit equals 100% of the cost and 50% of the selling price.
The two percentages differ because their starting values differ, not because the dollar profit changes.
How to Calculate Selling Price From a Desired Margin
Sometimes you know how much margin you want to earn but have not decided on a selling price. In that case, calculate the price using your target margin rather than simply adding the same percentage to your cost.
The formula is:
Selling Price = Cost / (1 minus Desired Margin)
Convert the desired margin into a decimal before calculating. For example, 30% becomes 0.30.
Suppose a product costs $60 and you want a 30% gross margin.
Selling Price = $60 / (1 minus 0.30)
Selling Price = $60 / 0.70
Your required selling price is approximately $85.71.
Your gross profit would be $25.71, which represents 30% of the selling price.
If you had instead added a 30% markup, you would charge $78. That would give you $18 in gross profit and a margin of approximately 23.08%.
This difference matters when you have a specific profitability target to meet.
How to Convert Markup Into Margin
To convert a markup percentage into a margin percentage, divide the markup by one plus the markup, using decimals.
Margin = Markup / (1 plus Markup)
For a 40% markup, the calculation is 0.40 divided by 1.40. The resulting gross margin is approximately 28.57%.
How to Convert Margin Into Markup
To convert a desired margin into markup, divide the margin by one minus the margin.
Markup = Margin / (1 minus Margin)
For a desired gross margin of 40%, divide 0.40 by 0.60. The required markup is approximately 66.67%.
These conversions help you move between pricing calculations and financial performance reports without confusing the two percentages.
Should You Use Markup or Margin?
Both measurements are useful, but they serve different purposes. The right choice depends on whether you are setting a price or reviewing business performance.
Use Markup When Setting Prices
Markup is useful when you know your product cost and want a straightforward way to establish a selling price.
For example, an online seller might apply a 35% markup to an item that costs $20. The resulting price is $27.
Markup also makes it easier to adjust prices when supplier costs change. However, a fixed markup does not guarantee that your final price will produce the margin your business needs.
Before publishing a price, consider competitor pricing, customer demand, shipping costs and selling fees.
Use Margin When Measuring Profitability
Margin helps you understand how much of your sales revenue remains after accounting for the costs included in that margin calculation.
It is useful for comparing products, reviewing financial performance and deciding whether a pricing strategy is working.
For example, two products might each generate $15 in gross profit. One sells for $30, while the other sells for $50.
The first product has a 50% gross margin. The second has a 30% gross margin.
Although the dollar profit is identical, the first product generates more gross profit per dollar of sales.
You should still consider sales volume, inventory turnover and operating expenses before deciding which product is better for your business.
Common Markup and Margin Mistakes
Confusing these percentages is easy, especially when pricing several products at once. A few checks can help you avoid costly errors.
Assuming the Same Percentage Means the Same Profit
A 30% markup is not a 30% margin. When you apply a 30% markup, the resulting gross margin is approximately 23.08%.
Always check which percentage your pricing target refers to before calculating a selling price.
Ignoring Additional Business Costs
Gross profit is not the same as net profit. A product’s purchase cost may exclude packaging, delivery, payment processing, advertising and other expenses.
For example, a product that sells for $100 and costs $60 to purchase generates $40 in gross profit. If you spend another $25 on related expenses, only $15 remains before any other unaccounted costs or taxes.
Your gross margin is 40%, but the $15 remaining represents 15% of the selling price. That is not necessarily your final net profit because other expenses may still apply.
Applying One Markup to Every Product
A uniform markup can make pricing easier, but it does not account for differences in demand, competition, storage costs or sales fees.
A product with expensive shipping may need a different pricing strategy from a lightweight item. Similarly, a highly competitive product may not support the same markup as a specialized product.
Review costs and target margins by product category rather than assuming one percentage works everywhere.
Forgetting Discounts and Returns
A product may appear profitable at its regular price but produce a much smaller margin after discounts, refunds or returned inventory.
Use the actual selling revenue and the appropriate costs when reviewing completed sales. If you offer frequent discounts, test the discounted price against your target margin before running a promotion.
Frequently Asked Questions
What is the main difference between markup and margin?
Markup compares gross profit with product cost, while margin compares gross profit with selling price. Markup helps establish prices, whereas margin helps measure profitability relative to sales.
Is a 20% margin the same as a 25% markup?
Yes, approximately. A 25% markup produces a 20% gross margin because the profit is 25% of cost but only 20% of the resulting selling price.
What is the difference between a 30% markup and a 30% margin?
A 30% markup produces a gross margin of approximately 23.08%. To achieve a 30% gross margin, you need a markup of approximately 42.86%.
Is a 50% margin equal to a 100% markup?
Yes. Both describe a sale where the gross profit equals the original product cost and half of the selling price.
Should I use markup or margin for my business?
Use markup when establishing prices from known costs. Use gross margin when comparing sales profitability and evaluating how much revenue remains after product costs. For a complete financial picture, also review operating expenses and net profit.
Can a business have a high markup but a low margin?
A high markup generally corresponds to a lower margin than markup for the same profitable sale. However, a business can still have a low final net margin if operating expenses consume much of its gross profit.
Is gross margin the same as net profit margin?
No. Gross margin measures gross profit relative to revenue after accounting for the costs included in cost of goods sold. Net profit margin accounts for the additional expenses included in net income, such as operating expenses, interest and taxes where applicable.
A business can have a strong gross margin and a much lower net profit margin if its overhead costs are high.

Taha Rasheed is a content researcher and editor at UnlimitedCalculators.com. He is passionate about making everyday calculations easier and more accessible through simple, practical, and easy-to-understand online tools.
He focuses on researching calculation methods, creating helpful content, and improving the clarity and usability of calculator resources across different topics, including mathematics, finance, education, health, and everyday calculations.
At UnlimitedCalculators.com, Taha aims to provide useful, informative, and user-friendly resources that help visitors understand calculations and make everyday tasks simpler.

