Workspace
The calculator's own fields, action and results arrive with the verified pack when you load it. Nothing is computed in this page.
From a cost and a selling price, get the profit, the margin as a share of price, and the markup as a share of cost — the pricing pair everyone conflates, computed side by side.
The calculator's own fields, action and results arrive with the verified pack when you load it. Nothing is computed in this page.
The profit itself is uncontroversial: selling price minus cost. Everything contentious is in what that profit is divided by. Margin divides by the price, so it reads as the share of each sale the business keeps; markup divides by the cost, so it reads as how far the price was raised above what the item cost to obtain.
For any profitable sale the markup percentage is the larger of the two — the cost is the smaller denominator, so the same profit looks bigger against it. The gap between the two figures widens as the profit grows: at thin profits they sit close together, at rich ones the markup can approach double the margin and beyond.
The direction of the confusion is what makes it expensive. Applying a margin target as if it were a markup underprices the goods, because the markup needed to achieve a given margin is always the larger number. A shop instructed to earn a particular margin that multiplies cost by that percentage instead will run structurally below its target and may not see why for months.
The guards ask only that both figures be positive — the instrument does not insist the price sit above the cost, because measuring a planned loss-leader honestly is a legitimate use of the same two ratios.
A single item with a cost somewhat below its selling price — an ordinary retail spread — read through both vocabularies at once.
The profit is the plain difference. The margin expresses it against the price and comes out as the smaller percentage; the markup expresses the identical profit against the cost and comes out visibly larger. Nothing about the sale changed between the two lines — only the denominator did, and the gap between them is the whole reason the two words must never be swapped.
The percentages shown are computed by the certified engine at page load and checked against the declared test vectors in the signed pack — the prose fixes the vocabulary, the engine supplies every figure.
What the item costs the business — the markup’s denominator. It must be positive: markup on a free good is undefined, and the calculation refuses rather than improvising.
What the customer pays — the margin’s denominator. It must be positive, and nothing requires it to exceed the cost; the ratios simply report whatever relationship the two figures have.
Gross margin and markup ratios from unit cost and selling price
Profit is the selling price minus the cost; the margin percentage expresses that profit as a share of the price, and the markup percentage expresses the same profit as a share of the cost.
A vocabulary instrument as much as a numeric one: both ratios always appear together so neither can masquerade as the other. The signed pack carries its own citation; the page reports the verification state of the release it mounted rather than asserting one.