CoreVecta AtlasPractical knowledge
Business pricing · margin and markup

Margin versus markup from cost and selling price

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.

✓ Verified engine No account required

Workspace

The calculator's own fields, action and results arrive with the verified pack when you load it. Nothing is computed in this page.

Verified engine

Calculator

The calculator runs on the same signed pack and certified engine as the CoreVecta apps. It is fetched and verified when you need it, so this page stays light until then.

Nothing is computed in this page. Every figure comes back from the verified engine, or the calculator refuses.

What the engine returns
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.
Cost
Selling price
MethodProfit 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.
StandardGross margin and markup ratios from unit cost and selling price
GuardCost must be positive: with nothing paid for the item, the markup ratio would divide by nothing, and the calculation refuses rather than reporting an infinity.

One profit, two denominators, two very different percentages

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.

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.

When this calculation is used

  • Translating between a supplier conversation held in markup and an accountant’s report written in margin.
  • Checking that a price list built from cost-times-a-factor actually delivers the margin the plan assumed.
  • Reading a competitor’s or marketplace’s stated percentage correctly by asking which denominator it uses.
  • Setting a shelf price from a cost and a target expressed in either vocabulary, without mixing them.

Worked example

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 each input represents

Cost

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.

Selling price

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.

Assumptions and limits

  • Cost means the full unit cost you attribute to the item; which overheads it absorbs is your accounting convention, not the instrument’s.
  • Price is the actual selling price before any taxes collected on behalf of others.
  • Both percentages describe a single item or a single homogeneous line — blended catalogues need the ratios per line before any averaging.
  • Any target margin or target markup you compare against is your own commercial input, not a benchmark this page asserts.

What the guards protect against

  • Cost must be positive: with nothing paid for the item, the markup ratio would divide by nothing, and the calculation refuses rather than reporting an infinity.
  • Price must be positive for the same reason on the margin side — a giveaway has no margin to express.
  • Nothing else is guarded: the instrument reports the ratios for whatever positive pair it is given, including prices below cost.

Provenance

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.