How to use the Profit Margin Calculator
- 1Choose Profit and margin, Price from margin, or Price from markup.
- 2Enter your cost per item and either the selling price or your target percentage.
- 3Add a quantity to see totals for a whole order.
- 4Read the profit, margin and markup, with the working shown underneath.
Margin and markup are not the same
Both compare profit with something else:
- Margin compares profit with the selling price: margin = profit ÷ price × 100.
- Markup compares profit with the cost: markup = profit ÷ cost × 100.
An item that costs 40 and sells for 65 makes 25 profit. That is a 38.5% margin but a 62.5% markup. Mixing the two up is a common pricing mistake that leads to prices that are too low.
Pricing for a target margin
To hit a margin, divide the cost by (1 − margin). For a 35% margin on a 40 cost: 40 ÷ 0.65 = 61.54. Adding 35% to the cost instead (a markup) would give only 54, a margin of 26%.
What to include in cost
For gross margin, include the direct cost of each item: materials, manufacturing, shipping to you and per-sale fees. Rent, salaries and marketing are overheads, which come out of gross profit later. The Break-Even Calculator helps with those.
Worked example
You buy an item for $60 and sell it for $100. The profit is $40.
- Margin: 40 ÷ 100 = 40% of the selling price.
- Markup: 40 ÷ 60 = 66.7% on top of the cost.
Same sale, two different percentages. Margin is measured against the price you charge, and markup against what it cost you.
Convert between margin and markup
Markup = margin ÷ (1 − margin). A 40% margin is 0.4 ÷ 0.6 = 66.7% markup. Going the other way, margin = markup ÷ (1 + markup). A 50% markup is only a 33.3% margin (0.5 ÷ 1.5), which is the classic pricing mistake: adding 50% to the cost does not give you a 50% margin.
Set a price from the margin you want
Selling price = cost ÷ (1 − target margin). To make a 30% margin on an item that costs $60, charge 60 ÷ 0.70 = $85.71.
Gross, operating and net margin
- Gross margin counts only the direct cost of the product.
- Operating margin also subtracts running costs such as rent, wages and software.
- Net margin is what is left after everything, including tax and interest.
A healthy gross margin can still hide a loss once overheads are counted, so check the net figure too.
What is a normal margin?
It varies hugely. Retailers selling physical goods often keep a net margin of only a few percent, while software and services can keep much more. Compare yourself with your own industry, not with a headline number.
Pricing decisions that go with margin
Once you know your margin, the break-even calculator shows how many units you must sell to cover fixed costs. Planning a sale? Check the price after a cut in the discount calculator, and for any other percentage, use the percentage calculator.
Frequently asked questions
What is a good profit margin?
It varies widely by industry. Groceries often run on thin margins, while software and services can be much higher. Compare with businesses like yours.
How do I convert markup to margin?
Margin = markup ÷ (1 + markup). A 50% markup equals a 33.3% margin.
Can margin be more than 100%?
No. Profit can never exceed the selling price, so margin is always below 100%. Markup can be any size.
What is the difference between margin and markup?
Margin is profit as a percentage of the selling price. Markup is profit as a percentage of the cost. A 50% markup equals a 33.3% margin.
How do I price a product for a target margin?
Divide the cost by 1 minus the margin you want. For a 30% margin on a $60 cost, the price is 60 ÷ 0.70 = $85.71.
Can profit margin be negative?
Yes. If your costs are higher than your revenue the margin is negative, which means you are losing money on each sale.
Last updated · By the DailyDeskTools team
Built and written with AI assistance, then tested by hand by our team. How we make our tools