Gross profit, margin, markup and net profit in one place
This calculator gives you the four numbers people usually need at once. From a revenue and a cost it works out your gross profit, your gross margin, your markup, and, once you add overheads, your net profit and net margin. You can enter totals for a period or a single item’s price and unit cost, whichever you have to hand.
How to calculate gross profit margin
Gross profit is revenue minus the cost of goods sold. Gross margin turns that into a percentage of revenue:
Take 1,000 of revenue and 600 of cost. Gross profit is 400. Divide 400 by the 1,000 of revenue and you get a 40% gross margin. Divide the same 400 by the 600 of cost and you get a 66.7% markup. Same deal, two very different-looking percentages, which is exactly why margin and markup get confused.
Margin vs markup: the difference that trips people up
Margin and markup both start from the same gross profit. The difference is what you divide it by. Margin divides profit by the selling price, so it is always less than 100% and answers “what share of the sale do I keep?” Markup divides profit by the cost, can go well above 100%, and answers “how much did I add on top of what it cost me?” Quote a markup when you are pricing up from cost, and a margin when you are looking at profitability. Mixing them up is a common way to underprice: a 50% markup is only a 33.3% margin, not a 50% margin.
Gross margin vs net margin
Gross margin only counts the direct cost of what you sold. Net margin counts everything else too: rent, wages, software, marketing, fees and tax before tax. A healthy gross margin can still turn into a net loss once those overheads are in. Enter your operating costs in the calculator to see both, so you know whether the problem is your pricing or your running costs.
Markup calculator
Used as a markup calculator, this tool answers “how much do I add on top of cost?” Markup is gross profit divided by cost, so it is always measured against what the item cost you, not the sale price. Buy stock for 40 and sell it for 100 and the gross profit is 60, which is a 150% markup on the 40 cost. Enter your unit cost and price above and the markup appears next to the margin, so you can price up from cost and check the profitability in the same view.
Net profit calculator
Add your operating costs and the tool works as a net profit calculator too. Net profit is revenue minus the cost of goods sold minus overheads such as rent, wages, software, marketing and fees. On 1,000 of revenue with 600 of cost and 250 of overheads, gross profit is 400 but net profit is 150, a 15% net margin. Seeing gross and net side by side tells you whether a thin bottom line comes from your pricing or your running costs.
How to use this calculator
- Pick your currency, then choose whether to enter period totals or a single item's price and unit cost.
- Enter your revenue and cost of goods. Gross profit, margin and markup appear straight away.
- Add operating costs or overheads to see your net profit and net margin.
- Use the working panel to check each formula, and compare margin against markup side by side.
Frequently asked questions
Related tools
More budgeting & savings calculators
Simon is the founder of Orbit Money, a tool that helps people track subscriptions and recurring spend. He builds Orbit's free money calculators and writes about personal finance and running a business for readers in the UK, Australia and beyond.
More from Simon →