How to use the profit margin calculator
- Pick Margin to check one product, Price to work from a target margin, or Business for your whole profit and loss.
- In Price mode, say whether you know your cost (to get a selling price) or your price (to get the most you can pay).
- Enter your revenue (or selling price) and cost of goods sold.
- In Business mode, add operating expenses, and interest and taxes if you want net margin.
- Copy the result or share a link that reopens your numbers.
The profit margin formulas
Every margin is a profit divided by revenue. What changes is which costs you take away first.
- Revenue
- sales, before any costs
- COGS
- cost of the goods you sold: stock, materials, direct labor
- Expenses
- running costs: wages, rent, utilities, marketing
- Net profit
- what is left after expenses, interest and taxes
Gross, operating and net margin
Gross margin tells you whether your prices cover the cost of what you sell. Operating margin shows whether the business covers its running costs. Net margin is the bottom line after interest and taxes. A business can have a healthy 60% gross margin and still lose money if rent and wages eat the rest — which is why the Business mode shows all three side by side.
To raise a margin you can charge more, buy or make for less, or cut running costs. A small price rise usually moves margin fastest: on a $100 product with a 40% margin, a 5% price rise lifts the margin to 42.9%.
Restaurant profit margin
For a restaurant, COGS is your food and drink cost. Your gross margin shows how well menu prices cover ingredients; net margin shows what's left after labor, rent and everything else.
Margins in the industry are thin. Toast puts typical net margins at 3–5% for full-service restaurants and 6–9% for quick-service and fast casual, so a few points of food or labor cost make a big difference. To price individual dishes, use the menu pricing calculator.
Margin vs markup
Margin is measured against the price; markup against the cost. So the same sale always shows a smaller margin than markup: a 25% margin is a 33.33% markup, and a 50% margin needs a 100% markup.
Planning in margin protects you from a common mistake — adding a 30% markup when you meant to earn a 30% margin leaves you with only 23.08%.
Common questions
How do you calculate gross profit margin?
What is the difference between gross and net profit margin?
What is a good profit margin?
Is margin the same as markup?
How do I price for a 30% margin?
What is a 30% margin on $100?
How do I calculate a 40% gross margin?
How do I calculate gross margin in Excel?
Can profit margin be negative?
Related tools
Checked by hand against Xero’s gross margin guide, Sage’s margin formulas and Toast’s restaurant margin data. How we check formulas. Last updated . Runs in your browser — nothing you enter is sent anywhere.