How to use the free profit margin calculator
- Pick the mode from the tabs: margin from cost and price, markup, selling price from a target, or cost price from a target.
- Enter the cost of the item in the "Cost" box. Include everything you paid to get it ready to sell, such as shipping or packaging, if you want a true figure.
- Enter the selling price, or the percentage you are aiming for, in the second box depending on the mode you chose.
- Read the results panel: profit in money, margin as a percentage of price, and markup as a percentage of cost. All three update as you type.
- Change the currency label in the settings if you want the results to display with your own symbol. It is a label only and does not convert anything.
What to include
- The full cost per unit, including purchase price, freight, packaging and any payment fees
- The selling price per unit, before any tax you add on top
- Whether you are measuring one product or an average across a range
- Your target margin or markup, if you are pricing rather than measuring
- Any discount you routinely give, since that lowers the real selling price
- The currency, purely so the result reads correctly
Margin vs markup: the difference that trips up most small businesses
Margin and markup describe the same profit from two different angles. Margin is profit as a percentage of the selling price: Margin = (price − cost) ÷ price × 100. Markup is profit as a percentage of the cost: Markup = (price − cost) ÷ cost × 100. Because the selling price is always bigger than the cost when you make a profit, the margin percentage is always smaller than the markup percentage for the same deal. Say you type a cost of 800 and a price of 1,000. The profit is 200 either way, but the margin is 200 ÷ 1,000, which is 20 percent, and the markup is 200 ÷ 800, which is 25 percent.
The confusion matters when someone says "we need 30 percent on this". If they mean markup, you price at cost × 1.30. If they mean margin, you price at cost ÷ 0.70, which is noticeably higher. On a cost of 800 that is 1,040 versus 1,142.86. Pricing by markup when the boss wanted margin quietly shrinks the profit on every sale. This calculator shows both numbers side by side for exactly that reason, so you can see which one your figures are hitting.
Gross margin, net margin and which one this tool gives you
The margin on this page is a gross figure: selling price minus the direct cost of the item. It does not deduct rent, salaries, marketing or any other overhead, so it tells you how much each sale contributes towards those costs rather than your final profit. Net margin, which accounts for overheads, needs your whole set of accounts and is not something a quick calculator can do honestly. Use gross margin to compare products, set prices and check that a discount still leaves something behind, then look at net margin in your accounts at the end of the month.
Frequently asked questions
How do I calculate profit margin?
Subtract the cost from the selling price to get the profit, then divide the profit by the selling price and multiply by 100. Selling at 500 something that cost 350 gives a profit of 150 and a margin of 30 percent.
Is a higher margin or a higher markup better?
They rise and fall together, so neither is "better". Just be consistent: compare margin with margin and markup with markup, and tell suppliers and staff which one you mean.
Can I convert a markup percentage into a margin percentage?
Yes. Margin = markup ÷ (100 + markup) × 100. A markup of 50 is a margin of 33.33 percent. Enter any cost with that markup and the result panel shows the matching margin.
Should I include tax in the selling price?
No. Use the price before any sales tax or VAT you charge on top, because that tax is passed on and is not your income. Enter the percentage you know separately if you need the tax-inclusive price.
What is a good profit margin for a small business?
It depends entirely on the trade. Groceries run on thin margins and high volume; consultancy and software run on wide margins. Compare against similar businesses rather than a universal number.
Are my cost and price figures stored anywhere?
No. The calculator is a script that runs in your tab. Your figures are never uploaded and are gone when you close the page.