Margin & Markup Calculator
From cost and selling price, find profit, gross margin, and markup — the two percentages, measured against price and against cost, that businesses constantly mix up.
Comment utiliser cette calculatrice
- 1Enter the cost of the item — what you paid for it.
- 2Enter the selling price — what you charge the customer.
- 3Read the gross margin (profit as a percentage of price).
- 4Compare it with the markup (profit as a percentage of cost).
Comment ça marche
Margin and markup
profit = selling price − cost gross margin = profit ÷ selling price × 100 markup = profit ÷ cost × 100 margin is on price; markup is on cost
Margin and markup both express profit as a percentage, and both start from the same profit — the selling price minus the cost. The difference, and it is a crucial one, is what they divide that profit by. Gross margin measures profit against the selling price, answering 'what fraction of each sale is profit?' Markup measures the same profit against the cost, answering 'by what percentage did I raise the cost to set the price?' Because the selling price is always larger than the cost, the margin is always a smaller percentage than the markup for the same transaction. A product bought for $60 and sold for $100 has a $40 profit, which is 40% of the $100 price (margin) but 66.7% of the $60 cost (markup). Mixing the two up leads businesses to misprice goods and misjudge how profitable they really are.
Exemple détaillé
A product costing $60 and selling for $100 makes $40 profit. That is a 40% gross margin (40 ÷ 100) but a 66.7% markup (40 ÷ 60). Both describe the same $40 — margin against the price, markup against the cost — which is why the markup number is always the bigger one.
Margin & Markup Calculator : le guide complet
The margin-versus-markup confusion
Few business calculations trip people up as reliably as the distinction between margin and markup. Both are legitimate, both are widely used, and both describe profitability — but they answer different questions and produce different percentages from the same numbers. Margin is profit divided by the selling price; markup is profit divided by the cost. Because the price is always higher than the cost, the two percentages are never equal, and the gap between them widens as profitability rises.
The confusion is costly because the two are often used interchangeably in conversation when they should not be. A shop owner who wants a '50% margin' but applies a '50% markup' will underprice every item and quietly erode profit, because a 50% markup only yields a 33% margin. Conversely, aiming for a 50% markup and mistakenly applying a 50% margin overprices goods. Knowing which base a percentage refers to — price for margin, cost for markup — is fundamental to setting prices correctly, and it is exactly what this calculator makes explicit by showing both.
When to use each
Margin and markup each have their natural home. Markup is the more intuitive tool for setting a price from a cost: you buy something for a known amount and add a percentage on top to arrive at the selling price. Retailers and wholesalers often think in markup because it starts from the cost they paid — 'I mark everything up 40%' is a simple, actionable rule for pricing incoming stock.
Margin is the more meaningful tool for analysing profitability, which is why financial statements and investors speak in margins. Gross margin tells you what share of your revenue is left after the cost of goods, which is directly comparable across products and companies regardless of their cost structure. When you read that a business has a '30% gross margin', it means 30 cents of every sales dollar remains to cover other expenses and profit. Because margin is anchored to revenue, it slots naturally into income statements and performance comparisons, whereas markup is a pricing mechanic. Fluency in converting between them lets you price using markup and evaluate using margin without ever mixing the two.
Margin, pricing, and the whole business
Gross margin is only the first layer of profitability, and it is worth understanding where it sits. It captures profit after the direct cost of the goods sold, but before all the other costs of running a business — rent, salaries, marketing, overhead. A healthy gross margin is necessary but not sufficient; a company can have strong gross margins and still lose money if its operating expenses are too high. This is why gross margin, operating margin, and net margin are tracked separately, each subtracting more costs than the last.
For pricing decisions, margin thinking guards against a subtle trap: discounting. Because margin is measured against price, a discount eats into profit far faster than it reduces the price. On a product with a 40% margin, a 20% discount does not cut profit by 20% — it halves it, because the discount comes entirely out of the profit portion. Understanding margins reveals how much sales volume a discount must generate just to break even, which often turns out to be a great deal. Whether setting prices, running a promotion, or judging a product's contribution, the margin is the number that connects a single transaction to the health of the whole business.
Questions fréquentes
What is the difference between margin and markup?
Both measure the same profit but against different bases. Margin is profit as a percentage of the selling price; markup is profit as a percentage of the cost. A $60 cost sold for $100 has a 40% margin but a 66.7% markup. Markup is always the larger figure.
How do I calculate gross margin?
Subtract the cost from the selling price to get profit, then divide by the selling price and multiply by 100. For a $60 item sold at $100, profit is $40, and margin is 40 ÷ 100 = 40%. It's the share of each sale that is profit.
How do I calculate markup?
Divide the profit by the cost and multiply by 100. For a $60 item sold at $100, profit is $40, so markup is 40 ÷ 60 = 66.7%. Markup is how much you raised the cost to set the price, so it's measured against the cost.
Why does confusing margin and markup cost money?
Because they give different percentages. Wanting a 50% margin but applying a 50% markup underprices everything — a 50% markup is only a 33% margin. Using the wrong base systematically misprices goods and misstates profit, which is why it's vital to know which one you mean.