Margin Vs Markup Calculator

Margin Vs Markup Calculator

Definition: Price smarter, protect your margins, and communicate profit targets clearly.
Instantly convert between margin and markup, calculate required prices from costs (or vice versa), and model realistic scenarios with fees, discounts, and returns.

Margin
Markup (%): 0%
Sale Price: $0.00
Profit: $0.00
Markup
Margin (%): 0%
Sale Price: $0.00
Profit: $0.00

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

Many teams use “margin” and “markup” interchangeably—but they are not the same. Using the wrong one can lead to undercutting profit targets, mispricing SKUs, and misaligned incentives between sales and finance.

  • Margin (%): The share of the selling price that is profit.
  •   Formula: Margin = (Price – Cost) / Price
  • Markup (%): How much you increase cost to get the selling price.
  •   Formula: Markup = (Price – Cost) / Cost

Because price appears in the denominator for margin and cost appears in the denominator for markup, the two measures produce different percentages for the same transaction. A 50% margin corresponds to a 100% markup.

Core Formulas & Conversions

Given any two variables among Price (P), Cost (C), Margin (m), and Markup (u), you can compute the others:

 

  • P = C / (1 – m)
  •  u = m / (1 – m)
  • m = u / (1 + u)
  • P = C × (1 + u)
  • C = P × (1 – m)
  • C = P / (1 + u)

Visual: Markup vs Margin

This chart shows how markup grows faster than margin as targets increase.

Quick Conversion Table

Margin %Markup %Price Multiplier (× Cost)Cost Share of Price
10%11.1%1.111×90.0%
15%17.6%1.176×85.0%
20%25.0%1.25×80.0%
25%33.3%1.333×75.0%
30%42.9%1.429×70.0%
35%53.8%1.538×65.0%
40%66.7%1.667×60.0%
45%81.8%1.818×55.0%
50%100.0%2.0×50.0%
55%122.2%2.222×45.0%
60%150.0%2.5×40.0%
65%185.7%2.857×35.0%
70%233.3%3.333×30.0%

Example A: Given Cost & Target Margin → Find Price, Markup

  • Cost (C) = $40
  • Target Margin (m) = 50%

    Price: P = C / (1 – m) = $40 / (1 – 0.50) = $80
    Markup: u = m / (1 – m) = 0.50 / 0.50 = 1.0 → 100%

Example B: Given Price & Cost → Find Margin, Markup

  • Price (P) = $75
  • Cost (C) = $45

    Margin: m = (P – C) / P = (75 – 45) / 75 = 30 / 75 = 0.40 → 40%
    Markup: u = (P – C) / C = 30 / 45 = 0.6667 → 66.7%

Example C: Given Cost & Target Markup → Find Price, Margin

  • Cost (C) = $25
  • Target Markup (u) = 60%

    Price: P = C × (1 + u) = $25 × 1.60 = $40
    Margin: m = u / (1 + u) = 0.60 / 1.60 = 0.375 → 37.5%

Scenario: Pricing Three SKUs to Hit Consistent Margin

You want a standard 40% margin across a small catalog. Compute prices from cost, then confirm markup.

SKUCost (C)Target Margin (m)Price (P = C / (1–m))Markup (u)Check Margin
A$12.0040%$20.0066.7%40.0%
B$35.0040%$58.3366.7%40.0%
C$58.0040%$96.6766.7%40.0%

Advanced: Net Margin with Fees, Discounts, and Returns

To reflect reality, fold variable costs and expected losses into your calculations. Replace plain Cost with Landed Cost and replace Price with Net Revenue.

  • Landed Cost per order = Product Cost + Shipping/Packaging + Handling
  • Variable fees = Payment fee% × Price + fixed fee + Marketplace fee% × Price
  • Expected returns cost = Return rate × (Return handling + lost margin)
  • Net Revenue = Price – Discounts – Marketplace fee% × Price – Payment fee% × Price – Fixed transaction fee
  • Effective Margin = (Net Revenue – Landed Cost – Expected returns cost) / Price

Example:

  • Product Cost = $40; Shipping = $8; Handling = $2 → Landed Cost = $50
  • Price = $100; Coupon = $5
  • Payment fee = 2.9% + $0.30; Marketplace fee = 12%
  • Return rate = 8%; Return handling = $6 (on returned orders)

Net Revenue = 100 – 5 – (0.12×100) – (0.029×100) – 0.30 = 100 – 5 – 12 – 2.9 – 0.30 = $79.80
Expected returns cost = 0.08 × $6 = $0.48
Effective Margin (on price) = (79.80 – 50 – 0.48) / 100 = 29.32%
Equivalent Markup on landed cost = Profit / Landed Cost = (79.80 – 50 – 0.48) / 50 ≈ 0.5864 → 58.6%

Solve for Price from Target Margin (with Fees)

When fees depend on price (percentage-based), solving for price is a little trickier.

Let:

  • C_L = Landed Cost (includes product + shipping/handling)

  • f_m = Marketplace fee rate (e.g., 0.12)

  • f_p = Payment fee rate (e.g., 0.029)

  • f_fix = Fixed fee per order (e.g., 0.30)

  • d = Discount per order

  • m* = Target margin on price (e.g., 0.35)

We want: (P – d – f_m·P – f_p·P – f_fix – C_L) / P = m*
⇒ P × (1 – f_m – f_p – m*) = C_L + f_fix + d
⇒ P = (C_L + f_fix + d) / (1 – f_m – f_p – m*)
Example: C_L=$50, f_m=0.12, f_p=0.029, f_fix=$0.30, d=$5, target m*=35%:
P = (50 + 0.30 + 5) / (1 – 0.12 – 0.029 – 0.35) = 55.30 / 0.501 = $110.38

Tax/VAT Considerations (Price-Inclusive Markets)

If advertised prices include VAT/sales tax, treat tax as a pass-through that reduces Net Revenue.

For VAT rate t_v:

  • Net-of-VAT Price = P / (1 + t_v)

  • Apply margin calculations on net-of-VAT revenue.

  • Equivalent markup should be computed on cost vs net-of-VAT revenue.

Common Pitfalls

  • Using markup when your dashboards and contracts expect margin (or vice versa).

  • Forgetting to include fees, discounts, and expected returns in margin planning.

  • Comparing pre-tax margins to post-tax results.

  • Assuming shipping pass-through is neutral—free shipping can erode margin quickly.

  • Bundles: not allocating cost and discount correctly across items.

  • Channel mix: margins differ by channel due to fees—avoid one-size-fits-all pricing.

Practical Worksheets (Use with the Calculator)

GivenInputComputeFormulaResult
Cost & Target MarginC = $28, m = 45%PriceP = C / (1 – m)$50.91
Price & CostP = $60, C = $36Margin & Markupm = (P – C) / P ; u = (P – C) / Cm = 40%, u = 66.7%
Cost & Target MarkupC = $18, u = 80%Price & MarginP = C × (1 + u) ; m = u / (1 + u)P = $32.40, m = 44.4%

FAQ

Which should I use—margin or markup?

Finance typically plans in margin; sales often think in markup. Use margin for profitability planning and reporting; use markup pragmatically for price building from cost. Convert between them to stay aligned.

Because margin divides by price while markup divides by cost. With C=$40 and P=$80: margin=(80–40)/80=50%; markup=(80–40)/40=100%.

Percentage-based fees reduce the denominator available for margin. Use the price-solve formula above to set prices that preserve your target margin after fees and discounts.

Ready to price with precision? Use the Margin vs Markup Calculator now and convert targets into action.

Wait! Book a free growth audit – it only takes 30 seconds.