Ask two sellers about the same product and you can hear two different percentages for the same profit. One says the margin is 20 percent, the other says the markup is 25 percent. Both are right, because they are dividing the same profit by two different numbers. Confusing the two is a common pricing error, and it quietly underprices products when a target margin is treated as a markup.

This guide explains the method properly: what margin is and how it differs from markup. It also shows how to run the numbers with the free Profit Margin Calculator on Ovatly. That includes the target fields that work out the price a target margin requires.

Contents

  • Quick answer
  • Margin: profit as a share of the selling price
  • Markup: the same profit measured from the cost
  • Why the two numbers can never be confused safely
  • Step by step with the calculator
  • Worked example: a cost of 80 and a price of 100
  • Margin at scale: totals across 250 units
  • The honest warning: cost means whatever you put in it
  • Finding the price a target margin needs
  • Limitations and honest tradeoffs
  • Common mistakes
  • FAQs
  • Conclusion

Quick answer

Profit margin is the profit per unit divided by the selling price, shown as a percentage. With a cost of 80 and a selling price of 100, the profit is 20. And 20 divided by 100 gives a margin of 20.00 percent. The same 20 divided by the 80 cost gives the markup, 25.00 percent. The Profit Margin Calculator shows both figures side by side from the same two inputs, so the two can never be mixed up.

Margin: profit as a share of the selling price

Margin answers the question: out of every unit of money a customer pays, how much stays as profit? The selling price is the whole, and the profit is the part. A margin of 20 percent means that of each 100 the customer hands over, 20 is profit and 80 went on cost. Because the price is always the larger of the two bases, margin is always the smaller of the two percentages. It can never reach 100 percent unless the cost is zero.

Markup: the same profit measured from the cost

Markup answers a different question: by how much was the cost increased to reach the price? Here the cost is the base, so the same profit of 20 over a cost of 80 gives 25 percent. Markup is a building tool, useful when building prices up from a supplier invoice. Neither figure is more true than the other; they are two rulers measuring the same gap from opposite ends. The danger is only in swapping them, because a 25 percent markup always equals a 20 percent margin, never a 25 percent margin.

Why the two numbers can never be confused safely

The gap between margin and markup widens as the percentages grow. It always cuts the same way: treating a markup as a margin leaves you with less profit than you planned. If you need a 30 percent margin and add 30 percent to the cost, you have applied a markup. The true margin on the resulting price is lower. Keeping the two definitions separate, and letting the calculator display both at once, removes the trap entirely.

Step by step with the calculator

  1. Open the Profit Margin Calculator and enter the cost per unit.
  2. Enter the selling price per unit. The calculator shows the profit per unit, the margin and the markup together.
  3. Optionally enter the units sold to see the revenue, total cost and total profit across the whole quantity.
  4. To price from a target instead, use the target fields to find the price needed for a given margin or markup at the same cost.

Worked example: a cost of 80 and a price of 100

Take a product that costs 80 per unit and sells for 100 per unit. The profit per unit is 100 minus 80, which is 20.

Margin: 20 divided by the 100 selling price gives 20.00 percent.

Markup: 20 divided by the 80 cost gives 25.00 percent.

Both statements describe the same product and the same 20 of profit. Percentages in the calculator are shown to 2 decimal places. The underlying figures are not rounded before display. So the figures you read are computed from the exact inputs, not from rounded intermediates.

Margin at scale: totals across 250 units

Per unit figures tell you whether one sale is healthy; totals tell you whether the product line is healthy. Enter 250 units sold at the same cost and price. The calculator shows revenue of 25,000, total cost of 20,000 and total profit of 5,000. The margin is unchanged at 20.00 percent, because margin is a ratio, not a quantity. 5,000 of profit out of 25,000 of revenue is the same one fifth as 20 out of 100.

The honest warning: cost means whatever you put in it

Cost here means whatever you put in it: if you leave out overheads, packaging or platform fees, the margin shown will flatter the product. A product that appears to earn a 20 percent margin on its purchase cost alone may earn far less. That happens once the box it ships in, the fee the platform takes and a share of the rent are counted. The fix is not a better calculator but a fuller cost. Build the cost per unit from everything the unit genuinely consumes, then trust the margin that comes out.

Finding the price a target margin needs

The closing skill is working backwards. Suppose the cost is fixed and you want a margin of 30 percent. The price needed is not cost plus 30 percent, because that calculation produces a markup and lands below the target margin. The price has to be set so that, after the cost is taken out, the profit left behind is 30 percent of the price itself. Because the profit is a share of the very number you are solving for, the required price is higher than the markup guess. It rises steeply as the target margin approaches 100. The target fields in the calculator solve this directly. Enter the cost, set the target margin, and read the price the margin requires at that same cost.

Limitations and honest tradeoffs

Margin is a per product snapshot. It does not include the fixed costs of the whole business unless you deliberately load them into the cost per unit. So a shelf of healthy margins can still sit inside a loss making business. Finally, a price below cost shows negative profit, margin and markup. That is the honest picture of selling at a loss, shown plainly rather than hidden.

Common mistakes

  • Quoting markup as margin. Adding 25 percent to cost and calling it a 25 percent margin overstates the profit share; the true margin is 20 percent.
  • Pricing a target margin as a markup. Cost plus 30 percent is not a 30 percent margin. Use the Price needed panel for target work.
  • Leaving costs out. Omitting packaging, platform fees or overheads makes the margin flatter the product.
  • Rounding early. Work from exact figures and let the display round at the end, as the calculator does.

FAQs

What is the difference between margin and markup? Margin divides profit by the selling price, while markup divides profit by the cost. With a cost of 80 and a price of 100, the profit of 20 is a 20 percent margin and a 25 percent markup. A 25 percent markup always equals a 20 percent margin.

Why do retailers and accountants quote margin? Most retailers and accountants quote margin because it matches how profit appears in accounts, where profit is reported as a share of revenue. Markup is handy when building prices up from cost, but margin is the figure the accounts will judge.

What does the calculator show if the price is below the cost? A price below cost shows negative profit, margin and markup. That is the honest picture of selling at a loss: the figures go negative rather than hiding the problem or refusing to calculate.

How do I find the price needed for a 30 percent margin? Enter the cost and set the target margin to 30 in the Price needed panel. It is not cost plus 30 percent, because that would be a markup. The calculator works out the higher price that leaves 30 percent of the selling price as profit.

Can a profit margin reach 100 percent? No, not unless the cost is zero. Margin is profit as a share of the price, and the profit can only equal the whole price when nothing was spent to earn it. That is why the price needed for a target margin rises steeply as the target approaches 100.

Conclusion

Margin is profit measured against the selling price. Markup is the same profit measured against the cost. Keeping the two apart is most of honest pricing. Run your products through the Profit Margin Calculator with a full cost. Pair it with the companion guide on the break even formula explained with a worked example. That guide shows how many units those margins must sell to cover the fixed costs. More guides in this series live in the Business and Finance guides.