Profit margin calculator
Enter what something costs you and what you sell it for to see your margin and markup. Or enter the margin you want and get the price to charge.
FreeNo sign-upRuns on your device
How to use it
- Choose whether you know the price or the margin you want.
- Enter your cost for one unit.
- Enter the selling price or your target margin.
- Read the margin, markup, profit and price.
Margin explained
Gross profit margin is the share of the selling price you keep after the cost of the item. Margin = (price − cost) ÷ price × 100. If something costs $60 and sells for $100, the profit is $40 and the margin is 40%.
To price for a margin, divide the cost by (1 − margin). For a 40% margin on a $60 cost: $60 ÷ 0.6 = $100. This is where many people go wrong: adding 40% to the cost gives $84, which is only a 28.6% margin.
Margin or markup?
Margin is profit as a share of the price. Markup is profit as a share of the cost. The same sale gives two different percentages: $40 profit on a $60 cost and $100 price is a 40% margin and a 66.7% markup. Accounts and investors usually talk about margin. Shops and trades often price with markup. Make sure everyone means the same thing before you compare numbers.
What counts as cost
This calculator works out gross margin, using the direct cost of one unit: what you paid for it, or the materials and labour to make it. It doesn't include rent, wages, marketing or other overheads. Your net margin, after those costs, will be lower. Track both: gross margin tells you whether each sale is priced well, and net margin tells you whether the business as a whole makes money. A margin can never reach 100%, because that would mean the cost was zero. Recheck your margin whenever a supplier raises prices: if the cost goes up and the price stays the same, the margin falls.




