Free tools · Profit & cash

Profit margin calculator

Get your gross, operating and net profit margin from four lines of your profit and loss statement, and see where each dollar of revenue goes.

← All free tools

Your numbers

$

For the period you're looking at: a month, quarter or year.

$

Direct costs of what you sold: materials, inventory, direct labor, merchant and shipping costs tied to sales.

$

Rent, salaries not in COGS, software, marketing, insurance and the rest of overhead.

$

Net profit margin

18.0%

$90,000 net profit on $500,000 of revenue

Gross margin

60.0%

Gross profit $300,000

Operating margin

24.0%

Operating profit $120,000

Where each dollar of revenue goes

Cost of goods sold$200,000 (40.0%)
Operating expenses$180,000 (36.0%)
Interest and taxes$30,000 (6.0%)
Net profit$90,000 (18.0%)
LineAmount% of revenue
Revenue$500,000100.0%
Less cost of goods sold-$200,000-40.0%
Gross profit$300,00060.0%
Less operating expenses-$180,000-36.0%
Operating profit$120,00024.0%
Less interest and taxes-$30,000-6.0%
Net profit$90,00018.0%

Everything you type stays in your browser: nothing is sent to us or saved.

How this works

Take the numbers from your profit and loss statement for one period, a month, a quarter or a year, and enter them on the left. The margins update as you type.

Gross margin is revenue minus the direct cost of what you sold, as a share of revenue. It tells you whether your pricing covers the cost of delivering. Operating margin also takes off overhead like rent, salaries and software, so it shows whether the business itself makes money. Net margin is what's left after interest and income taxes too: the bottom line.

Looking at all three together tells you where to act. A healthy gross margin with a thin operating margin points at overhead. A thin gross margin points at pricing, suppliers or how the work gets delivered.

Margins are only as good as the books behind them. If costs land in the wrong month or the wrong category, the percentages move for no real reason, so a clean monthly close matters more than the formula.

Questions people ask

What's the difference between margin and markup?

Margin is profit as a share of the selling price; markup is profit as a share of cost. Something that costs $60 and sells for $100 has a 40% margin and a 66.7% markup.

What's a good profit margin?

It depends heavily on the industry and the business model: software, services, retail and construction all run very differently. Your own trend over time, and comparisons with businesses like yours, tell you more than a general rule.

Should owner's pay be in operating expenses?

For a true picture, yes. If you take no salary, your margins look better than they really are. Many owners add a fair market salary for their own role when they compare margins.

Why are my gross margins different each month?

Often it's timing: inventory, materials or contractor bills recorded in a different month from the sales they belong to. Accrual accounting and a consistent month-end close usually smooth this out.

This tool gives estimates for general information, not tax, legal or accounting advice for your situation. Talk to us or your CPA before acting on the results.

Related tools

Ready for books you can trust?

Book a free 30-minute consultation. We'll review where your finances stand today and show you exactly how we'd help.