Revenue is vanity. Profit is sanity. Cash flow is reality. This old business saying persists because it's true. I've seen startups celebrate hitting seven-figure revenue while hemorrhaging money on every sale. The revenue number means nothing without understanding margins.
Three margins, three stories
Gross margin = (Revenue - Cost of Goods Sold) / Revenue. This tells you how much money you keep from each sale after paying for the thing you sold. A software company with 85% gross margin keeps $85 of every $100 in revenue. A grocery store with 2% gross margin keeps $2.
Operating margin = (Revenue - COGS - Operating Expenses) / Revenue. This adds in the cost of running the business: salaries, rent, marketing, R&D. A company with 85% gross margin and 10% operating margin is spending 75% of revenue on operations.
Net margin = Net Income / Revenue. This is the bottom line after everything: interest, taxes, one-time charges, depreciation. It's what the business actually earned.
Each margin answers a different question. Gross margin asks: is the core product profitable? Operating margin asks: is the business model sustainable? Net margin asks: are the owners making money?
Why margin beats absolute profit
Company A makes $1 million profit on $50 million revenue. Company B makes $500,000 profit on $2 million revenue. Which is doing better?
Company A has a 2% net margin. Company B has a 25% net margin. Company B is dramatically more efficient. A $50 million business running at 2% margin is one bad quarter from losses. A $2 million business at 25% margin has substantial cushion.
This is why investors care about margins, not just growth. Revenue growth at declining margins is a company burning through capital to buy market share. Revenue growth at stable or improving margins is a healthy business scaling.
The margin math for pricing
If your gross margin target is 60%, and a product costs $40 to produce, what price do you need?
Price = Cost / (1 - Margin) = $40 / (1 - 0.60) = $40 / 0.40 = $100.
A common mistake is adding the margin percentage to the cost: $40 * 1.60 = $64. This gives you a 37.5% margin, not 60%. The formula is division, not multiplication.
Another common error: confusing markup with margin. A 100% markup means you charge double the cost. But a 100% markup produces a 50% margin, not 100%. Markup = (Price - Cost) / Cost. Margin = (Price - Cost) / Price. Same numerator, different denominator.
Industry benchmarks
Margins vary wildly by industry. Knowing your industry benchmark tells you whether your margins are competitive:
- SaaS software: 70-85% gross, 15-25% operating
- Consulting services: 50-60% gross, 10-20% operating
- E-commerce: 40-60% gross, 5-10% operating
- Restaurants: 60-70% gross, 3-9% operating
- Grocery retail: 25-30% gross, 1-3% operating
- Manufacturing: 25-35% gross, 5-10% operating
If you're running a SaaS business at 40% gross margin, something is structurally wrong with your cost base. If you're running a restaurant at 15% operating margin, you're doing exceptionally well.
Tracking margins over time
A single margin calculation is a snapshot. The trend tells the real story. Improving margins mean you're gaining efficiency, pricing power, or scale benefits. Declining margins mean costs are growing faster than revenue, or you're cutting prices to maintain volume.
I built a profit margin calculator at zovo.one/free-tools/profit-margin-calculator that computes all three margins, handles the markup-vs-margin conversion, and lets you work backward from a target margin to a required price. It's the quick math check I use whenever I'm evaluating a business model or pricing decision.
I'm Michael Lip. I build free developer tools at zovo.one. 500+ tools, all private, all free.
Top comments (0)