Pricing fundamentals

Markup vs. Margin: What’s the Difference and Why It Matters

Markup and margin describe the same unit profit from two different starting points. Confusing them can turn a price that looks comfortably profitable into one that misses its target. The fix is simple: keep the denominator visible.

Two percentages, one sale

Markup measures how much profit is added relative to an item’s cost. If an item costs $40 and sells for $60, the $20 unit profit is half of the $40 cost, so markup is 50%. Margin measures that same $20 as a share of the $60 selling price, so margin is 33.33%.

The numerator is identical: selling price minus unit cost. The denominator changes. Markup starts from what you paid or spent to produce the item. Margin starts from what the customer paid. Because selling price is usually larger than cost, the margin percentage is lower than the corresponding markup.

Both can be useful. Markup is intuitive when building a price from cost. Margin is easier to connect to the income statement because it says how much of revenue remains after the included unit cost. The danger appears when a target stated in one language is applied with the other formula.

The formula and each variable

Markup and margin formulas

Markup = Unit profit ÷ Unit cost × 100 | Margin = Unit profit ÷ Selling price × 100

Unit profit
Selling price minus the unit cost included in the analysis.
Unit cost
The direct cost used as the base for markup; define what it includes.
Selling price
The price charged before or after tax, used consistently.

Conversion: margin = markup ÷ (1 + markup). Markup = margin ÷ (1 − margin). Use decimal forms, such as 0.50 for 50%.

How to calculate it step by step

  1. Find the unit cost

    Include the costs relevant to the pricing decision. For a physical product this may include purchase cost, packaging, and per-order fulfillment.

  2. Record the actual selling price

    Use the price after discounts if you are measuring an actual sale. A list price that customers rarely pay overstates both profit and margin.

  3. Calculate unit profit

    Subtract unit cost from selling price. This dollar amount is the common numerator for both calculations.

  4. Choose the correct denominator

    Divide by cost for markup. Divide by selling price for margin. Write the denominator next to the percentage in pricing notes.

  5. Check overhead separately

    Unit gross profit contributes toward fixed costs. It is not automatically net profit, so test expected volume and overhead before finalizing the price.

Worked example

Worked example: a handmade desk organizer

A maker spends $40 on wood, hardware, packaging, and variable production labor for one organizer. The product sells for $60. The sale creates $20 of unit profit before fixed overhead.

Unit cost
$40
Selling price
$60
Unit profit
$20
  1. Markup = ($60 − $40) ÷ $40 × 100 = $20 ÷ $40 × 100 = 50%.
  2. Margin = ($60 − $40) ÷ $60 × 100 = $20 ÷ $60 × 100 = 33.33%.
  3. To convert: 50% markup ÷ (1 + 50%) = 0.50 ÷ 1.50 = 33.33% margin.
Result50% markup ≠ 50% margin; the sale has a 33.33% margin

The percentages differ even though cost, price, and $20 profit never change. If the maker had priced for a “50% margin” by simply adding 50% to cost, the resulting $60 price would miss the goal. A true 50% margin on $40 cost requires $40 ÷ (1 − 0.50) = $80.

Convert a target instead of guessing

For a known markup, convert to margin with markup ÷ (1 + markup). A 25% markup is 0.25 ÷ 1.25 = 20% margin. A 100% markup is 1 ÷ 2 = 50% margin. The gap widens as the percentages rise.

For a target margin, convert to markup with margin ÷ (1 − margin). A 40% target margin requires 0.40 ÷ 0.60 = 66.67% markup. As target margin approaches 100%, the required markup grows sharply because cost must become a smaller share of price.

Build price directly from a target margin

The most direct formula is selling price = unit cost ÷ (1 − target margin). With $72 of unit cost and a 40% margin target, price is $72 ÷ 0.60 = $120. Unit profit is $48, which is 40% of $120.

This protects the denominator, but the result is still a model. The market may not accept the price, and the cost may omit payment fees, returns, sales commissions, or fixed overhead. Pricing needs both economic math and customer evidence.

Discounts compress margin faster than they look

A 10% price discount is not a 10% reduction in profit. If the $60 organizer is discounted to $54 while cost stays $40, unit profit falls from $20 to $14—a 30% decline. Margin falls from 33.33% to about 25.93%.

That does not make discounting wrong. It means the extra volume must be evaluated against the reduced contribution per unit. Use the actual transaction price in post-promotion reporting.

  • Keep list price and realized price separate.
  • Model platform fees that change with selling price.
  • Recalculate when the supplier or fulfillment cost changes.

What changes markup and margin

Raises both measures

  • A higher realized selling price with the same unit cost.
  • A lower unit cost with the same selling price.
  • A product mix weighted toward stronger unit economics.
  • Fewer discounts, refunds, and uncounted per-sale fees.

Lowers both measures

  • Input, packaging, labor, or marketplace fees increasing.
  • Discounts applied without a new cost-and-volume model.
  • Using list price instead of the price customers actually pay.
  • Omitting variable costs that scale with every sale.

Common mistakes

Where the calculation goes wrong

Treating 50% markup as 50% margin

A 50% markup produces a 33.33% margin. The same percentage cannot be substituted because the formulas use different denominators.

Using an incomplete unit cost

Purchase cost alone may omit packaging, transaction fees, or variable labor. The calculation can be exact and still mislead if the input is incomplete.

Calling gross unit profit net profit

The difference between price and unit cost still has to cover fixed overhead, financing, taxes, and other business expenses.

Ignoring discount reality

Calculate actual margin from the realized price, not a list price that was crossed out during most sales.

Action checklist

Before you use the result

  • Define the full unit cost used in the calculation.
  • Use realized selling price when reviewing past performance.
  • Label every percentage explicitly as markup or margin.
  • Convert a target with the formula before setting price.
  • Test discount scenarios in dollars as well as percentages.
  • Confirm expected total contribution can cover fixed costs.

FAQ

Questions beyond the basic calculation

Is markup always higher than margin?

For a profitable sale with positive cost, the markup percentage is higher than the corresponding margin because markup divides by the smaller cost base. At zero profit, both are 0%.

What markup gives a 30% margin?

Use margin ÷ (1 − margin): 0.30 ÷ 0.70 = 0.4286, or about 42.86% markup.

Can margin be negative?

Yes. If selling price is below the included unit cost, unit profit and margin are negative. That can be intentional for a limited promotion, but the loss should be visible.

Should sales tax be included in selling price?

Usually use revenue the business retains rather than tax collected for a government, but treatment depends on records and jurisdiction. The important point is to use the same basis across price, cost, and reporting.

Note: This guide offers general educational information. Actual pricing should consider taxes, contracts, competition, customer demand, and the complete cost structure of your business.