Profit Margin Calculator

Put in what something costs you and what you sell it for, and see both figures: the margin, which is profit as a share of the selling price, and the markup, which is the same profit measured against the cost. Mixing the two up is how small businesses underprice.

How to use it

Any two of the four figures are enough.

  1. Enter what the item costs you Include anything you pay per item — the goods, the packaging, the delivery in. Leave out rent and wages, which are not per item.
  2. Give it the other half Either the price you charge, or the percentage you are aiming for.
  3. Read both percentages The tool always shows margin and markup together, so you can see which one a supplier or a marketplace is quoting at you.
Full instructions
In depth

Margin and markup explained with real pricing

Margin and markup are two different ways of measuring the same profit, and mixing them up is one of the fastest ways to lose money in a small business. This article walks through both numbers, shows how the calculator handles them, and explains the mistakes that catch people most often.

Screenshot: Margin and markup are not the same number
Margin and markup are not the same number as it appears when the page opens.

Two percentages from the same sale

You buy something for sixty and sell it for a hundred. Your profit is forty. So far everyone agrees. The disagreement starts when someone asks what percentage that is. Margin says it is forty per cent, because forty out of a hundred is forty per cent. Markup says it is sixty-six point seven per cent, because forty out of sixty is sixty-six point seven. Both are correct. They just measure against different things.

Margin divides profit by the selling price. Markup divides profit by the cost. The same transaction always gives a smaller margin than markup, and the gap between them grows as the numbers get larger. A hundred per cent markup is only a fifty per cent margin. A three hundred per cent markup is a seventy-five per cent margin. Knowing which one a supplier or a marketplace is quoting at you is the difference between making money and wondering where it went.

The four modes on the calculator

The What do you know dropdown at the top of the panel sets which pieces of information you have and which one the tool should work out. The first option, Cost and selling price, is the most common starting point: you know what you pay and what you charge, and the tool shows both the margin and the markup. The second, Cost and the margin I want, works backwards from a target margin to tell you what price to charge.

The third, Cost and the markup I want, does the same thing but using a markup target. And the fourth, Selling price and the margin I want, starts from the price the customer sees and works backwards to the maximum you can afford to pay for the goods. Each mode hides the fields you do not need and shows the ones you do, so the panel never looks cluttered.

Setting the cost correctly

The Cost to you field should include everything you pay for each item: the wholesale price, the packaging, the inbound shipping, any duty or handling charges. Leave out costs that do not scale with each unit, like rent, wages, insurance and software subscriptions. Those are overhead, and they come out of the margin after the fact.

Getting the cost right matters more than getting the price right, because every penny you forget to include looks like profit that is not really there. If a marketplace charges a percentage of the sale, add that into the cost too. A platform taking fifteen per cent of the selling price removes fifteen percentage points from your margin, not fifteen per cent of your profit, and the difference between those two statements is large enough to break a business. Returns and refunds also eat into the real cost per unit sold, so factor in your return rate if it is significant.

Reading the results

Once the fields are filled, the results show the profit per item, the margin as a percentage, and the markup as a percentage, all side by side. Seeing both percentages together is the point of the tool. A supplier might tell you a deal offers a fifty per cent markup, which sounds generous until you realise that translates to a thirty-three per cent margin, which may not cover your operating costs.

Below the per-item figures, a Units sold field lets you see the totals across a batch. Profit per item can feel like a small number, and it is easy to dismiss a price change that moves it by a pound or two. Multiply that by a month of sales and the figure stops being small. This is also the field that shows you the real cost of offering a discount before you agree to one.

Why discounts hurt more than they look

At a thirty per cent margin, a ten per cent discount on the selling price wipes out a third of your profit, not a tenth. That surprises most people, and it is worth seeing in the calculator before committing to a sale. Set up your normal cost and price, note the profit, then reduce the selling price by ten per cent and watch what happens to the margin.

The reason is that the discount comes off the top line, but the cost stays the same. So the entire discount comes straight out of profit. To earn back the same total profit after a ten per cent discount, you need to sell roughly fifty per cent more units, and that is a steep ask. Promotions can work, but they need to be planned with the real numbers in front of you, not with a vague sense that the percentage looks small.

Working backwards from a target margin

The most useful mode for pricing a new product is the second one: Cost and the margin I want. Enter what the item costs you, type the margin you need, and the calculator shows the selling price. For a forty per cent margin, the price is your cost divided by 0.6. For a fifty per cent margin, divide by 0.5. The arithmetic is not hard, but doing it wrong by accidentally treating the number as a markup instead of a margin leads to a price that is too low.

This mode is also the way to reverse-engineer a competitor's cost. If you know their selling price and can estimate their margin from industry averages, the tool will show roughly what they pay. That is useful when negotiating with suppliers, because it tells you whether the price you are being offered is in the right range. The fourth mode, Selling price and the margin I want, is the mirror image: you know the retail price the market will accept and you need to find the highest cost you can afford to pay.

What good margins look like in different trades

There is no such thing as a universally good margin. Grocery retail runs on a gross margin of a few per cent and makes money on volume. Fashion and cosmetics sit in the fifties and sixties. Software and digital products can reach eighty per cent or higher because the cost of producing one more copy is close to zero. Comparing your margin to an industry average is useful; comparing it to a different industry is not.

What matters more than the headline margin is what it covers. A thirty per cent gross margin is healthy if your overheads are fifteen per cent of revenue. The same margin is dangerous if your overheads are twenty-eight per cent, because that leaves only two per cent net profit and a single bad month puts you in the red. The calculator gives you the gross figure; the rest of the picture comes from your accounts.

Common mistakes to avoid

The most common error is treating a markup as though it were a margin. A business that adds fifty per cent to its cost and then budgets as if it has a fifty per cent margin will consistently spend more than it earns, because the real margin is thirty-three per cent. Every sale brings in less than the spreadsheet predicted.

The second mistake is forgetting that margin can never reach a hundred per cent. Margin uses the selling price as the bottom of the fraction, so it can only hit a hundred if the goods cost nothing. Markup has no ceiling at all, which is another reason the two are easy to confuse. If someone quotes you a margin above a hundred per cent, they are talking about markup whether they know it or not.

Privacy and how the tool runs

All calculations happen on your own device. Nothing is uploaded, no figures are stored once you leave, and there is no account or login. You can test real costs and prices freely without exposing your pricing strategy to anyone. That matters when you are working out how thin your margin can go on a competitive tender, or when you want to model a discount without anyone seeing the numbers before you are ready.

Help

Margin and markup are not the same number

Any two of the four figures are enough. Cost, selling price, margin and markup are locked together, so a target margin can be turned back into the price that would deliver it, or a price read the other way. Both percentages are shown side by side, since the same sale reads as two different numbers depending which one you mean.

Enter what the item costs you

Include anything you pay per item — the goods, the packaging, the delivery in. Leave out rent and wages, which are not per item.

Give it the other half

Either the price you charge, or the percentage you are aiming for.

Read both percentages

The tool always shows margin and markup together, so you can see which one a supplier or a marketplace is quoting at you.

Add units for the totals

Profit per item is a small number that hides how a price change lands. The total across a month of sales does not.

Why a 50% markup is only a 33% margin

Buy for 100, add 50% markup, sell for 150. Your profit is 50, but 50 out of the 150 you took is a third — a 33% margin, not 50%. The two only match at zero. The gap grows fast: a 100% markup is a 50% margin, and a 300% markup is a 75% margin. Shops that price by adding a markup and then budget as though it were the margin run out of money without ever seeing why, because every sale brings in less than the spreadsheet said it would.

Good to know

You cannot have a margin of 100%

Margin has your own price as the denominator, so it can never reach 100 unless the goods are free. Markup has no ceiling at all.

Marketplace fees come out of the margin

A platform taking 15% of the sale price takes 15 points off your margin, not 15% of your profit. Add the fee into your cost to see the real figure.

Discounts cost more than they look

At a 30% margin, a 10% discount wipes out a third of your profit. The tool shows profit per item, which makes that obvious before you agree to it.

Gross margin is not what you keep

This is the margin before rent, wages, tax and everything else that does not scale with each item. Treat it as the money available to pay those.

Common questions

What is the difference between margin and markup?
Margin is profit divided by the selling price. Markup is profit divided by the cost. The same sale gives a smaller margin than markup, always.
How do I calculate profit margin?
Subtract cost from selling price to get profit, then divide by the selling price and multiply by 100.
What price should I charge for a 40% margin?
Divide your cost by 0.6. Choose "cost and the margin I want", enter 40, and the price is worked out for you.
Is a 50% markup the same as a 50% margin?
No. A 50% markup is a 33% margin. Confusing the two is the most common pricing mistake in small businesses.
What is a good profit margin?
It depends entirely on the trade. Grocery runs on a few per cent, software on eighty. Compare yourself with your own sector, not an average.