Margin vs Markup: How to Calculate Both (2026)

Margin and markup are two ways of describing the same profit, and confusing them is one of the most expensive mistakes in business. A product with a 50 percent markup does not have a 50 percent margin — it has a 33 percent margin. If you set prices based on the wrong number, you either leave money on the table or price yourself out of the market.
This guide explains the difference clearly, walks through the formulas, and shows how to use a free margin calculator to get both numbers instantly.
What Is Profit Margin
Profit margin is the percentage of the selling price that is profit. It answers the question: out of every dollar the customer pays, how many cents do I keep after covering the cost of the product?
The formula is: Margin = (Selling Price minus Cost) divided by Selling Price, multiplied by 100.
On a product that costs $25 and sells for $50, the profit is $25. The margin is $25 divided by $50, which is 0.50, or 50 percent. Half of every dollar the customer pays is profit.
What Is Markup
Markup is the percentage added on top of the cost to arrive at the selling price. It answers a different question: how much did I add to my cost?
The formula is: Markup = (Selling Price minus Cost) divided by Cost, multiplied by 100.
On the same $25 cost and $50 selling price, the markup is $25 divided by $25, which is 1.00, or 100 percent. You doubled your cost.
Why the Difference Matters
The same $25 profit is described as 50 percent margin but 100 percent markup. If a supplier tells you a product carries a 40 percent margin, you might assume that is the same as a 40 percent markup — but it is not. A 40 percent margin means you need a higher selling price than a 40 percent markup on the same cost.
This confusion leads to underpricing, which quietly erodes profitability. A margin calculator shows both numbers side by side so you always know exactly what your pricing delivers.
How to Calculate Selling Price from a Target Margin
If you know your cost and want to hit a specific margin, the formula is: Selling Price = Cost divided by (1 minus Margin as a decimal).
For a $30 cost at a 40 percent target margin: $30 divided by (1 minus 0.40) equals $30 divided by 0.60, which is $50.00. You need to sell at $50 to achieve a 40 percent margin on a $30 cost.
A common mistake is to calculate 40 percent of $30 ($12) and add it to the cost ($42). That gives you a 28.6 percent margin, not 40 percent — because you calculated a 40 percent markup, not a 40 percent margin.
The Multiplier Shortcut
Many retail and wholesale businesses use a multiplier instead of percentages. The multiplier is simply the selling price divided by the cost. A 2x multiplier means you sell at double your cost (100 percent markup, 50 percent margin). A 1.5x multiplier means 50 percent markup and 33 percent margin.
Common multipliers by industry: retail clothing typically uses 2.0 to 2.5x, grocery runs 1.25 to 1.50x, jewelry can be 2.5 to 4.0x, and software is often 5x or more since the marginal cost is near zero.
What Is a Good Profit Margin
Good margins vary significantly by industry. Software and SaaS companies often run 70 to 90 percent margins because the cost of serving one more customer is minimal. Retail businesses typically run 25 to 50 percent. Grocery stores operate on thin margins of 1 to 3 percent but make up for it in volume. Restaurants aim for 3 to 9 percent net margin after labor and overhead.
The right question is not whether your margin is high or low in absolute terms, but whether it covers your operating expenses and leaves room for profit after overhead, marketing, and taxes.
Frequently Asked Questions
What is the difference between margin and markup?
Margin is profit as a percentage of the selling price. Markup is profit as a percentage of the cost. On a $25 cost sold for $50, the margin is 50 percent and the markup is 100 percent. Same profit, different reference point.
How do I convert markup to margin?
Margin = Markup divided by (1 plus Markup as a decimal). A 100 percent markup equals 100 divided by 200, or 50 percent margin. A margin calculator converts between them automatically.
What margin should I target for e-commerce?
Most e-commerce businesses aim for 30 to 50 percent margin before advertising. Below 25 percent, ad costs and returns can erase profitability. The Amazon FBA calculator helps estimate margins for Amazon sellers specifically.
Calculate Your Margin Now
Get your margin, markup, multiplier, and the selling price you need — all from one input. Open the margin calculator, enter your cost and price, and see every number at once. For related tools, see the Amazon FBA calculator, discount calculator, and percentage calculator.