Calculatorz

Free calculator — no sign-up

Profit Margin Calculator

Enter your revenue and your cost, and this calculator works out your gross profit, your profit margin and your markup — three numbers sellers constantly confuse. Margin is profit as a share of the selling price; markup is profit as a share of the cost. Mixing them up is the fastest way to underprice your work.

Calculator placed on financial graphs and business reports
Calculator placed on financial graphs and business reports — Photo by RDNE Stock project on Pexels

Your numbers

Your result

Gross profit$3,500.00revenue minus cost

Profit marginprofit as a share of the selling price
35%
Markupprofit as a share of the cost
53.85%
Break-even pricesell at this price and profit is exactly zero
$6,500.00

Results update as you type. They are estimates for planning — see the disclaimer below.

How it works

Gross profit = Revenue − Cost. Profit margin = (Revenue − Cost) ÷ Revenue. Markup = (Revenue − Cost) ÷ Cost. The two percentages differ because they divide by different numbers — margin divides by the selling price, markup by the cost. A 50% markup is only a 33.3% margin.

How to use it

  1. Enter your total revenue — what customers actually paid you.
  2. Enter your cost of goods sold — what it cost you to make or buy what you sold.
  3. Read your gross profit, margin and markup.
  4. If you want a target margin, remember the price you need is Cost ÷ (1 − Target margin).
  5. Check the margin every month — a falling margin means costs are rising faster than prices.

Worked example

You sell $10,000 of products that cost you $6,500 to make or buy.

Step 1 — gross profit: 10,000 − 6,500 = $3,500. Step 2 — margin: 3,500 ÷ 10,000 = 0.35, or 35% — thirty-five cents of every sales dollar is profit. Step 3 — markup: 3,500 ÷ 6,500 = 0.5385, or 53.85% — you added 53.85% to the cost to set the price. Step 4 — check the difference: the same $3,500 profit is 35% of the price but 53.85% of the cost, because the denominators differ. Step 5 — break-even: sell at $6,500 and profit is zero.

Result: Gross profit $3,500 — margin 35%, markup 53.85%.

Try it yourself: enter the example numbers above and check you get the same answer.

What your result means

A 35% margin means you keep 35 cents of every dollar of sales before overheads such as rent, wages and advertising — those come out of the $3,500, so your net margin will be lower. The markup of 53.85% is the number you actually set when pricing: cost × 1.5385 = price. The classic mistake is aiming for a '50% margin' by marking up 50% — a 50% markup is only a 33.3% margin (50 ÷ 150), so you would underprice by a wide margin. If your margin is falling, either your costs are rising or your prices are not keeping up — and only one of those is in your control.

Frequently asked questions

What is the difference between profit margin and markup?

Margin is profit divided by the selling price; markup is profit divided by the cost. On $10,000 of sales with $6,500 of cost, the profit is $3,500 — a 35% margin but a 53.85% markup. Use margin to judge profitability, markup to set prices.

What is a good profit margin?

It depends on the industry: grocery stores run 1–3%, restaurants 3–9%, retail 5–10%, and software or services 20–40% or more. Compare with businesses like yours, not with a universal number — and track your own trend, not just the level.

How do I price for a 40% margin?

Divide the cost by (1 − margin): price = cost ÷ 0.60. If your cost is $60, the price for a 40% margin is 60 ÷ 0.60 = $100. Marking up 40% instead would give $84 — a margin of only 28.6%.

Is gross profit the same as net profit?

No. Gross profit is revenue minus the direct cost of what you sold. Net profit also subtracts overheads — rent, wages, marketing, taxes — so it is always lower. This calculator shows gross profit; your net margin is the number that decides whether the business survives.

Can margin be negative?

Yes — if cost exceeds revenue, you lose money on every sale and both margin and markup go negative. A negative margin is a warning to raise prices or cut costs immediately, because every extra sale makes the loss bigger.

Guides

More in Business calculators or all calculators.