Profit & Margin

Markup vs Margin Calculator

See the difference between markup % and margin % for the same product. The two are not interchangeable and mixing them up loses money.

Inputs

COGS + shipping + ad + fees $ Please enter a valid number.
What customer pays $ Please enter a valid number.

Results

Profit per unit
Markup on cost
Profit margin
Difference (markup − margin)

All calculations run in your browser. Nothing is sent to a server. Last updated: 2026-07-19 · Formula verified against published sources (see below).

Formula
Markup % = (Price − Cost) ÷ Cost × 100 · Margin % = (Price − Cost) ÷ Price × 100

The single most common math mistake in ecommerce

A 50% markup is not a 50% margin. It's a 33% margin. A 100% markup is a 50% margin. The two percentages are not interchangeable, and confusing them causes real pricing errors that cost real money.

Markup is profit expressed as a percentage of cost: (price − cost) ÷ cost × 100.

Margin is profit expressed as a percentage of price: (price − cost) ÷ price × 100.

Because price is always larger than cost, the same dollar profit looks like a bigger percentage when divided by cost (markup) than by price (margin). Margin is the number you want for financial analysis — it's what your accountant means by "margin."

Why this matters in practice

If you tell a supplier "I need a 50% margin" and they hear "50% markup," they'll quote you a price that's wrong by a factor of 1.5×. If you set retail prices by saying "let's add 50% to cost" (markup) but tell investors "we have 50% margins" (margin), your numbers won't reconcile and you'll lose credibility.

Read our full article on markup vs margin for the worked examples.

Worked example: $20 cost, $40 price

MetricFormulaValue
Profit per unit$40 − $20$20.00
Markup$20 ÷ $20100.00%
Margin$20 ÷ $4050.00%
Difference100% − 50%50 percentage points

Same $20 profit. Two different percentages. The 50-percentage-point gap is the source of more pricing confusion than any other single number in ecommerce.

Frequently asked questions

Which one should I use?
Use margin for financial reporting, investor updates, and break-even analysis. Use markup when negotiating with suppliers ("I need this at a price that lets me mark up 100%") or when setting retail prices from a cost basis ("I'll mark this up 2×").
Is a 100% markup the same as keystone pricing?
Yes. "Keystone pricing" in retail means marking up 100% (doubling cost). That gives a 50% margin. It's a traditional retail rule of thumb, but modern dropshipping margins are usually thinner because of ad costs.
Not financial advice. This calculator is a math tool, not financial advice. Profit margins, ad spend, and business decisions depend on your specific situation. Consult a licensed accountant or financial advisor before making material business decisions.

Related tools & articles

Calculator

Markup Calculator

Calculate selling price from a cost and a markup percentage. Plain markup math, no margin confusion.

Calculator

Dropshipping Profit Margin Calculator

Calculate the real profit margin on a dropshipping product after product cost, shipping, transaction fees, and ad spend.

Calculator

Gross Margin Calculator

Pure gross margin before ad spend and returns. The number you use to calculate break-even ROAS.

Article

Markup vs Margin: The Math That Loses Money

A 50% markup is not a 50% margin. This article shows why mixing them up costs you money, with a real product example.

Article

How to Price Dropshipping Products (A Practical Framework)

A three-step pricing framework: cost floor, competitive ceiling, psychological anchor. With real numbers from a $25 COGS product.