Pricing • 3 min read

Margin vs markup: conversion formulas and three checked examples

See why 50% markup is not 50% margin, convert percentages in both directions and recover the implied cost from a selling price.

Margin divides the price-minus-cost difference by selling price. Markup divides that difference by cost. Mixing them up changes the price even when the percentages look identical. These examples use a single entered cost basis and exclude tax, fees and additional expenses unless explicitly included.

Compare the denominators on one item

An item costs USD 80 and sells for USD 120. The difference is USD 40. Its markup is 40 ÷ 80 = 50%; its margin is 40 ÷ 120 = one third, approximately 33.33%. Neither percentage changes the USD 40 difference.

To get a 50% margin on the same USD 80 cost, the price must be USD 160. At that price, the USD 80 difference is half of the selling price and equal to the original cost, so markup is 100%.

Three independent price checks
CostSelling priceDifferenceMarkupMargin
USD 80USD 120USD 4050%33.33%
USD 45USD 60USD 1533.33%25%
USD 24USD 40USD 1666.67%40%

Convert the percentages directly

Use decimal rates in the formulas: 50% is 0.50, not 50. Let u be markup and m be margin. With positive cost and price, m = u ÷ (1 + u), while u = m ÷ (1 − m). A 40% margin therefore needs markup 0.40 ÷ 0.60 = approximately 66.67%.

Round for display at the end rather than using the displayed 66.67% as though it were exact. Small differences can matter when a quoted price must meet a minimum target.

Margin and markup conversion worksheet
Markup to margin: m = u / (1 + u)
Margin to markup: u = m / (1 − m)
Example: 50% markup → 0.50 / 1.50 = 33.333…% margin.
Example: 40% margin → 0.40 / 0.60 = 66.666…% markup.
Use decimal rates in the calculation, then multiply by 100 for display.

Recover the implied cost as a cross-check

Suppose the selling price is USD 150 and the intended margin is 40%. The implied cost is 150 × (1 − 0.40) = USD 90. The USD 60 difference divided by that cost gives a 66.67% markup.

This reverse check can expose a label error in a pricing sheet. A sheet claiming both 40% margin and 40% markup on the same positive-cost sale cannot be correct under these definitions.

Know where conversion stops working

With zero cost and a positive price, margin on the entered costs is 100%, but markup is undefined because its denominator is zero. With zero selling price, margin is undefined. With positive cost, an exact 100% margin is not achieved by any finite selling price.

A price below cost produces negative profit and a negative margin. Do not compare that outcome with a normal positive-markup target while ignoring the sign. Also do not compare one calculation including fulfillment fees with another excluding them.

Use each calculator for its own input

Enter Cost 80 and Target markup 50 in the markup calculator: the price is USD 120 and margin approximately 33.33%. Enter Cost 80 and Selling price 160 in the margin calculator to check a 50% margin.

The Target markup box is not a target-margin box. Convert the target or use the reverse-pricing formula before choosing a price. Both tools use only the numbers you enter and do not establish whether a price will sell.

Free Docuivo tool

Put this guide into practice.

Compare margin and markup →

This guide provides general educational information and is not legal, accounting, tax or financial advice. Requirements vary by country, industry and transaction. See how Docuivo tests its tools and calculations.