Markup vs. Margin Calculator
Enter your cost and target, and instantly see your selling price, profit, markup %, and margin %.
Markup vs. Margin: What's the Difference?
Markup and margin both describe how profit relates to a product's price — but they use a different number as the base. This single difference causes enormous confusion and leads to real pricing mistakes that cost businesses money every day.
Markup expresses profit as a percentage of your cost. Margin expresses profit as a percentage of the selling price. Because the selling price is always higher than the cost, a given dollar profit will always produce a higher markup percentage than margin percentage.
Markup % = (Selling Price − Cost) ÷ Cost × 100
Margin % = (Selling Price − Cost) ÷ Selling Price × 100
Selling Price (from markup) = Cost × (1 + Markup / 100)
Selling Price (from margin) = Cost ÷ (1 − Margin / 100)
A Simple Example
You buy a product for $40 and sell it for $60. Your profit is $20.
- Markup: $20 ÷ $40 = 50% — the profit is 50% of your cost
- Margin: $20 ÷ $60 = 33.3% — the profit is 33.3% of your revenue
Same product, same profit — but the percentages look very different. If a retailer tells you they need a "50% margin," and you calculate using markup instead, you'll price your product too low and earn far less than expected.
Why the Difference Matters in Business
Most accounting and financial reporting systems use margin — because they measure profitability relative to revenue, which is what shows up on income statements. However, many buyers, distributors, and sales teams use markup — because it's simpler to calculate when you know your cost and want to set a price quickly.
Problems arise when two parties are using different definitions. A wholesale buyer saying "we need a 40% margin" is very different from a supplier hearing "they want a 40% markup." The supplier would price at cost × 1.4 (40% markup), but the buyer actually needs cost ÷ 0.6 (40% margin), which is a 67% markup. That's a significant gap.
Common Scenarios Where This Goes Wrong
- Retail pricing: A store owner applies a "50% markup" thinking they have a 50% margin. They actually have a 33% margin and less profit than expected.
- Freelance project quotes: Subcontracting work with a "20% margin" without clarifying whether that's markup or margin on the final invoice.
- Wholesale negotiations: A supplier and distributor negotiate "30%" without agreeing on the base, leading to contract disputes.
- Menu pricing in restaurants: Food cost percentage is the inverse of margin — confusing markup and margin here directly affects whether a restaurant is profitable.
How to Use This Calculator
This tool gives you three ways to calculate depending on what you already know:
- By Markup %: Enter your cost and desired markup percentage. The calculator shows your selling price, profit amount, and what the equivalent margin percentage is.
- By Margin %: Enter your cost and target margin percentage. The calculator works backwards to find the selling price that achieves that margin, along with the equivalent markup.
- By Selling Price: Already know your price? Enter your cost and selling price to see both markup and margin — useful for checking existing prices or understanding a competitor's pricing.
Markup and Margin Conversion Table
Here's a quick reference for common markup percentages and their equivalent margins:
10% markup = 9.1% margin · 20% markup = 16.7% margin · 25% markup = 20% margin
33% markup = 25% margin · 50% markup = 33.3% margin · 100% markup = 50% margin
200% markup = 66.7% margin · 300% markup = 75% margin · 400% markup = 80% margin
Notice that as markup increases, margin approaches but never reaches 100% — because to achieve a 100% margin you would need to sell for free, which is mathematically impossible with a positive cost.
Which Should You Use?
There's no universal answer — the right metric depends on your context. Use markup when you're setting prices from a cost basis and want a straightforward "how much am I adding on top." Use margin when you're analyzing profitability, reporting to investors, comparing to industry benchmarks, or calculating how much of each dollar of revenue you keep.
Many small business owners find it helpful to think in both: use markup to set prices quickly, then verify the resulting margin matches your profit goals. This calculator shows you both at the same time, so you never have to choose.
Frequently Asked Questions
Why is my markup % always higher than my margin %?
Because they use different bases. Markup divides profit by the smaller number (cost), while margin divides profit by the larger number (selling price). The same dollar profit will always appear as a bigger percentage when divided by the smaller number.
What's a good margin for a small business?
It depends heavily on the industry. Retail typically targets 30–50% gross margin. Software and digital products often see 60–80%. Service businesses vary widely — some run on 20% while others achieve 70%+. The key is that your margin must cover your overhead costs and still leave net profit.
Can margin ever be higher than markup?
No — for the same product, markup will always be equal to or higher than margin. They are only equal at 0% (no profit). The greater the profit, the wider the gap between the two percentages.
How do I convert markup to margin?
Use this formula: Margin % = Markup % ÷ (1 + Markup % / 100) × 100. Or just use the calculator above — enter your cost and markup, and it shows the equivalent margin automatically.
Is gross margin the same as profit margin?
Not quite. Gross margin only accounts for the direct cost of goods sold. Profit margin (or net margin) also subtracts operating expenses, taxes, and other costs. This calculator computes gross margin — it does not factor in overhead or operating costs.
What if my margin percentage is above 100%?
That's mathematically impossible — margin is always below 100% because you can't earn more profit than your selling price. If you're seeing that, there may be an error in your cost or selling price numbers. A margin of 100% would mean your cost is $0.