Monday, November 23, 2026Mon, Nov 23

News and practical guides for American households.

Business

Gross Margin vs. Markup: How to Calculate Both

Markup and gross margin both compare price and cost, but they use different denominators. Confusing them can lead small businesses to price products and services too low.

Calculator and pricing worksheet comparing a product's gross margin and markup percentages
In this article
  1. What Is Gross Profit Margin?
  2. What Is Markup?
  3. Margin vs. Markup: Comparison
  4. Why a 30% Markup Is Not a 30% Margin
  5. How to Convert Margin to Markup
  6. Margin-to-Markup Conversion Chart
  7. How to Calculate a Selling Price From Target Margin
  8. What Costs Should Be Included?
  9. How Do Discounts Affect Margin?
  10. Which Is Better for Pricing?
  11. Frequently Asked Questions
  12. The Bottom Line

Gross margin vs. markup is the difference between measuring gross profit as a percentage of the selling price and measuring it as a percentage of cost. Gross margin uses sales revenue as its denominator, while markup uses the cost of the product or service.

For example, a product that costs $70 and sells for $100 generates $30 in gross profit. Its gross margin is 30%, but its markup is approximately 42.86%.

The dollar profit is the same in both calculations. What changes is the percentage used to describe it.

What Is Gross Profit Margin?

Gross profit margin measures gross profit relative to revenue. It helps a business understand what share of sales remains after the costs included in its cost of goods sold or corresponding direct service costs.

The formula is:

Gross margin (%) = (Selling price − Cost) ÷ Selling price × 100

If a product sells for $150 and costs $90, the gross profit is $60.

The margin is $60 ÷ $150 × 100 = 40%.

A 40% gross margin does not mean the business keeps 40% of its revenue as net income. Operating expenses, financing costs, and taxes may still need to be paid.

What Is Markup?

Markup measures the amount added to cost to establish a selling price.

The formula is:

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

Using the same $90 cost and $150 selling price, the markup is:

$60 ÷ $90 × 100 = 66.67%

Markup is often useful when preparing quotes because it starts with the cost and adds a pricing percentage.

Margin vs. Markup: Comparison

Cost

Selling price

Gross profit

Gross margin

Markup

$50

$75

$25

33.33%

50%

$70

$100

$30

30%

42.86%

$90

$150

$60

40%

66.67%

$100

$200

$100

50%

100%

Margin and markup are equal only in the trivial case where gross profit is zero. For profitable sales, markup exceeds margin because the cost is smaller than the selling price.

Why a 30% Markup Is Not a 30% Margin

A 30% markup means the business adds 30% of its cost to determine the selling price.

If an item costs $100, a 30% markup produces a selling price of $130.

The resulting margin is:

($130 − $100) ÷ $130 × 100 = 23.08%

To achieve a 30% margin on a $100 cost, the selling price must be approximately $142.86.

That difference becomes significant across hundreds or thousands of sales.

How to Convert Margin to Markup

The conversion formula is:

Markup = Margin ÷ (1 − Margin)

Percentages must be expressed as decimals in this formula.

For a target margin of 35%:

0.35 ÷ 0.65 = 0.53846, or approximately 53.85% markup.

The reverse conversion is:

Margin = Markup ÷ (1 + Markup)

For a 50% markup:

0.50 ÷ 1.50 = 0.3333, or approximately 33.33% margin.

Margin-to-Markup Conversion Chart

Target gross margin

Required markup

10%

11.11%

20%

25.00%

25%

33.33%

30%

42.86%

35%

53.85%

40%

66.67%

50%

100.00%

60%

150.00%

The chart assumes positive costs and a target margin below 100%.

How to Calculate a Selling Price From Target Margin

A business that knows its cost and desired gross margin can calculate the required selling price directly.

Selling price = Cost ÷ (1 − Target margin)

Suppose an item costs $48 and the business wants a 40% gross margin.

$48 ÷ 0.60 = $80

The item must sell for $80 to achieve that gross margin before additional factors such as discounts, refunds, or variable selling fees.

For service businesses, the cost calculation should account for relevant direct labor and delivery expenses.

What Costs Should Be Included?

The cost used in a gross-margin calculation should be defined consistently. For merchandise, cost of goods sold can include relevant product acquisition costs and other properly attributable costs under the company's accounting method.

For services, direct project labor and other attributable delivery costs may be appropriate.

General administrative expenses, rent, marketing, and insurance are usually considered separately when calculating broader operating or net profit, although cost classification depends on the business and accounting approach.

A business should avoid comparing margins calculated from inconsistent cost categories.

How Do Discounts Affect Margin?

Discounts reduce the selling price while many underlying costs remain unchanged.

Suppose a product costs $60 and normally sells for $100, producing a 40% gross margin.

If the company offers a 20% price discount, the selling price falls to $80. Gross profit becomes $20, and the gross margin falls to 25%.

Item

Regular price

Discounted price

Selling price

$100

$80

Product cost

$60

$60

Gross profit

$40

$20

Gross margin

40%

25%

A 20% discount in price therefore reduced gross profit by 50% in this example.

Which Is Better for Pricing?

Markup is often convenient when starting from cost, while margin is more useful when evaluating the share of revenue available to cover other expenses and profit.

Businesses should understand both rather than choose one exclusively.

A company may set prices using markup but evaluate performance using gross margin. Problems arise when a manager specifies a target margin and the pricing team mistakenly applies that percentage as markup.

Eagle Post Daily's Profit Margin Calculator can help compare margin, markup, and required selling prices.

Frequently Asked Questions

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

No. A 50% markup corresponds to approximately 33.33% gross margin.

How do you calculate markup from a selling price?

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

How do you calculate margin from cost and price?

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

Is gross margin the same as net profit margin?

No. Gross margin focuses on direct costs or cost of goods sold, while net margin reflects additional expenses and income statement items.

Can a gross margin be negative?

Yes. It can be negative when the relevant cost exceeds the revenue from the sale.

The Bottom Line

Markup measures profit relative to cost, while gross margin measures profit relative to revenue. Both describe the same dollar difference between selling price and cost, but they produce different percentages.

A small business should establish whether its pricing target is a markup or a margin before setting prices. Using the correct formula prevents avoidable underpricing and misleading profitability expectations.

Spotted an error? Tell our editors. Read our corrections policy.