Markup and Margin Two Set Comparison Calculator
Enter the cost and selling price for two products or scenarios, and this calculator shows the markup percentage, gross margin percentage, and profit for each - side by side. You can also enter markup or margin directly to solve for the selling price. Use it to compare product lines, evaluate pricing changes, or understand the difference between markup and margin at a glance.
Formula
Worked example
Set 1: Cost $50, Selling Price $75. Profit = $75 - $50 = $25. Markup = $25 / $50 x 100 = 50%. Margin = $25 / $75 x 100 = 33.33%. Set 2: Cost $80, Selling Price $120. Profit = $40. Markup = 50%. Margin = 33.33%. Both sets share the same markup and margin percentages but Set 2 generates $15 more profit per unit.
What this calculator does
This tool lets you enter cost and pricing data for two products, scenarios, or time periods side by side, then immediately see the gross profit, markup percentage, and margin percentage for each. You can enter cost and selling price directly, or enter a cost and a markup or margin percentage and the calculator derives the selling price for you. The comparison column highlights which set generates more profit per unit and by how much. Use it when evaluating product lines, negotiating supplier costs, testing price changes, or explaining the markup-vs-margin difference to a team or client.
Markup vs margin: the core difference
Markup and margin both express profit as a percentage, but the denominator is different. Markup divides the profit by the cost: a $25 profit on a $50 cost is a 50% markup. Margin divides the same profit by the selling price: $25 on a $75 sale is a 33.33% margin. Because the selling price is always higher than the cost, the margin percentage is always lower than the markup percentage for the same product. The two are related by: Margin = Markup / (1 + Markup) and Markup = Margin / (1 - Margin). A common error is quoting a margin target to a supplier who applies it as a markup, which always leads to a lower-than-intended margin. This calculator shows both numbers so you can avoid that confusion.
How to use the two-set comparison
Enter the cost and one of: selling price, markup %, or margin % for each set. The calculator fills in the remaining values. The "Profit Difference" row at the bottom tells you how much more (or less) profit per unit Set 2 produces compared to Set 1. Common use cases include: comparing two suppliers for the same product (different costs, same target selling price), evaluating a price increase on a single product (same cost, new vs old price), benchmarking two product categories (different costs and prices), and checking whether a proposed margin target meets a minimum profit requirement.
Common markup benchmarks by industry
Markups vary widely by industry. Grocery and commodity retailers often work at 10-30% markup (roughly 9-23% margin) and rely on volume. Standard retail typically uses a 50% markup (33% margin), sometimes called "keystone" pricing. Specialty and branded goods frequently see 75-100% markup (43-50% margin). Software and service businesses with low marginal costs often operate at 200% markup or higher. Contractors frequently target 33-50% markup on labor and materials. Knowing the typical range for your industry helps you spot pricing that is out of line.
Markup vs Margin Quick Reference
| Markup % | Margin % | Relationship |
|---|---|---|
| 10 | 9.09 | Low-margin commodity pricing |
| 20 | 16.67 | Typical grocery / high-volume retail |
| 33 | 24.81 | Common retail rule of thumb |
| 50 | 33.33 | Standard retail keystone pricing |
| 75 | 42.86 | Specialty retail / branded goods |
| 100 | 50 | Double cost; 50% gross margin |
| 150 | 60 | High-end or luxury products |
| 200 | 66.67 | Software, services, IP-heavy products |
Shows how a given markup percentage translates to gross margin percentage, and vice versa.
Frequently asked questions
Why is my margin percentage always lower than my markup percentage?
Because they use different denominators. Markup divides profit by cost, while margin divides the same profit by the (higher) selling price. Since the selling price always exceeds the cost (assuming a positive profit), the margin percentage will always be smaller. For example, a $25 profit on a $50 cost is a 50% markup, but the same $25 on a $75 selling price is only a 33.33% margin.
How do I convert markup to margin (and back)?
To convert markup to margin: Margin % = Markup % / (1 + Markup % / 100). For a 50% markup: 50 / (1 + 0.5) = 33.33%. To convert margin to markup: Markup % = Margin % / (1 - Margin % / 100). For a 33.33% margin: 33.33 / (1 - 0.3333) = 50%. These are exact inverse formulas and work at any value.
What does "keystone pricing" mean?
Keystone pricing is a retail rule of thumb that sets the selling price at exactly double the cost, which produces a 50% markup and a 33.33% gross margin. It was common in traditional retail because it was easy to calculate without a computer. Many modern retailers use different markups by category, but 50% remains a useful reference point.
Can I use this calculator for services, not just physical products?
Yes. Replace "cost" with your direct cost for delivering the service (labor, materials, software licenses) and "selling price" with what you charge the client. The markup and margin percentages work the same way. For hourly services, you might calculate cost as your hourly rate times estimated hours, then compare two billing rates or two service packages.
How is gross margin different from net margin?
Gross margin (calculated here) subtracts only the direct cost of goods or production from revenue. Net margin also deducts operating expenses such as rent, salaries, marketing, and taxes. A business can have a 40% gross margin but a 5% net margin if overhead is high. This calculator focuses on gross margin because it is the metric most directly controlled by pricing and sourcing decisions.