Profit Margin Calculator
Profit margin is profit as a percentage of revenue: (revenue − cost) ÷ revenue. Enter your cost and selling price and this calculator returns the profit, the gross margin and the markup — the three numbers behind every price.
Use this profit margin calculator to see exactly how much of each sale you keep. Enter the cost of a product and the price you sell it for, and it works out the profit in dollars, the profit margin as a percentage of revenue, and the markup as a percentage of cost — so you never again mix up margin and markup.
Enter the cost and revenue, then press Calculate.
How the profit margin calculator works
The calculator starts with the simplest number in business — profit, which is just revenue minus cost — and then expresses it two ways. Divide the profit by the revenue and you get the profit margin, the share of each sales dollar you keep. Divide the same profit by the cost instead and you get the markup, how much you added on top of what you paid. Both come from the identical profit; they simply answer different questions.
Keeping the two straight matters because they are easy to confuse and the gap between them grows as margins rise. A 25% margin is a 33% markup; a 50% margin is a 100% markup. Once you have your margin here, the markup calculator lets you work the other direction — from cost and markup to a price — and the break-even calculator shows how many sales at this margin you need to cover your fixed costs.
The profit margin formulas
- Cost — what you pay for the item
- Revenue — what you sell it for
- Profit — revenue minus cost
Why margin is the number that matters
Margin is the language of profitability because it is comparable. A dollar figure tells you little on its own — $15 of profit is excellent on a $60 sale and dismal on a $6,000 one — but a percentage instantly puts it in context. That comparability is why investors, lenders and managers reach for margin first: it strips out size and lets you judge whether a product, a store or a whole company is turning sales into profit efficiently, and whether that efficiency is improving or slipping over time.
Margin is not the whole story
A high margin on a product you sell rarely can matter less than a slim margin on something that flies off the shelf, so always read margin alongside volume. And remember that the margin here is a gross-style figure based on the cost you enter; the net margin that reaches your bank account also carries overheads, wages, interest and tax. Use this tool to price and compare, then check the full picture against your total costs before drawing conclusions.
Gross, operating and net margin — the three profit margins
“Profit margin” is really three different numbers, each measured against revenue but subtracting more costs as you go. Gross margin takes revenue minus the direct cost of the goods or services sold, showing how profitable your core product is before overheads. Operating margin goes further, subtracting operating expenses like rent, salaries and marketing to reveal how well the business runs day to day; it is revenue minus all operating costs, also called EBIT margin. Net margin is the bottom line: revenue minus everything, including interest and tax, divided by revenue. A company can have a healthy gross margin but a thin net margin if its overheads or debt are heavy, which is why lenders and investors look at all three. This calculator gives you the gross figure from a single cost and price; add up all your costs to work out the operating and net versions.
Estimate only — not financial advice. Margin from a single cost and price is a gross figure; include all costs for a net view. Confirm figures before pricing decisions.
How to use it & key terms
Enter the cost and the selling price (revenue), then press Calculate to see the profit, margin and markup.
| Term | What it means |
|---|---|
| Cost | What you pay to make or buy the item. |
| Revenue | The selling price you charge. |
| Profit | Revenue minus cost. |
| Profit margin | Profit as a percentage of revenue. |
| Markup | Profit as a percentage of cost. |
| Gross vs net | Gross uses direct cost; net subtracts all overheads too. |
Sources & methodology
The calculator computes profit as revenue minus cost. Profit margin is the profit divided by the revenue, expressed as a percentage, and markup is the profit divided by the cost, also as a percentage. These are the standard definitions used in accounting and retail pricing, where margin is always measured against the selling price and markup against the cost. The result is a gross-style margin; a net profit margin would use total costs including overheads in place of the direct cost.
Sources: Standard profit margin and markup definitions used in accounting and retail pricing.
High margin or high volume? Two routes to profit
Two businesses can post the very same profit margin and still run in completely opposite ways, because a margin percentage says nothing about how often you earn it. A jeweller might keep a wide margin on a handful of sales a month, while a grocer keeps a sliver on thousands of transactions a day — and both can finish the year with a healthy profit. The percentage describes the quality of each individual sale; multiplying it by how frequently you make that sale is what actually fills the bank account.
That is why the highest margin is not automatically the right goal. Chasing a fatter margin by lifting prices can quietly shrink a business if it drives customers away, leaving an impressive percentage spread across far too few sales. Pushing the other way — accepting a slimmer margin to win volume — can raise total profit when the extra sales more than cover the ground given up. The figure to keep your eye on is profit in real money, not the percentage alone, and beside it the cash the business actually generates.
This trade-off shapes everyday pricing decisions. A shop may sell one item at little or no margin as a "loss leader" to draw people through the door, trusting they will add higher-margin goods once inside. A bundle can carry a lower margin than its parts sold separately yet lift the total because customers buy more at once. Positioning as a premium brand argues for high margins and lower volume; competing on value argues for the reverse. There is no universally correct answer — only the one that yields the most profit for the market you serve.
So read the margin this calculator gives you in context. Ask how many sales you can realistically make at that level, whether a small price change would win or lose enough customers to matter, and what the move does to total profit rather than to the percentage on its own. A margin is a powerful gauge of each sale's quality, but the size of the prize is margin and volume working together — judge them as a pair, not in isolation, and let total profit and cash flow have the final word.
Frequently asked questions
What is profit margin?
Profit margin is the share of revenue that is left as profit after costs, written as a percentage. A 25% margin means 25 cents of every sales dollar is profit and 75 cents went to cost. It is one of the clearest measures of how efficiently a business turns sales into profit, and it lets you compare products, periods or competitors on a level footing regardless of their size.
How do you calculate profit margin?
Subtract the cost from the revenue to get the profit, then divide the profit by the revenue and multiply by 100. For example, if an item costs $45 and sells for $60, the profit is $15 and the margin is 15 ÷ 60 = 25%. Note that margin always divides by revenue, which is what separates it from markup, where the profit is divided by cost instead.
What is the difference between margin and markup?
Both start from the same profit, but they divide it by different things. Margin is profit as a percentage of the selling price (revenue), while markup is profit as a percentage of the cost. Because revenue is larger than cost, the margin is always the smaller-looking number: a $15 profit on a $45 cost sold at $60 is a 25% margin but a 33.3% markup. Confusing the two is one of the most common pricing mistakes.
How can you improve your profit margin?
There are three main levers: raise prices, cut the cost of what you sell, or reduce overhead. Even a small price increase flows almost entirely to profit if your costs hold, while negotiating better supplier terms, reducing waste, or improving productivity lowers the cost base. Shifting your sales mix toward higher-margin products or services helps too. The trick is to protect margin without driving customers away, so test changes gradually and watch both the margin and the total profit, since a higher margin on far fewer sales is not always a win.
What is the difference between gross and net profit margin?
Gross profit margin uses only the direct cost of the goods or services sold, showing how profitable your core product is before overheads. Net profit margin subtracts everything — overheads, salaries, interest and taxes — to show the bottom-line profitability of the whole business. This calculator computes a gross-style margin from the cost and revenue you enter; to find a net margin, use your total costs including overhead as the cost figure.
How do I increase my profit margin?
There are only two levers: raise revenue or cut cost. On the revenue side you can raise prices, reduce discounting, or shift customers toward higher-margin products; on the cost side you can negotiate better supplier terms, reduce waste, or improve efficiency. Because margin divides by revenue, a price rise usually moves the margin more than an equivalent cost cut, but it risks losing sales — test both here before deciding.
What is a good profit margin?
It depends heavily on the industry, so compare against your own field rather than a universal number. Very roughly, a net margin around 5% is often considered low, 10% healthy, and 20% or more strong, but the spread by industry is huge. Grocery and retail run on thin margins of just a few percent and make it up on volume; restaurants often net in the single digits; while software and other digital businesses can post net margins of 20% to 40% or more because the cost of each extra sale is tiny. Judge your margin against typical figures for your industry and your own trend over time.
Why is my margin lower than my markup?
Because they are measured against different bases. Markup is your profit as a percentage of cost, while margin is the same profit as a percentage of the selling price, and since the price is always larger than the cost, the margin percentage is always smaller. A product bought for $10 and sold for $15 carries a 50% markup ($5 on $10) but only a 33.3% margin ($5 on $15). Confusing the two makes a price look more profitable than it is, so always convert markup to margin before judging how much you really keep.