The three profit margins
Gross margin = (Revenue − COGS) ÷ RevenueOperating margin = (Gross profit − Operating expenses) ÷ RevenueNet margin = (Operating profit − Interest − Taxes) ÷ RevenueEach margin peels back one more layer of cost. A strong gross margin with a weak net margin usually points to overheads; a weak gross margin points to pricing or product costs.
Example
An online store makes $50,000 in revenue with $20,000 in product costs, $15,000 in operating expenses, and $3,000 in interest and taxes.
- Gross profit $30,000 → gross margin 60%
- Operating profit $15,000 → operating margin 30%
- Net profit $12,000 → net margin 24%
For a single product's margin and markup, use the simpler margin calculator.
How to use the profit margin calculator
- Choose a period, such as last month, last quarter, or last year, and take every figure from that same period.
- Enter revenue and cost of goods sold. That is enough for gross margin.
- Add operating expenses to see operating margin, then interest and taxes to see net margin. Leave the optional fields blank if you only need gross margin.
Your income statement (profit and loss report) from your accounting software already groups costs this way. If you work from bank statements instead, the table below shows where common costs belong.
Where each expense goes
| Expense | Usually counted as |
|---|---|
| Wholesale cost of products, raw materials | Cost of goods sold |
| Production labor, contractors who deliver the work | Cost of goods sold |
| Inbound freight, packaging | Cost of goods sold |
| Marketplace and payment processing fees | Either, but be consistent |
| Rent, utilities, insurance | Operating expense |
| Office and admin salaries | Operating expense |
| Advertising and marketing | Operating expense |
| Software subscriptions | Operating expense |
| Depreciation of equipment | Operating expense |
| Loan interest | Interest |
| Income tax | Taxes |
Owner draws, loan principal repayments, and equipment purchases are not expenses for this calculation. They affect your cash, not your profit. Equipment shows up gradually through depreciation instead.
Example: a service business
A design studio brings in $120,000 in a year and pays freelancers $30,000 to deliver client work. Rent, software, and an admin salary come to $60,000, and interest and taxes are $7,500.
- Gross profit $90,000 → gross margin 75%
- Operating profit $30,000 → operating margin 25%
- Net profit $22,500 → net margin 18.75%
Service businesses often have high gross margins because the main cost is people, and much of that sits in operating expenses. Comparing their gross margin with a retailer's tells you little. Compare net margins, or compare with businesses like yours.
What the gaps between margins tell you
- Low gross margin: prices are too low or product costs are too high. Look at supplier pricing, discounts, and your markup.
- Healthy gross margin, low operating margin: overheads are eating the profit. Rent, payroll, and ad spend are the usual suspects. Check paid campaigns with the ROAS calculator.
- Healthy operating margin, low net margin: debt is expensive or taxes are high. Refinancing or tax planning may help more than operational changes.
Profit margin vs profit
Margin is a ratio, so it can rise while total profit falls. A business that drops its cheapest products might move from a 20% to a 25% net margin while profit shrinks from $40,000 to $30,000 because revenue fell. Track both the percentage and the dollar amount, and use the break-even calculator to see the sales volume you need to cover fixed costs.
Frequently asked questions
What is the difference between gross and net profit margin?
Gross margin only subtracts the direct cost of the goods you sold. Net margin also subtracts operating expenses such as rent and payroll, plus interest and taxes, so it shows what the business actually keeps.
What counts as cost of goods sold (COGS)?
Costs directly tied to producing or buying what you sold: materials, wholesale cost, direct labor, and inbound shipping. Marketing, rent, and software subscriptions are usually operating expenses instead.
What is a good net profit margin for a small business?
Many small businesses land between 5% and 15% net margin, but it varies widely by industry. Service and software businesses often run higher; retail and restaurants often run lower.
Can profit margin be negative?
Yes. A negative margin means costs were higher than revenue for the period, so the business lost money.
Is operating margin the same as EBITDA margin?
No. Operating margin subtracts depreciation and amortization along with other operating expenses. EBITDA margin adds them back, so it is always equal to or higher than operating margin. This calculator follows the operating margin definition.
Should I count my own pay as an expense?
For a corporation that pays you a salary, yes, it is an operating expense. Sole proprietors usually take owner draws, which are not expenses on the books. To judge whether the business truly pays, subtract a fair market salary for your time as an operating expense.
What period should I use?
Any period works as long as revenue and costs cover the same dates. A month shows recent changes quickly, while a full year smooths out seasonal swings and one-off bills such as annual insurance.