The three margins and their formulas
Gross margin = (revenue - cost of goods sold) / revenue. Operating margin = operating profit / revenue. Net margin = net profit / revenue.
- Gross profit margin = (revenue - cost of goods sold) / revenue x 100. It shows what is left from each sale after direct costs of making or delivering it.
- Operating profit margin = (gross profit - operating expenses) / revenue x 100. It shows profit from running the business before interest and income taxes.
- Net profit margin = net profit / revenue x 100. It shows what the owners keep after all costs.
Pull the numbers from your income statement. If you need a refresher on layout, read the income statement basics.
A worked example with round numbers
On $500,000 of revenue, $300,000 of direct costs, $140,000 of overhead, and $20,000 of interest and taxes, margins are 40%, 12% and 8%.
Illustrative example for a small service business.
| Line | Amount | Margin |
|---|---|---|
| Revenue | $500,000 | |
| Cost of goods sold | $300,000 | |
| Gross profit | $200,000 | 40% |
| Operating expenses | $140,000 | |
| Operating profit | $60,000 | 12% |
| Interest and taxes | $20,000 | |
| Net profit | $40,000 | 8% |
Every extra $1 of sales at this margin brings roughly 8 cents of net profit, which shows why small cost changes matter.
Margin vs. markup: do not mix them up
Markup is profit as a percentage of cost. Margin is profit as a percentage of price. A 50 percent markup gives only a 33 percent margin.
Many pricing mistakes come from confusing the two.
Example: an item costs $60. With a 50 percent markup you charge $90. Profit is $30. Margin = $30 / $90 = 33.3 percent, not 50 percent.
To get a 50 percent margin on that same $60 cost, the price must be $120, since profit of $60 is 50 percent of $120. That is a 100 percent markup.
Formulas: price = cost / (1 - target margin) and markup = margin / (1 - margin). See the small business pricing guide for how to apply them.
What counts as a good margin
Good margins vary by industry. Compare yourself with similar businesses and with your own past results, not with a generic number.
A grocery store runs on thin margins and high volume. A software or consulting firm has high gross margins and different cost structures. A trade business sits somewhere between.
Look for benchmarks from your trade association, an accountant who works with your industry, or published financial ratios by industry. Use them as a guide, not a rule. Our article on what a good small business profit margin is goes into this more.
More useful than any benchmark is the trend. Is your gross margin slipping from supplier price increases? Is overhead creeping up faster than sales?
Find where margin leaks
Calculate margin by product, service or customer, not only for the whole company. Averages hide the low-margin work that drags results down.
A company-wide 40 percent gross margin might include a service at 60 percent and another at 15 percent. Break out results:
- Assign direct costs to each product, service or job type.
- Calculate margin for each.
- Rank them. Look at both margin percentage and dollars of gross profit.
- Decide whether to reprice, reduce cost, change the mix or drop the weak item.
Watch for hidden costs: discounts, returns, rework, free shipping, card fees and unbilled time. Include them in direct costs where they belong. Good records make this possible; see business expense categories.
Ways to improve margin
Raise prices where value supports it, lower direct costs, shift toward higher-margin work and control overhead growth.
Small moves compound. Using the earlier example, a 3 percent price increase on $500,000 of revenue adds $15,000 of revenue. If volume holds, nearly all of it drops to profit, taking net profit from $40,000 to about $55,000.
- Pricing: review prices at least annually and after cost increases.
- Purchasing: negotiate terms, buy in bulk if turnover allows.
- Efficiency: reduce rework, waste and idle time.
- Mix: promote higher-margin items and services.
- Overhead: audit subscriptions, insurance and rent each year.
Margin also determines your break-even sales. See the break-even point formula.
Margin, cash and the decision to borrow
Margin must be wide enough to pay the cost of financing and still leave profit. Thin margins leave little room for debt payments.
Before you take on funding, test it against your margin. In this illustrative example, a $50,000 inventory purchase that sells for $80,000 at a 40 percent gross margin earns $32,000 of gross profit. If the funding costs $6,000 in total, you keep $26,000 before other costs. If margin were 15 percent, gross profit would be $12,000, and the same $6,000 cost would consume half of it.
ROI Funder uses this payback logic on every file and shows true cost, payback period and monthly-equivalent payments before anyone signs. See inventory funding payback math. We consider businesses with 500+ FICO, 6+ months in operation and $20,000+ monthly revenue, with a soft credit pull to apply.
Frequently asked questions
What is the profit margin formula?
Profit divided by revenue, times 100. Use gross, operating or net profit to get the matching margin.
What is the difference between margin and markup?
Margin is profit as a share of the selling price. Markup is profit as a share of cost. Margin is always lower than markup.
What is a good net profit margin for a small business?
It depends on the industry. Compare with similar businesses and your own trend rather than a single universal number.
How often should I calculate margin?
Monthly, using your closed books, and by product or service line at least quarterly.
