How to use this calculator
- Choose whether you already know your selling price, or whether you want the calculator to find a price for a margin you have in mind.
- Enter your cost. Include everything that belongs to the sale: materials, packaging, delivery, payment fees and any labour you pay for.
- Enter the selling price, or the target margin as a percentage.
- Read the result on the slip. The profit is in money, the margin is a share of the selling price, and the markup is a share of the cost.
The formulas
Margin and markup are different numbers
Profit margin tells you what share of each sale you keep. Markup tells you how far above cost you priced the item. Both use the same profit figure, but margin divides by the selling price while markup divides by the cost, so margin is always the smaller percentage. A product that costs 60 and sells for 100 has a 40% margin and a 66.7% markup. Mixing the two up is one of the most common pricing mistakes, and it usually leads to prices that are too low. Our guide to margin vs markup explains the difference with more examples.
Worked example
You sell a product for 100 and it costs you 60 to make and ship. Your profit is 100 - 60 = 40. Your profit margin is 40 / 100 = 40%, and your markup is 40 / 60 = 66.7%.
Now suppose you want a 50% margin on the same item. The price has to be 60 / (1 - 0.5) = 120. Adding 50% to your cost would only give a price of 90, which is a margin of 33.3%. That gap is why pricing from a target margin is safer than guessing a markup.
Gross margin and net margin
If the cost you enter covers only the direct cost of the item, the result is a gross margin. It does not yet pay for rent, software, advertising, your own time or tax. A net margin includes those running costs as well. For a quick check on one product, gross margin is fine. For a whole business, enter total costs against total sales to see the net picture.
What is a good profit margin?
There is no single answer. Margins differ a lot between industries: businesses that sell physical goods in competitive markets often work on thin margins, while software and consulting can be much higher. Compare your margin with businesses of your own type and size, and look at the trend over time rather than a single sale. If your margin falls while sales rise, costs are growing faster than prices.
Common mistakes to avoid
- Leaving out payment fees, returns, packaging or delivery when you add up cost.
- Using markup when a supplier, marketplace or accountant is talking about margin.
- Forgetting that a discount cuts the margin more than it seems. A 10% discount on a 40% margin leaves about 33%. Try it in the discount calculator.
Frequently asked questions
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 only a 33.3% margin, so mixing them up can lead to underpricing.
How do I calculate profit margin?
Subtract the cost from the selling price to get profit, divide the profit by the selling price, and multiply by 100. For a price of 100 and a cost of 60, the margin is 40 / 100 x 100 = 40%.
How do I find the selling price for a target margin?
Divide the cost by 1 minus the margin written as a decimal. With a cost of 60 and a 40% target margin, the price is 60 / 0.6 = 100.
Is this gross margin or net margin?
It is a gross margin if the cost only covers the direct cost of the product or service. It moves closer to a net margin if you include all costs, such as labour, rent, fees and marketing, in the cost field.
Can a profit margin be negative?
Yes. If the cost is higher than the selling price you make a loss, and the margin shows as a negative percentage.
Why can I not enter a target margin of 100%?
A 100% margin would need a cost of zero or an infinite price. The target margin has to be below 100%.