How It Works
Markup is measured against cost: the selling price is the cost multiplied by one plus the markup written as a decimal.
Selling Price = Cost × (1 + Markup% ÷ 100) · Gross Profit = Selling Price − Cost · Gross Margin% = Gross Profit ÷ Selling Price × 100 · Reverse (margin → markup): Markup% = Margin% ÷ (100 − Margin%) × 100
- Gross profit is the dollar gap between selling price and cost.
- Gross margin restates that same profit as a share of the selling price, so it is always a smaller percentage than the markup.
- To work backward from a target margin, divide the margin by one minus the margin: a 50% margin requires a 100% markup, a 33.3% margin requires a 50% markup.
Worked Example
You buy a product for $50 and apply a 40% markup.
A 40% markup on $50 gives a $70 selling price and $20 of gross profit. That same $20 is only a 28.57% gross margin, because margin divides by the $70 price rather than the $50 cost. If you actually needed a 40% margin, you would have to mark up by 66.7%, not 40%.
Markup vs. Margin: Pricing From Cost Without Fooling Yourself
The same profit, two different denominators
Markup and gross margin are two ways of describing one number: the gap between what an item costs you and what you sell it for. Markup measures that gap against your cost, which is the figure you start from when you price forward from a supplier invoice. Margin measures the identical gap against the selling price, which is the figure that matters once the sale is made and you want to know how much of the revenue you actually kept.
Because the selling price is always larger than the cost, the margin percentage is always smaller than the markup percentage, even though the dollars of profit are exactly the same. A $50 item marked up 40% sells for $70 and earns $20 — a 40% markup but a 28.6% margin. Treating those two numbers as interchangeable is the quiet leak behind a lot of disappointing income statements.
Pricing backward from the margin you need
Most pricing advice runs forward from cost, but real targets are usually set as margins: a store wants to keep 40 cents of every sales dollar, not to "mark up by some number." To get there you have to convert, because marking up by your target margin always falls short. The conversion is Markup% = Margin ÷ (1 − Margin).
A 20% margin needs a 25% markup; a 33.3% margin needs a 50% markup; a 50% margin needs a 100% markup — which is exactly why keystone (doubling cost) is the retail shorthand for a half-margin product. Keep that relationship in mind, or use the calculator above, and you will stop accidentally underpricing every time you reason from a margin goal.
Where the category "rules" actually come from
Keystone doubling, thin single-digit grocery markups, and the high markups restaurants put on food and especially drinks are real conventions, but they are conventions, not laws. They emerged from each category’s mix of volume, spoilage, handling, and competition: groceries move enormous volume on perishable goods, while a restaurant’s menu price has to fund labor, rent, and waste that the raw ingredient cost ignores.
That is why a benchmark borrowed from another industry can mislead you. The useful comparison is against your own landed cost and your own operating expenses. Use category figures to sanity-check a price, not to set it.
What markup quietly leaves out
The selling price this calculator produces is a gross number. It clears the cost of the item itself and nothing else. Payment processing, shipping and packaging, storage, marketing, discounts, returns, and tax all still have to come out of the gross profit before you reach net profit — and on small-ticket or heavily-discounted items, those can swallow most of it.
A practical habit is to decide the net margin you want to keep, add a realistic estimate of those per-sale and overhead costs back in, and only then solve for the markup. That turns markup from a hopeful guess into a number that actually leaves profit once the real costs of selling are paid.
Sources & References
Figures on this page are checked against primary, authoritative sources. Links open in a new tab.