Pinecone ToolsPinecone Hub

Margin and markup calculator

Calculates the margin (on the selling price) and the markup (on the cost) of a product or service, from two of: purchase cost, selling price and one of the two percentages, entirely in your browser.

What do you want to calculate?

Enter the purchase cost and the other value to see the result.

How it works

The same euro profit produces two different percentages depending on what it's compared to. Margin is computed on the selling price: margin = (price - cost) / price. Markup is computed on the cost: markup = (price - cost) / cost.

Margin and markup are not two names for the same thing: they're two equally valid ways of expressing the same gross profit, one relative to the selling price and one relative to the cost.

Because a profitable selling price is always higher than the cost, margin is mathematically capped below 100% (it only approaches that as price tends to infinity), while markup has no such ceiling.

This calculator always shows both figures, whichever mode you use: cost + selling price, cost + a target margin (to find the price), or cost + a target markup (to find the price). Every amount is excl. VAT.

Example

A shop buys a product for €60 excl. VAT and sells it for €100 excl. VAT.

The gross profit is €40 excl. VAT (100 - 60).

The margin is 40% (40 / 100): the profit is 40% of the selling price.

The markup is 66.67% (40 / 60): the same profit is 66.67% of the purchase cost.

Frequently asked questions

What's the difference between margin and markup?

Both measure the same gross profit (price - cost), but on different bases: margin expresses it as a share of the selling price, markup as a share of the cost. For the same euro profit, markup is always higher than margin (unless both are zero).

Why can margin never reach 100%?

Margin is (price - cost) / price. It only approaches 100% if the cost becomes negligible compared to a selling price tending to infinity, which never happens for a finite, positive price. Markup has no such limit: it can exceed 100%, 200% or more.

How do I convert a margin into a markup, or the other way round?

If k is the markup (on cost) and m is the margin (on price), then m = k / (1 + k) and k = m / (1 - m). For example, a 66.67% markup corresponds to a 40% margin, and vice versa.

Is VAT included in the amounts I enter?

No. The purchase cost and the selling price must be entered excl. VAT: margin and markup are always calculated on VAT-exclusive amounts, never on the VAT-inclusive price.

Is anything I type here sent or stored anywhere?

No. The whole calculation runs in your browser; none of the values you enter are sent to a server or kept anywhere. Only your chosen language is remembered, locally on your device.