Profit Margin vs Markup: Formulas, Differences and Examples

Learn the difference between profit margin and markup with simple formulas, conversion charts, and real-world examples. Discover how to calculate selling prices, avoid pricing mistakes, and understand business profitability.

By Hamza Aamir6 min readReviewed
Profit margin vs markup comparison showing a 40% gross margin and 66.67% markup on a product costing $60 and selling for $100.

Profit margin and markup both measure profit, but they use different calculation bases. Profit margin measures profit as a percentage of the selling price, while markup measures profit as a percentage of the product cost. Gross profit margin is calculated as (Selling Price − Cost) ÷ Selling Price × 100, while markup is calculated as (Selling Price − Cost) ÷ Cost × 100. For example, a product costing $60 and selling for $100 has a 40% gross profit margin and a 66.67% markup.

Key takeaways

  • Profit margin measures profit relative to selling price, while markup measures profit relative to cost.
  • A 50% markup equals approximately a 33.33% gross profit margin, not a 50% margin.
  • Gross Profit Margin (%) = (Selling Price − Cost) ÷ Selling Price × 100.
  • Markup (%) = (Selling Price − Cost) ÷ Cost × 100.
  • Markup helps set selling prices, while profit margin helps evaluate profitability.
  • Shipping, marketplace fees, discounts, and other expenses can reduce actual profitability.

Profit margin and markup are two essential calculations for businesses that sell products or services. Although both help measure profit, they use different bases and produce different percentages.

Profit margin measures profit relative to the selling price, while markup measures profit relative to cost.

Understanding this difference helps business owners set prices, calculate profitability, and avoid common pricing mistakes.

What Is Profit Margin?

Profit margin measures how much of your sales revenue remains as profit after deducting relevant costs.

There are several types of profit margin, including gross, operating, and net profit margin. For product pricing comparisons, gross profit margin is commonly used.

Gross Profit Margin Formula

Gross Profit Margin (%) = (Selling Price − Cost) ÷ Selling Price × 100

Example

Suppose you buy a product for $60 and sell it for $100.

  • Product cost: $60

  • Selling price: $100

  • Gross profit: $40

Calculation:

($100 − $60) ÷ $100 × 100 = 40%

Your gross profit margin is 40%.

This means 40% of your selling price remains after deducting the product cost, before expenses not included in that cost.

What Is Markup?

Markup measures how much profit you add to the original cost of a product, expressed as a percentage of that cost.

Markup Formula

Markup (%) = (Selling Price − Cost) ÷ Cost × 100

Example

Using the same product:

  • Product cost: $60

  • Selling price: $100

  • Gross profit: $40

Calculation:

($100 − $60) ÷ $60 × 100 = 66.67%

The markup is approximately 66.67%.

Even though the profit remains $40, the markup percentage is higher because it is calculated using the smaller cost amount.

Profit Margin vs Markup: Key Differences

FeatureProfit MarginMarkup
Calculation baseSelling priceProduct cost
PurposeMeasure profitabilitySet selling prices
FormulaProfit ÷ Selling Price × 100Profit ÷ Cost × 100
Example40%66.67%

Both measurements are useful, but they answer different questions.

Markup tells you how much you charge above cost. Gross profit margin tells you what percentage of the selling price remains after product costs.

Margin vs Markup Conversion Chart

MarkupGross Profit Margin
10%9.09%
20%16.67%
25%20%
30%23.08%
40%28.57%
50%33.33%
75%42.86%
100%50%

These values assume a positive product cost and consistent cost definitions.

How to Convert Markup Into Profit Margin

You can calculate gross profit margin directly from markup.

Formula

Margin (%) = Markup (%) ÷ (100 + Markup (%)) × 100

Example: 50% Markup

50 ÷ (100 + 50) × 100 = 33.33%

A 50% markup produces approximately a 33.33% gross profit margin.

How to Convert Profit Margin Into Markup

Use the following formula to calculate the markup required for a target gross profit margin.

Formula

Markup (%) = Margin (%) ÷ (100 − Margin (%)) × 100

This formula applies when the target gross profit margin is below 100%.

Example: 25% Profit Margin

25 ÷ (100 − 25) × 100 = 33.33%

To achieve a 25% gross profit margin, you need approximately a 33.33% markup.

How to Calculate Selling Price Using Markup

Businesses can use markup to determine selling prices based on product cost.

Formula

Selling Price = Cost × (1 + Markup Percentage ÷ 100)

Example

Suppose a product costs $80 and you want a 40% markup.

$80 × 1.40 = $112

Your selling price is $112.

The gross profit is $32, and the gross profit margin is approximately 28.57%.

How to Calculate Selling Price Using Target Profit Margin

If you want to achieve a specific gross profit margin, use a different formula.

Formula

Selling Price = Cost ÷ (1 − Target Margin Percentage ÷ 100)

Example

A product costs $80, and your target gross profit margin is 40%.

$80 ÷ 0.60 = $133.33 (approximately)

Your selling price should be approximately $133.33.

The gross profit is approximately $53.33, producing a gross profit margin of approximately 40%.

Notice the difference:

  • A 40% markup produces a selling price of $112.

  • A 40% gross profit margin requires a selling price of approximately $133.33.

This is why businesses should not use markup and margin interchangeably.

Gross Profit Margin vs Net Profit Margin

Gross profit margin and net profit margin measure different levels of profitability.

Gross profit margin measures revenue remaining after deducting the cost of goods sold.

Net profit margin measures the percentage of revenue remaining as net income after applicable expenses.

Net Profit Margin Formula

Net Profit Margin (%) = Net Income ÷ Revenue × 100

Example

Consider a business with the following figures:

  • Revenue: $10,000

  • Cost of goods sold: $6,000

  • Gross profit: $4,000

  • Other expenses, including applicable taxes: $2,500

  • Net income: $1,500

Gross profit margin:

$4,000 ÷ $10,000 × 100 = 40%

Net profit margin:

$1,500 ÷ $10,000 × 100 = 15%

This example demonstrates why a business can have a healthy gross profit margin but a significantly lower net profit margin.

Common Mistakes When Calculating Margin and Markup

1. Confusing Markup With Margin

A 30% markup does not produce a 30% gross profit margin.

A 30% markup produces a gross profit margin of approximately 23.08%.

2. Ignoring Additional Business Expenses

Business costs may include:

  • Shipping and packaging

  • Marketplace selling fees

  • Payment processing charges

  • Advertising expenses

  • Software subscriptions

  • Storage and administration

Some expenses may be classified as cost of goods sold, while others are operating expenses. Use consistent accounting definitions when calculating and comparing margins.

3. Forgetting Discounts

Discounts reduce selling prices and can significantly affect profitability.

Suppose a product costs $60 and normally sells for $100.

Its original gross profit margin is 40%.

After a 20% discount, the selling price becomes $80.

New gross profit margin:

($80 − $60) ÷ $80 × 100 = 25%

The discount reduces the gross profit margin from 40% to 25%.

4. Ignoring Tax Treatment

VAT, sales taxes, and other taxes can affect pricing decisions.

Businesses should distinguish sales revenue from taxes collected on behalf of tax authorities, following the rules applicable to their jurisdiction.

5. Using Outdated Product Costs

Supplier prices, shipping costs, and production expenses may change over time.

Using outdated costs can lead to inaccurate markup and margin calculations.

Which Should You Use: Profit Margin or Markup?

Both measurements serve different purposes.

Use Markup When:

  • Setting product selling prices

  • Adding a percentage above cost

  • Preparing product quotations

  • Applying cost-based pricing strategies

Use Profit Margin When:

  • Measuring profitability

  • Comparing product performance

  • Reviewing business financial results

  • Evaluating pricing decisions

Using both calculations can help businesses understand pricing and profitability more clearly.

Frequently Asked Questions

Is a 50% markup the same as a 50% profit margin?

No. A 50% markup produces approximately a 33.33% gross profit margin. A 50% gross profit margin requires a 100% markup.

What is the difference between a 20% margin and a 20% markup?

A 20% markup produces approximately a 16.67% gross profit margin. A 20% gross profit margin requires a 25% markup.

How do you calculate gross profit margin?

Subtract the product cost from the selling price, divide the result by the selling price, and multiply by 100.

How do you calculate markup percentage?

Subtract the product cost from the selling price, divide the result by the product cost, and multiply by 100.

Can profit margin be negative?

Yes. Gross profit margin becomes negative when the cost of goods sold exceeds revenue.

Can markup exceed 100%?

Yes. For example, a product costing $20 and selling for $50 has a 150% markup.

How do you calculate a selling price for a 30% gross profit margin?

Divide the product cost by 0.70. For example, a product costing $70 requires a selling price of $100 to achieve a 30% gross profit margin.

What is a good profit margin for a small business?

There is no universal ideal profit margin. Suitable margins depend on the industry, cost structure, competitive environment, and business model.

Final Thoughts

Understanding the difference between profit margin and markup is essential for making informed pricing decisions.

Markup measures profit relative to cost, while gross profit margin measures profit relative to selling price.

By applying the correct formulas and considering additional business expenses, sellers can set more accurate prices and better understand their profitability.

Frequently asked questions

What is the difference between profit margin and markup?

Profit margin measures profit as a percentage of selling price, while markup measures profit as a percentage of cost. Both use the same profit amount but different calculation bases.

Is a 50% markup the same as a 50% profit margin?

No. A 50% markup produces a gross profit margin of approximately 33.33%. To achieve a 50% gross profit margin, you need a 100% markup.

How do you calculate gross profit margin?

Gross Profit Margin (%) = (Selling Price − Cost) ÷ Selling Price × 100. For example, a product costing $60 and selling for $100 has a 40% gross profit margin.

How do you calculate markup percentage?

Markup (%) = (Selling Price − Cost) ÷ Cost × 100. For example, a product costing $60 and selling for $100 has a markup of approximately 66.67%.

How do you convert markup into profit margin?

Use Margin (%) = Markup (%) ÷ (100 + Markup (%)) × 100. For example, a 25% markup equals a 20% gross profit margin.

How do you calculate selling price for a 30% profit margin?

Divide the product cost by 0.70. For example, if a product costs $70, its selling price must be $100 to achieve a 30% gross profit margin.

Can profit margin be negative?

Yes. A profit margin can be negative when the relevant costs exceed revenue. For example, selling a product for $80 when its cost is $100 results in a negative 25% gross profit margin.

References

Back to all articles