Markup vs Margin Calculator
Enter your cost and price to instantly see both markup percentage and profit margin, plus the price you'd need to charge to hit a target margin.
*Gross margin based on unit cost only. Does not include overhead, shipping, or other expenses.
Setting rates for freelance or service work instead?
Freelance Hourly Rate Calculator📊 Markup vs Margin, Explained
These two terms get mixed up constantly, and the mix-up can quietly erode your profitability.
How it Works
Markup measures profit against your cost. Margin measures profit against your selling price. Both describe the same dollar profit, just relative to two different bases.
The Formula
Markup % = (Price − Cost) / Cost. Margin % = (Price − Cost) / Price. Price for target margin = Cost / (1 − Desired Margin).
Pro Tip
Never apply a markup percentage when you actually mean margin. Pricing "cost plus 40%" gives you only a 28.6% margin — often thinner than intended.
Frequently Asked Questions
What is the difference between markup and margin? +
Markup is profit expressed as a percentage of cost: (price - cost) / cost. Margin is profit expressed as a percentage of the selling price: (price - cost) / price. Because they use different denominators, a 50% markup is not the same as a 50% margin - a 50% markup actually equals a 33.3% margin.
Why do markup and margin numbers look so different at higher percentages? +
As markup rises toward very high multiples, margin approaches but never reaches 100%, while markup itself is unbounded. For example, a 900% markup (selling for 10x cost) is only a 90% margin. This asymmetry is why confusing the two terms can lead to serious pricing and profitability errors.
Which one should I use to price my products? +
Margin is generally more useful for profitability analysis because it tells you what percentage of each sales dollar is profit, which ties directly to your income statement. Markup is often easier to use at the point of pricing, since retailers frequently think in terms of "cost plus X%." Many businesses use both: markup to set the price, margin to evaluate performance.
How do I set a price to hit a specific margin target? +
Use the formula: Price = Cost / (1 - Desired Margin). For example, to achieve a 40% margin on a $60 cost item, divide 60 by (1 - 0.40) = 0.60, giving a price of $100. Trying to reach that same 40% profitability using a 40% markup would only get you to an $84 price and a lower actual margin.
Does margin account for all business costs, not just product cost? +
The margin calculated here is gross margin, based only on the direct cost of the product or service. It does not subtract overhead like rent, marketing, salaries, or shipping. Net profit margin, a separate metric, factors in all operating expenses and is typically lower than gross margin.