TTrueUnitCalc
Browse all tools
General BusinessUpdated 2026-12-01

Markup vs Margin Calculator 2026: Convert

Convert markup to margin and back. Stop confusing a 50% markup with a 50% margin — see the exact price needed to hit any target margin.

Interactive calculator

True unit cost

Fee lines · adjust to match your account

Net profit per unit

—

Net margin —·Markup —

True unit cost

—

Total fees

—

Break-even price

—

ROI on cost

—

Cost breakdown · share of price

—
Base cost (COGS)—
Payment processing—
Other variable cost—
Net profit—

What-if sensitivity analysis

Price +5% / cost −10%, with fees recalculated each time.

ScenarioPriceProfitMarginΔ Profit
Baseline————
—————
—————
—————

Reference cost at defaults: product cost · break-even $20.60 USD. Currency conversion uses indicative 2026 rates for display only; fee tables show official rates in their original currency.

How this calculator works

The math behind the number

Markup and margin describe the same gap between cost and price from different perspectives, and confusing them is one of the most expensive mistakes in small business pricing. A 50% markup produces only a 33% margin, not a 50% one.

Markup is calculated on cost: add 50% of a $20 cost and the price is $30. Margin is calculated on price: a 50% margin means half the selling price is profit, so a $20 cost requires a $40 price.

The gap widens as the percentages rise. A 100% markup is exactly a 50% margin, while a 100% margin is mathematically impossible — you cannot have a price where profit equals the entire price and cost is zero.

This calculator shows both figures side by side from a cost and price input, and solves for the price required to hit any target margin.

Markup equals (price minus cost) divided by cost. Margin equals (price minus cost) divided by price. We compute both from the same inputs so the difference is visible.

The calculator also solves the reverse: given a cost and a target margin, the required price is cost divided by (1 minus the margin as a decimal).

Additional fees are layered in so the reported margin reflects the true figure after processing and other variable costs, not an idealized one.

Break-even price is solved numerically, accounting for percentage fees that rise with price.

02 · Official rates & benchmarks

Markup ↔ Margin Conversion Table (2026)

Reference conversions. Markup is on cost; margin is on price.

ItemRateBilling basisNotes & conditions
Markup formula(Price − cost) ÷ costCost basisAdd to cost to get price
Margin formula(Price − cost) ÷ pricePrice basisPercentage of revenue
50% markup= 33.3% marginConversionThe classic confusion
100% markup= 50% marginConversionDouble cost
30% margin≈ 42.9% markupConversionPrice = cost ÷ 0.7
Price for target marginCost ÷ (1 − margin)FormulaMargin as a decimal
Payment processing2.9% + $0.30PriceReduces the true margin

Sources consulted: Small business pricing guides 2026 · Retail markup benchmarks · Payment processor rate schedules. Rates change — verify against the official schedule before publishing a price.

03 · Real-world walkthrough

Worked Example: $20 Cost, $40 Price

A product costs $20 and sells for $40. Payment processing is 2.9% of price.

  1. 1

    Selling price

    $40.00

    $40.00
  2. 2

    Product cost

    $20.00

    −$20.00
  3. 3

    Gross profit

    $40 − $20

    $20.00
  4. 4

    Markup

    $20 ÷ $20

    100%
  5. 5

    Margin before fees

    $20 ÷ $40

    50%
  6. 6

    Payment fee

    $40 × 2.9% = $1.16

    −$1.16
  7. 7

    True margin

    ($20 − $1.16) ÷ $40

    47.1%
  8. 8

    Price for 50% true margin

    ($20 + $1.16) ÷ 0.5

    ≈ $42.32

Final result

A $20 cost and $40 price is a 100% markup but only a 50% margin — and 47.1% after payment fees. To keep a true 50% margin you must price near $42.32.

State which measure you mean. A "50% margin" quoted as a markup actually produces only a 33% margin — a 17-point error.

04 · Margin optimization

3 Markup vs Margin Moves

Specific to this platform and verified against the fee structure above — not generic business advice.

01

Always price from target margin, not markup

Divide cost by (1 minus target margin) to set the price. For a 40% margin on a $20 cost, the price is $33.33 — a 66.7% markup, not 40%.

02

Include payment fees before calling the margin

A 50% margin before processing becomes 47% after a 2.9% fee. Add variable fees to the cost side so the quoted margin is the one that reaches the bank.

03

Use margin for reporting, markup for quoting

Margins communicate profitability clearly to stakeholders; markups are intuitive when building a price from cost. Keep both figures but label them explicitly.

05 · Long-tail FAQ

Frequently asked questions

Direct answers to the questions sellers ask before they change a price.

What is the difference between markup and margin?

Markup is the percentage added to cost; margin is the percentage of the selling price that is profit. A 50% markup produces a 33.3% margin, not 50%.

How do I convert markup to margin?

Divide the markup by one plus the markup. A 50% markup becomes 0.5 ÷ 1.5 = 33.3% margin. This calculator performs the conversion instantly.

How do I price for a target margin?

Divide cost by (1 minus the target margin as a decimal). A $20 cost with a 40% target margin needs a price of $33.33.

Is a 100% margin possible?

No. A 100% margin would mean the entire price is profit and cost is zero. A 100% markup, by contrast, is simply doubling the cost and equals a 50% margin.

Which measure should I use for pricing?

Use target margin to set the price and report profitability — it reflects the share of revenue retained. Markup is useful for describing the addition to cost but is easier to misread.

Still stuck? Send us a question and we will add the answer here.

Keep going

Related calculators