Profit Margin Calculator
About this tool
About Profit Margin Calculator
Find out how much of every sale you actually keep. The calculator works three ways: enter cost and selling price to get gross profit, profit margin and markup; enter cost and a target margin to get the selling price you need; or enter a selling price and margin to see the most an item may cost you. Margin and markup are shown side by side because they are easy to mix up: a 50% markup is only a 33.3% margin, and pricing on the wrong one quietly eats your profit. Add the number of units to see revenue and profit for a batch or a month of sales. A table lists the selling price for common margins from 10% to 60% at your cost, so you can pick a price point quickly and download the table as CSV. Retailers, resellers, makers selling online and service businesses can all use it, in any currency. Everything is calculated locally in your browser.
Built and maintained by Abhi JainUpdated
How to Calculate Profit Margin
- 1
Choose what to calculate
Pick Margin from cost and price, Price from cost and margin, or Max cost from price and margin.
- 2
Enter the numbers
Type the cost per unit, the selling price or the target margin, and optionally the units sold.
- 3
Read the results
See profit, margin and markup, and use the table to compare prices for other margins.
Profit Margin Calculator: questions and answers
What is the profit margin formula?
Profit margin = (selling price − cost) ÷ selling price × 100. An item that costs 60 and sells for 100 has a profit of 40 and a margin of 40%.
What is the difference between margin and markup?
Margin is profit as a share of the selling price; markup is profit as a share of cost. With cost 60 and price 100, the margin is 40% but the markup is 66.7%. Markup = margin ÷ (1 − margin).
How do I find the selling price for a target margin?
Price = cost ÷ (1 − margin). For a 30% margin on a cost of 70: 70 ÷ 0.7 = 100. Adding 30% to cost (91) would only give a 23% margin.
Is this gross margin or net margin?
Gross margin: it uses the cost of the item only. Net margin also subtracts overheads such as rent, salaries and ads. Use the break-even calculator to see how fixed costs change the picture.
What is a good profit margin?
It depends on the industry. Grocery and fuel often run on single-digit gross margins, while software, cosmetics and many services run above 50%. Compare against businesses like yours rather than a single rule.
Related Tools
- Markup CalculatorSelling price from cost and markup, or the markup from cost and price, with the matching margin.
- Break-Even CalculatorUnits and sales needed to cover fixed costs, plus the volume for a target profit.
- Discount CalculatorSale price and savings from a percent or amount off, stacked discounts and tax.
- GST CalculatorAdd or remove GST at any slab and see the CGST, SGST or IGST split.
- Invoice GeneratorCreate a professional invoice with tax, logo and payment details, then download it as a PDF.