Profit Margin Calculator
Work out profit margin and markup from revenue and cost.
Enter your values and press Calculate to see the result and the working.
Formula used
Variables
- R Revenue
- The amount received from the sale
- C Cost
- The cost of producing or buying the item
- m Margin
- Profit as a share of revenue
What does this calculator do?
Computes profit, margin and markup from a selling price and a cost — two different metrics that are frequently confused even though they describe the same transaction.
When would you use it?
When pricing a product, assessing a deal's profitability, comparing products at different price points, or negotiating a purchase price.
How the formula works
Profit is the simple difference between revenue and cost. But expressing it as a percentage can be done two quite different ways, and confusing them is the commonest pricing error.
Margin divides profit by revenue: "how much of every riyal I sell do I keep". It is always between 0 and 100% and cannot exceed that.
Markup divides profit by cost: "how much I added on top of what I paid". It is unbounded and can easily pass 100%.
An example makes the gap clear: an item costing 100 sold for 150 has a 33.3% margin but a 50% markup — two different numbers for one transaction. Anyone who assumes a 50% markup means a 50% margin is pricing lower than they think.
What does the result mean?
Margin is the metric for comparing products and companies, because it is relative to revenue and therefore comparable across sizes.
Markup is more useful when actually setting a price: to reach a given margin, the required markup is always larger. Note this is a gross margin, not net — it excludes rent, salaries, marketing and other operating costs.
Common mistakes
Using markup where margin belongs systematically overstates profitability. Another is dividing by cost instead of revenue, which is the definition of markup, not margin.
Worked example
A simple product
An item costing 100 and selling for 150.
Profit is 50, the margin 33.33% and the markup 50%.