Skip to content
Finance

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.

Your details

Choose which value to calculate for Set 1.
The cost of goods or production cost for Set 1.
USD
Markup % = (Selling Price - Cost) / Cost x 100.
%
Choose which value to calculate for Set 2.
The cost of goods or production cost for Set 2.
USD
Markup % = (Selling Price - Cost) / Cost x 100.
%
Set 1 - Profit
25USD

Gross profit: Selling Price minus Cost for Set 1

Set 1 - Selling Price75USD
Set 1 - Markup %0.5%
Set 1 - Margin %0.33%
Set 2 - Selling Price120USD
Set 2 - Profit40USD
Set 2 - Markup %0.5%
Set 2 - Margin %0.33%
Profit Difference (Set 2 - Set 1)15USD
Margin % Difference0%
Set 1100.83
Set 2160.83

Profit Difference (USD): 15

  • Selling Price (USD)
  • Profit (USD)
  • Markup %
  • Margin %
04080050100
Markup %
  • Set 1 (cost 50.00, current markup 50.0%)
  • Set 2 (cost 80.00, current markup 50.0%)

Set 2 is more profitable per unit sold.

  • Set 1 has a 33.33% gross margin and a 50.00% markup.
  • Set 2 has a 33.33% gross margin and a 50.00% markup.
  • Set 2 generates 15.00 more in profit per unit.

Next stepRemember: a higher markup does not always mean a higher margin. Margin is always lower than markup for the same product because it is calculated against the selling price rather than the cost.

Formula

Markup=(PriceCost)/Costx100;Margin=(PriceCost)/Pricex100;Price(frommarkup)=Costx(1+Markup/100);Price(frommargin)=Cost/(1Margin/100)Markup = (Price - Cost) / Cost x 100; Margin = (Price - Cost) / Price x 100; Price (from markup) = Cost x (1 + Markup/100); Price (from margin) = Cost / (1 - Margin/100)

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
109.09Low-margin commodity pricing
2016.67Typical grocery / high-volume retail
3324.81Common retail rule of thumb
5033.33Standard retail keystone pricing
7542.86Specialty retail / branded goods
10050Double cost; 50% gross margin
15060High-end or luxury products
20066.67Software, 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.

Sources

Written by Sarah Klein, CFP Certified Financial Planner · Chicago, USA

Fifteen years translating mortgage tables and amortization schedules into decisions that actually help real borrowers.

How we build & check our calculators

This tool provides general information and education, not professional advice. For decisions about your health or finances, consult a qualified professional.

Search 3,500+ calculators

Loading search…