💹 Profit Margin Calculator

A profit margin calculator for gross margin, markup, net profit and breakeven — plus the price that hits a target margin, which is not a markup.

Free No Signup Required Browser-Based
Gross Margin
46.67%
Profit per unit: $35.00
Markup Percentage
87.50%
On cost of $40.00
Net Total Profit
$3,000.00
Net Margin: 40.0%
To hit a 50% margin on a $40.00 cost, price it at $80.00 — which is a markup of 100.0%, not 50%. Marking up by 50% instead would give $60.00 and a margin of only 33.3%.

📊 Financial & Breakeven Breakdown

Total Revenue (100 units):$7500.00
Total Cost of Goods Sold:-$4000.00
Fixed Overhead Costs:-$500.00
Breakeven Volume Needed:15 units ($1125.00 revenue)

What Profit Margin Calculator Does

Margin and markup describe the same profit and almost never produce the same number, because they divide by different things. Margin divides profit by the selling price; markup divides it by the cost. Buy something for $40 and sell it for $75 and you have made $35 either way — but that is a 46.7% margin and an 87.5% markup.

Mixing them up is the most expensive arithmetic error in small-business pricing, and it always errs in the same direction. Told to hit a 50% margin, a lot of people mark the cost up by 50%: a $40 item becomes $60, and the margin turns out to be 33.3%. To actually reach 50% you have to double the cost. The higher the target, the worse the gap — a 75% margin needs a 300% markup.

The second thing worth separating is gross from net. Gross margin counts only what the goods cost you. Net margin also carries rent, wages, software and everything else that gets paid whether or not you sell anything. A business can have a comfortable gross margin and still lose money, which is why the breakeven volume — how many units it takes before the overheads are covered — is often the more useful number.

This calculator shows all of those at once, and works backwards as well: give it a target margin and it returns the price you would need to charge, alongside what marking up by that same percentage would actually have given you.

How to Use Profit Margin Calculator

  1. Enter what the item costs you and what you sell it for
  2. Read the gross margin and the markup side by side — they are different numbers for the same profit
  3. Set a target margin to see the price you would need to charge, and what marking up by that percentage would actually give you
  4. Add units and fixed overheads for net profit and the breakeven volume

Formula Used by Profit Margin Calculator

Margin and markup — same profit, different base

margin % = (price − cost) ÷ price × 100 · markup % = (price − cost) ÷ cost × 100

Margin
Profit as a share of what the customer paid. Capped at 100%
Markup
Profit as a share of what you paid. Has no upper limit

Worked example

Cost $40, selling price $75

  1. Profit: 75 − 40 = 35
  2. Margin: 35 ÷ 75 = 46.7%
  3. Markup: 35 ÷ 40 = 87.5%

Result: One $35 profit, two correct percentages that differ by more than 40 points

Pricing from a target margin

price = cost ÷ (1 − margin ÷ 100)

Divide
The margin is a share of the price, which is the unknown — so it cannot be a multiplication
The trap
Multiplying the cost by (1 + margin) gives a markup, not a margin

Worked example

A 50% target margin on a $40 cost

  1. Correct: 40 ÷ (1 − 0.50) = 80
  2. The common error: 40 × 1.50 = 60
  3. Margin on $60: (60 − 40) ÷ 60 = 33.3%

Result: $80 is right. The shortcut leaves you 16.7 points short of target

Converting between the two

markup = margin ÷ (100 − margin) × 100 · margin = markup ÷ (100 + markup) × 100

Always
Markup is larger than margin for any profitable price

Worked example

Working out the markup for a 30% margin

  1. 30 ÷ (100 − 30)
  2. 30 ÷ 70 = 0.4286

Result: 42.9% markup — noticeably more than the 30% people expect

Net profit and breakeven

net = (price − cost) × units − fixed costs · breakeven units = fixed ÷ (price − cost)

Contribution
price − cost, the amount each unit puts toward the overheads
Breakeven
Where the overheads are exactly covered and profit turns positive

Worked example

Cost $40, price $75, 100 units, $500 of fixed costs

  1. Contribution: $35 per unit
  2. Breakeven: 500 ÷ 35 = 14.3, so 15 units
  3. Net: 35 × 100 − 500 = 3,000

Result: $3,000 net on $7,500 of revenue — a 40% net margin

Margin against markup, side by side

Same profit, two bases. Note how the two diverge as profitability rises — at low margins they are close, at high margins markup runs away.

CostPriceProfitMarginMarkup
$90$100$1010.0%11.1%
$80$100$2020.0%25.0%
$75$100$2525.0%33.3%
$60$100$4040.0%66.7%
$50$100$5050.0%100.0%
$40$75$3546.7%87.5%
$25$100$7575.0%300.0%

The markup you need for the margin you want

Use this before setting a price. Applying the margin figure as a markup is the standard mistake and always lands you short.

Target marginRequired markupPrice on a $40 costPrice if you mark up by the margin figure instead
10%11.1%$44.44$44.00
20%25.0%$50.00$48.00
25%33.3%$53.33$50.00
30%42.9%$57.14$52.00
40%66.7%$66.67$56.00
50%100.0%$80.00$60.00
60%150.0%$100.00$64.00
75%300.0%$160.00$70.00

Gross, net and breakeven on one product

Cost $40, price $75, $500 of fixed overheads. Gross margin never changes with volume; net margin does, because the overheads are spread over more units.

Units soldRevenueGross profitNet profitNet margin
10$750$350−$150Loss
15 (breakeven)$1,125$525$252.2%
25$1,875$875$37520.0%
50$3,750$1,750$1,25033.3%
100$7,500$3,500$3,00040.0%
200$15,000$7,000$6,50043.3%

How to Read Your Result

Margin is capped, markup is not

This is the quickest way to keep the two straight. Margin is a share of the selling price, so it can approach 100% but never reach it — you would have to sell at a price where the cost is zero. Markup is a share of the cost and has no ceiling at all: a $25 item sold for $100 carries a 300% markup and a 75% margin. If someone quotes you a percentage above 100, they are talking about markup whether they know it or not.

Pricing from a target margin is a division

The margin is defined as a fraction of the price, and the price is the thing you are solving for, so it cannot be reached by multiplying the cost. Dividing by (1 − margin) is the correct move and it produces a bigger number than most people expect. On a $40 cost, a 50% margin means an $80 price, not $60. Retailers who set prices by "adding our margin" to cost are systematically underpricing, and the shortfall compounds across an entire catalogue.

Discounting eats margin far faster than price

A 10% discount does not cost you 10% of your profit — it costs 10% of your revenue, all of which comes out of the margin. On a $75 item costing $40, a 10% discount takes $7.50 off the price and drops the profit from $35 to $27.50, a 21% cut in profit. At thinner margins it is brutal: on a 20% margin, a 10% discount halves the profit. This is why a discount calculator and a margin calculator belong next to each other.

Gross margin is a product question, net margin is a business question

Gross margin tells you whether the product itself makes sense — whether what you charge meaningfully exceeds what it costs to provide. Net margin tells you whether the business does, once rent and wages and software are paid. They can point in opposite directions: a strong gross margin on low volume still loses money, and a thin gross margin at high volume can be very profitable, which is exactly the grocery model. Use gross to decide what to sell and at what price, and net to decide whether the whole operation works.

Breakeven is the number to know before you commit

Dividing fixed costs by the contribution per unit tells you how many you must sell before the overheads are covered. It is the most decision-relevant figure here because it converts an abstract margin into a concrete target: fifteen units, not "a good margin". It also makes the effect of pricing obvious — raising the price lifts the contribution and pulls breakeven closer, while a discount pushes it further away, often by more units than the discount seems to warrant.

"Good margin" is not a number you can borrow

Benchmarks travel badly. Supermarkets operate on low single-digit net margins and are not in trouble; a software business at the same figure would be. Margins reflect the cost structure of an industry — how much capital is tied up, how much of the cost is fixed against variable, how much competition there is. Compare against your own sector and against your own previous periods. A margin that is improving is more informative than a margin that matches somebody else's average.

Limitations & Accuracy Notes

  • Cost is treated as a single figure per unit. Real cost of goods often includes freight, duty, payment processing and returns, all of which reduce the true margin if they are left out.
  • Fixed costs are assumed genuinely fixed over the volume range. In practice they step up — another shift, a bigger unit, a higher software tier — so breakeven can move as you scale.
  • Only one product is modeled. A business selling several products at different margins needs a weighted blended margin, which is not the same as averaging the percentages.
  • Taxes are excluded. Sales tax is collected on behalf of the authority and is not revenue, and income or corporation tax applies after the net profit shown here.
  • Nothing here is accounting advice, and these definitions are the common commercial ones rather than a specific accounting standard. Your accountant may define cost of goods sold differently for reporting purposes.

Frequently Asked Questions

What is the difference between margin and markup?
They measure the same profit against different bases. Margin divides by the selling price; markup divides by the cost. Buy at $40 and sell at $75 and you have a 46.7% margin but an 87.5% markup — same $35 of profit, two very different-looking percentages. Margin can never exceed 100%; markup has no ceiling.
How do I price for a target margin?
Divide, do not multiply. For a 50% margin on a $40 cost, the price is 40 ÷ (1 − 0.50) = $80. Marking the cost up by 50% gives $60, which is only a 33.3% margin. This is the most expensive arithmetic mistake in retail pricing, and it gets worse the higher the target.
What markup gives a 30% margin?
42.9%. The conversion is markup = margin ÷ (100 − margin). A 25% margin needs a 33.3% markup, 40% needs 66.7%, and a 50% margin needs a 100% markup — you have to double the cost.
What is the difference between gross and net margin?
Gross margin counts only the direct cost of the goods. Net margin subtracts fixed overheads too — rent, salaries, software, insurance. A healthy gross margin can still produce a loss once overheads are counted, which is why the breakeven volume matters as much as the per-unit figure.
How many units do I need to sell to break even?
Divide fixed costs by the gross profit per unit. With $500 of overheads and $35 of profit per unit, you need 15 units — the fifteenth unit is where you stop losing money. Every unit after that contributes its full $35 to profit.
What is a good profit margin?
It depends entirely on the industry, so any single number is misleading. Grocery retail runs on low single digits by design and makes it up on volume; software can exceed 80% because the marginal cost of another copy is near zero. The useful comparison is against your own sector and your own past figures, not a general benchmark.

References & Further Reading

By OnlineToolHubs Team • September 2026