Your revenue doubled this year — and your bank balance shrank. If that sentence made your stomach drop, you already understand why revenue is the most misleading number on your income statement. Sales tell you how much money passed through your business. Margins tell you how much of it you kept, where the rest went, and which part of the business is leaking. Three ratios answer those questions, each one peeling back a deeper layer of cost: gross margin, operating margin, and net profit margin.
Learn to read all three together and a single income statement becomes a diagnostic tool. A pricing problem looks different from an overhead problem, which looks different from a debt problem — but only if you know which margin each one moves. This guide walks through each formula with worked examples, shows how to read the three as a set, and flags the bookkeeping mistakes that make margins lie.
The Three Margins in One Picture
Each margin is a profit figure divided by revenue, expressed as a percentage. The difference is which costs have been subtracted before you divide:
| Margin | Formula | Question it answers |
|---|---|---|
| Gross margin | (Revenue − Cost of goods sold) ÷ Revenue × 100 | Is your pricing above your direct costs? |
| Operating margin | Operating income ÷ Revenue × 100 | Does the core business run efficiently? |
| Net profit margin | Net income ÷ Revenue × 100 | What do you actually keep? |
Walk through one simple sale to feel the layers. You sell a product for $100. It cost you $55 to make or buy (that is your cost of goods sold, or COGS). Running the business — rent, marketing, software, admin wages — adds $20 of operating expense per $100 of sales. Interest and taxes take another $10. Your three margins on that sale:
- Gross margin: ($100 − $55) ÷ $100 = 45%
- Operating margin: ($100 − $55 − $20) ÷ $100 = 25%
- Net margin: ($100 − $55 − $20 − $10) ÷ $100 = 15%
Notice the staircase: each margin is lower than the last because each subtracts more. When that staircase breaks — when operating margin is nearly as high as gross margin, or net margin collapses far below operating margin — the shape of the break tells you where to look. Keep that image in mind; the diagnostic patterns later in this guide all come back to it.
Gross Margin: Are You Charging Enough?
Gross margin is the first and most unforgiving of the three. It subtracts only COGS — the direct cost of what you sold — and ignores everything else. For a reseller, COGS is merchandise cost plus freight-in. For a manufacturer, it adds direct labor and production overhead. For a service business, it is the labor and materials consumed delivering the work: the billable hours, the subcontractors, the job supplies.
Gross margin = (Revenue − COGS) ÷ Revenue × 100
A 45% gross margin means you keep 45 cents of every sales dollar before paying a cent of overhead. Those 45 cents must cover rent, salaries, marketing, insurance, loan payments, taxes, and your own pay — plus leave something over. That is why gross margin is where pricing lives or dies. If it is too thin, no amount of cost-cutting below the line will save you; you cannot overhead-cut your way out of selling dollar bills for 90 cents.
What counts as healthy depends heavily on what you sell. Software businesses routinely post gross margins above 70% because delivering one more license costs almost nothing. Contractors and construction trades often run 18–27%. Retailers and restaurants sit lower still, frequently in the 25–40% range depending on the segment. The right benchmark is always your own industry — and, even more usefully, your own history. A gross margin sliding from 48% to 41% over four quarters is telling you something urgent even if 41% still beats the industry average.
Four levers move gross margin, roughly in order of speed:
- Price. A 3% price increase on a product with a 40% gross margin lifts that margin by nearly two points, with no extra work. Most small businesses underprice from fear rather than analysis; test small increases on your least price-sensitive offerings first.
- Mix. Not every product deserves equal shelf space. Rank your offerings by gross margin dollars (not just percentage — a 60% margin on a $20 item earns less than a 30% margin on a $200 one) and steer marketing toward the winners.
- Direct costs. Renegotiate supplier contracts, consolidate orders for volume discounts, and measure waste. Restaurants that track food cost weekly almost always find two to three points hiding in portion drift and spoilage.
- Volume against fixed production cost. If part of your COGS is fixed — a production salary, a leased machine — more units spread it thinner. But beware the trap: discounting to chase volume usually destroys more margin than scale recovers.
Operating Margin: Does the Business Run Lean?
Gross margin asks whether the sale itself was profitable. Operating margin asks whether the business is — after the rent, the payroll for non-production staff, the marketing spend, the software subscriptions, the insurance, and depreciation. These are operating expenses: the cost of keeping the doors open and finding customers, as opposed to the cost of the thing sold.
Operating margin = Operating income ÷ Revenue × 100, where operating income is gross profit minus operating expenses.
This is the margin that judges your management. Two businesses can sell the identical product at the identical price with the identical gross margin, and the one with disciplined overhead will show a far better operating margin. Lenders and buyers watch it closely for exactly that reason: it strips out financing choices and tax situations — which differ owner to owner — and shows how the operation itself performs.
Suppose your business does $500,000 in revenue with $275,000 of COGS. Gross profit is $225,000, a 45% gross margin. Now subtract operating expenses: $60,000 in rent and utilities, $70,000 in marketing and sales, $45,000 in admin wages and software. That is $175,000 of overhead, leaving $50,000 of operating income — a 10% operating margin. The sales are healthy; the operation consumes nearly four-fifths of every gross-profit dollar before interest and taxes even appear.
Improving operating margin means attacking overhead without cutting muscle:
- Audit subscriptions and services annually. The average small business pays for software seats nobody uses and retainers that outlived their purpose. List every recurring charge once a year and justify each one against the revenue it supports.
- Tie marketing spend to margin, not revenue. A campaign that grows sales 20% while cutting operating margin in half bought revenue at a loss. Judge marketing on contribution after its own cost.
- Watch headcount creep. Admin payroll is usually the largest operating expense. Before each hire, price the alternative: automation, a contractor, or simply not doing the low-value work at all.
- Benchmark overhead as a share of revenue. If operating expenses were 28% of revenue last year and 35% this year on flat sales, you have found your leak — now itemize which category grew.
A persistently thin or negative operating margin on a healthy gross margin is the classic signature of a business that sells well and spends badly. The fix is never "sell more of the same"; it is overhead discipline.
Net Profit Margin: What Do You Actually Keep?
Net margin is the bottom line expressed as a percentage — what remains after everything: COGS, operating expenses, interest, taxes, and any other income or expense. It is the number that ultimately pays you, funds growth, and services debt.
Net margin = Net income ÷ Revenue × 100
Continuing the $500,000 example: operating income was $50,000. Subtract $8,000 of loan interest and $9,000 of income tax, and net income is $33,000 — a 6.6% net margin. From $500,000 of sales, the business keeps about six and a half cents per dollar. That feels sobering, but it is squarely normal: benchmarks consistently put the average small-business net margin between 7% and 10%, with wide industry spreads. Capital-intensive trades and food businesses often run 2–6%; professional services and agencies more often land at 10–20%.
Because net margin includes interest and taxes, it reflects choices the other two margins deliberately ignore — how much debt you carry, your entity type, your state tax burden. That makes it the right number for "how am I doing overall?" and the wrong number for comparing your operations against a competitor's. A rival with no debt will always show a better net margin than an identical business still paying off equipment loans, even if both are run equally well.
Three things move net margin that the upper margins never see:
- Interest. Every point of borrowing cost flows straight to net margin. Refinancing expensive debt or accelerating paydown on high-rate balances is a direct net-margin lever — one reason lenders scrutinize the ratio before extending more credit.
- Taxes. Entity choice, retirement-plan contributions, timing of equipment purchases, and estimated-payment discipline all land here. Tax planning is margin planning.
- Non-operating items. A one-time insurance settlement flatters net margin; a lawsuit settlement crushes it. When either appears, note it explicitly — otherwise you will compare a noisy year against a clean one and draw the wrong conclusion.
Reading All Three Together: The Diagnostic Patterns
A single margin is a data point. All three together are a diagnosis. Compare your staircase against these common patterns:
- High gross margin, low operating margin. Your pricing and direct costs are fine; overhead is eating the business. This is the bloated-cost signature — too much rent, staff, or marketing for the sales base. Cut operating expense, not price.
- Low gross margin, decent operating margin. You run a tight ship on top of a bad deal. Overhead is already lean, so cost-cutting has little left to give. The fix is upstream: raise prices, renegotiate supply costs, or drop low-margin offerings.
- Healthy operating margin, weak net margin. Operations are sound but interest or taxes devour the result. Look at your debt stack and your tax posture before touching anything about how the business runs day to day.
- All three declining together. This is structural, not categorical — usually falling prices, rising input costs, or both. Treat it as a strategy problem (positioning, pricing power, supplier dependence), not a line-item problem.
- Margins fine but cash still short. Margins measure profit, not cash. If the ratios look healthy and the bank account disagrees, the money is trapped somewhere margins cannot see: unpaid invoices, overstocked inventory, or debt principal repayments (which reduce cash but never appear as an expense). That is a working-capital problem wearing a profitability costume.
Run this comparison monthly, not annually. Twelve data points reveal a trend; one reveals a surprise. Plot each margin as a line over the trailing twelve months and the story usually draws itself.
Three Mistakes That Make Your Margins Lie
Margins are only as honest as the bookkeeping beneath them. Three errors corrupt them more than all others combined:
1. Confusing markup with margin. Buy for $70, sell for $100, and the markup on cost is about 43% — but the margin on price is 30%. Margin is always measured on the selling price; markup on the cost. Businesses that price by markup while thinking in margin systematically underprice: a "30% markup" is only a 23% margin, and the gap compounds across every sale. Pick one vocabulary, convert deliberately, and make sure everyone quoting prices knows which one the business uses.
2. Misclassifying COGS and operating expenses. Put production labor in operating expenses and your gross margin looks better than it is — until you price a job off that fiction and lose money on every unit. Stuff marketing or admin salaries into COGS and gross margin looks worse than reality, tempting you to raise prices you did not need to raise. The rule is simple: if the cost exists only because you made or delivered this sale, it is COGS; if you would pay it with zero sales this month, it is operating expense. Apply that boundary the same way every month, or your trend lines measure your inconsistency instead of your business.
3. Letting one-time items and owner quirks pollute the trend. The insurance payout, the bad-debt write-off, the owner's skipped paycheck in a tight month — each distorts one period and breaks every comparison across it. Record unusual items on separate lines so you can read margins both ways: GAAP-clean for the tax return, and adjusted for management decisions. An owner who takes irregular draws should also impute a market salary when judging operating margin; otherwise the business looks more profitable than any buyer would find it.
Track Them Monthly With Books You Can Trust
None of this works without consistent books. Margins computed from a shoebox of receipts in April tell you what happened last year, when it is far too late to act. Margins computed monthly from a clean, consistently classified ledger tell you what is happening now, while every lever — price, mix, suppliers, overhead — is still in your hands.
That consistency is mostly a matter of structure: a chart of accounts that separates COGS from operating expenses cleanly, bank and card feeds reconciled every month so no cost lands in the wrong period, and the discipline to classify the same expense the same way every time. Plain-text accounting makes that structure transparent — every transaction is a readable line in a version-controlled file, so a misclassified expense is easy to spot and its history is never a mystery. If you want to see what that workflow looks like in practice, the documentation at beancount.io/docs/ walks through the fundamentals.
Set a monthly rhythm: close the books, compute the three margins, compare each against last month and the same month last year, and write down in one sentence what moved and why. That single habit turns three dry ratios into an early-warning system for pricing drift, cost creep, and overhead bloat — the three slow leaks that sink more small businesses than any single catastrophe.
Simplify Your Financial Management
As you track margins month after month, maintaining clear financial records is what makes the numbers trustworthy enough to act on. Beancount.io provides plain-text accounting that gives you complete transparency and control over your financial data — no black boxes, no vendor lock-in. Get started for free and see why developers and finance professionals are switching to plain-text accounting.





