Interactive Margin v Markup Calculator
Use this calculator to compare gross margin and markup, or to find the selling price you need to hit your target.
Margin % = (Selling Price − Cost) / Selling Price × 100
Markup % = (Selling Price − Cost) / Cost × 100
Tip: A 50% markup is not a 50% margin. It equals a 33.33% margin.
Margin vs Markup: Why This Matters
Margin and markup are two of the most important numbers in pricing strategy, yet they are frequently confused. The confusion can cause products to be priced too low, profits to disappear, and financial forecasts to miss the mark. If you run a business, sell products online, or manage retail pricing, understanding this difference is essential.
In simple terms: markup starts from your cost, while margin starts from your selling price. They measure the same gross profit dollars, but as different percentages.
Quick Definitions
What is markup?
Markup is how much you add to your cost to set a selling price. Example: if your item costs $40 and you sell it for $60, your profit is $20, and your markup is 50% ($20 ÷ $40).
What is margin?
Margin is the share of selling price that is profit before overhead and taxes. In the same example, the $20 profit on a $60 selling price is a 33.33% margin ($20 ÷ $60).
Common Conversions
- 20% margin = 25% markup
- 25% margin = 33.33% markup
- 30% margin = 42.86% markup
- 40% margin = 66.67% markup
- 50% margin = 100% markup
These jumps happen because the denominator changes. Markup divides by cost; margin divides by selling price. That is why margin percentages are always lower than markup percentages for the same product (as long as profit is positive).
How to Use This Calculator
Option 1: You know cost and selling price
Enter both numbers and click From Cost + Selling Price. The tool calculates gross profit, markup, and margin.
Option 2: You know cost and target markup
Enter cost and markup, then click From Cost + Markup. The calculator gives you the selling price and resulting margin.
Option 3: You know cost and target margin
Enter cost and margin, then click From Cost + Margin. This is useful when you plan around required gross margin goals.
Option 4: Convert only between percentages
If you only need a quick conversion, use Convert Markup → Margin or Convert Margin → Markup.
Pricing Mistakes to Avoid
- Using markup targets when leadership tracks margin: this creates reporting mismatches.
- Ignoring discounts: promotions reduce selling price and compress margin fast.
- Forgetting variable costs: shipping, fees, and returns can lower actual profitability.
- Copying competitor prices blindly: your cost structure may be very different.
- Confusing gross profit with net profit: margin here is gross margin, not bottom-line net income.
When to Focus on Margin vs Markup
Use margin when:
- You report financial performance (P&L, investor updates, board reviews).
- You compare product category profitability.
- You set strategic profit thresholds.
Use markup when:
- You build prices from cost in day-to-day operations.
- You quote wholesale or contractor pricing quickly.
- You teach sales teams consistent price construction rules.
Final Takeaway
Margin and markup are not interchangeable. They are both valid, but they answer different pricing questions. If your business sets prices from cost, markup is practical. If your business tracks profitability, margin is usually the better north star. The best operators know both and convert confidently.