Games Contact us
Select Page

Margin and Markup Calculator

Accounting · Free tool

Margin and Markup Calculator

Sales says the markup is 150%, finance says the margin is 60%, and both are right. This calculator takes the cost of one unit and its selling price and returns the profit, the margin percent, and the markup percent together, so pricing discussions use the right number. It serves accountants, pricing managers, and owners setting prices.

Your entries stay in this browser. Use Fill example to see a finished page first.

Advertisement

What this accounting tool gives you

The result shows profit, margin, and markup as three figures, each with its formula underneath, plus a small table of the cost and price you entered. Put it in front of a sales team and the difference between the two percentages stops causing confusion.

What you enter

  • Currency: USD by default, or EUR or GBP (only changes how amounts are formatted)
  • Cost: what you pay to produce or buy one unit
  • Price: what the customer pays for that unit

Worked example

In the tool's example a unit costs $40 and sells for $100. Profit is $60. Margin is $60 ÷ $100 = 60%, while markup is $60 ÷ $40 = 150%. The same $60 of profit gives two very different percentages because margin is measured against the price and markup against the cost.

How are margin and markup calculated?

Profit = price − cost. Margin % = profit ÷ price × 100, the share of the selling price you keep. Markup % = profit ÷ cost × 100, how far the price sits above the cost. Both percentages are rounded to two decimals and shown with one.

If the price is zero there is no margin percent, and if the cost is zero there is no markup percent; the tool shows a dash for that figure. When the price is below the cost, both percentages turn negative and a warning appears. Cost and price cannot be negative.

Advertisement

Tips before you use the result

  1. When someone quotes a target percent, ask whether it is margin or markup before you set a price.
  2. To hit a target margin, price = cost ÷ (1 − margin). For a 60% margin on a $40 cost, that is $100, which you can confirm here.
  3. Margin can never reach 100% while cost is above zero, but markup can go well past 100%.
  4. Use landed cost, including freight and duties, as the cost input so the margin reflects what you actually keep.

Frequently asked questions

What is the difference between margin and markup?

Both start from the same profit, price minus cost, but they divide by different numbers. Margin divides profit by the selling price, markup divides it by the cost. A $40 item sold for $100 has a 60% margin and a 150% markup. Margin tells you what share of revenue you keep; markup tells you how much you added to cost.

How do I convert markup to margin?

Margin = markup ÷ (1 + markup), with both as decimals. A 150% markup is 1.5 ÷ 2.5 = 0.60, or a 60% margin. Going the other way, markup = margin ÷ (1 − margin). The calculator shows both at once, so you can check any conversion by entering a cost and price.

Why does the calculator show a negative margin?

Because the price you entered is below the cost, so profit is negative and both percentages follow it below zero. The tool adds a warning in that case. It is a useful check when discounting: if a promotion pushes price under unit cost, every sale loses money.

Do I need to sign in to calculate margin and markup?

No sign-in is needed. The cost and price you enter are saved to your browser's local storage, so the last calculation is still there if you reload the page on the same device. Nothing is sent to a server, so you can test prices freely.

More Accounting tools

All 10 Accounting tools → · All 110 business tools →

Advertisement

Accounting guides on Kurums

Browse the Accounting department →

Results depend on the figures you enter; check them against your own records before you rely on them. Last updated: October 2026 · Kurums editorial team.