Skip to content
Logo Any Help Me

Margin Calculator: Calculate Profit Margin & Markup

$
%
Total Revenue
Gross Profit
Gross Margin
Markup
Cost

Margin and Markup Are Not the Same Number

Buy something for 60 and sell it for 100 and you have made 40. That 40 is a 40% margin and a 67% markup, both describing the same transaction from different sides. Confusing the two is the most expensive arithmetic error in small business pricing, because it consistently prices things too low.

This calculator works from cost and price to give margin, markup and profit together, so the relationship is visible rather than assumed.

How to Calculate Margin and Markup

Enter any two of cost, price and margin and the rest follows.

  1. Enter your cost, what the item or service costs you before you add anything.
  2. Enter either your selling price or your target margin. Each determines the other.
  3. Read margin, markup and profit together. Margin is profit over price; markup is profit over cost.
  4. To set a price from a target margin, divide the cost by one minus the margin. A 40% margin on a cost of 60 means 60 รท 0.6, which is 100.
  5. Sanity-check against a percentage you know: a 50% margin always means doubling the cost, which is a useful anchor when a figure looks wrong.

Why the Difference Costs Money

Margin divides profit by the selling price; markup divides it by the cost. Because price is always larger than cost, the margin percentage is always smaller than the markup percentage for the same transaction, and the gap widens as they rise. At the extreme, a 50% margin is a 100% markup and an 80% margin is a 400% markup.

The practical failure is applying a target margin as if it were a markup. Wanting a 40% margin and adding 40% to cost gives a price of 84 on a cost of 60, a real margin of 28.6%, not 40. Every sale then comes in more than eleven points below the intended margin, and on thin margins that is the difference between a viable business and one that runs at a loss without noticing.

Margin to Markup Conversion

The same profit expressed both ways, with the multiplier that turns cost into price.

MarginMarkupPrice multiplierCost 60 becomes
10%11.1%1.11ร—66.67
20%25%1.25ร—75.00
25%33.3%1.33ร—80.00
33%50%1.50ร—90.00
40%66.7%1.67ร—100.00
50%100%2.00ร—120.00
60%150%2.50ร—150.00
75%300%4.00ร—240.00

The multiplier column is the practical one to work from. For a 40% margin, multiply cost by 1.67 rather than adding 40%, a habit that avoids the error entirely.

Gross Margin Is Not Profit

The margin this calculator produces is gross margin: revenue minus the direct cost of what was sold. It does not account for rent, salaries, software, marketing or anything else that does not scale with each unit. A healthy gross margin with heavy fixed costs can still mean a business that loses money overall.

That is why gross margin is a pricing figure rather than a profitability figure. It tells you whether each sale contributes enough toward the fixed costs, and how many sales are needed before those costs are covered. Net margin, after every expense, is the number that says whether the business made money.

Discounting is where margin arithmetic bites hardest. On a 40% margin, a 10% discount does not cost a tenth of the profit, it costs a quarter of it, because the discount comes entirely out of the margin rather than out of the price. Knowing the multiplier that a discount implies in extra volume is what separates a promotion that pays for itself from one that quietly funds the customer.

Frequently Asked Questions

What is the difference between margin and markup?
Margin is profit as a share of the selling price; markup is profit as a share of the cost. The same transaction gives a smaller margin percentage than markup percentage.
How do I set a price from a target margin?
Divide the cost by one minus the margin. A 40% margin on a cost of 60 is 60 รท 0.6, which is 100.
What happens if I add my target margin to cost instead?
You underprice. Adding 40% to a cost of 60 gives 84, which is a real margin of 28.6% rather than the 40% intended.
What markup gives a 50% margin?
A 100% markup, doubling the cost. That equivalence is a useful anchor for checking whether a price looks right.
Is gross margin the same as profit?
No. Gross margin covers only the direct cost of what was sold. Rent, salaries and other fixed costs come out afterwards, so a good gross margin does not guarantee a profitable business.
What is a good margin?
It varies enormously by industry, grocery retail runs on a few per cent while software can exceed eighty. Compare against your own sector rather than a general figure.
Is my pricing data private?
Yes. The calculation runs in your browser and nothing you enter is transmitted or stored.

Explore more in Finance

View all →