Gross profit is the first layer of profitability and the most important one to get right. If the gross profit on a sale doesn't cover the cost of delivering that sale, no amount of scale or cost discipline elsewhere can save the business. Everything downstream of gross profit - operating profit, net profit, cash flow - depends on this number being healthy.

Definition

Gross profit - what's left of your revenue after you subtract the direct cost of producing or delivering whatever you sold. Those direct costs are called Cost of Goods Sold (COGS) - or sometimes Cost of Revenue or Cost of Sales.

Formula
Gross profit = Revenue − Cost of Goods Sold (COGS)

Gross margin = Gross profit ÷ Revenue × 100%
Worked example
A coffee shop sells $40,000 of coffee and pastries in a month. The beans, milk, ingredients, cups, and barista wages for those sales come to $14,000. Gross profit is $40,000 − $14,000 = $26,000. Gross margin is $26,000 ÷ $40,000 = 65%.

What counts as Cost of Goods Sold

The boundary between "direct cost" and "overhead" is what trips most owners up. The rule of thumb: if you stopped selling, this cost would mostly go away. If it would still be there next month, it's overhead, not COGS.

What's in vs out of COGS
In COGS (direct)Out of COGS (overhead)
Product businessRaw materials, freight in, payment processing, direct production labor, packagingRent, owner salary, marketing, software, insurance, accounting
Service businessContractor or staff time billed against the client, project-specific software, travel reimbursed by the clientOffice rent, owner time spent selling or admin, general subscriptions, marketing
Software businessHosting costs per customer, payment processing, customer support attributable to active accounts, third-party API costsEngineering salaries, sales team, office, general overhead

What "good" looks like by industry

Gross margin is almost meaningless in absolute terms; it's meaningful relative to your industry. The same 40% gross margin that's healthy for a retailer would be alarmingly low for a software business. Rough benchmarks:

  • Software / SaaS: 70-85%
  • Professional services (consulting, agencies): 40-60%
  • Manufacturing: 25-50%
  • E-commerce: 30-50%
  • Restaurants: 60-70% on food costs, but net margins are thin
  • Brick-and-mortar retail: 25-40%
  • Grocery: 20-25%

These are ballparks, not targets. The right reference is your own historical trend (am I getting better or worse?) and direct competitors at your scale.

Why gross profit is the most important profit number to watch

Three reasons gross profit deserves a permanent slot on your monthly review:

It's the floor.Operating costs are relatively fixed in the short term - you can't cut your way to profitability if your gross profit is too thin to cover them. A business losing money below the gross profit line has a pricing or a cost-of-production problem, not a marketing or overhead problem.

It's a leading indicator. Gross margin compression usually shows up months before it affects net profit or cash. Watching it trend gives you warning to act while you still have room.

It tells you which growth is good growth.Two clients that look the same in revenue can look very different in gross profit. The one that takes more support time, requires more custom work, or runs at a discount is eating margin you can't see in the top line. Tracking gross profit by customer or product family surfaces these patterns.

Two worked examples

Service business: a five-person agency

  • Monthly revenue: $120,000
  • Direct labor on client work (4 consultants × billable wages): $54,000
  • Project-specific software, travel, contractor expenses: $9,000

COGS = $63,000. Gross profit = $57,000. Gross margin = 47.5%. That's in the healthy range for an agency. If the same agency took on a $40K project at a 25% gross margin, blending the numbers down to 40% overall, the trend would be worth investigating before the next quarter.

Product business: a small e-commerce brand

  • Monthly revenue: $60,000
  • Cost of goods purchased + freight in: $24,000
  • Payment processing (≈3% of revenue): $1,800
  • Shipping out to customers: $4,200

COGS = $30,000. Gross profit = $30,000. Gross margin = 50%. Healthy for direct-to-consumer e-commerce. If freight costs doubled or the brand started discounting heavily, that 50% could compress to 40% fast - and at 40%, after marketing and overhead, the business would be running thin.

Common mistakes business owners make

1. Treating COGS like a fixed bucket

Some COGS components are nearly fixed (a software license that scales with users; a hosting bill). Others are pure variable (cost of materials per unit sold). Mixing them obscures which lever to pull when margins compress. Split them on your bookkeeping if they're material.

2. Forgetting payment processing

2-3% of revenue disappearing to Stripe, Square, or PayPal is a direct cost of sale and belongs in COGS. Owners sometimes record it as overhead - which makes gross margin look better than it is.

3. Quoting gross margin to compare against a competitor's net margin

A common misuse. "Our margins are 60%" compared to a public company's 12% net margin is a different conversation than the speaker thinks they're having. Make sure both numbers are the same metric before drawing conclusions.

4. Letting gross margin compress quietly

Margin rarely collapses in one month. It drifts: input costs tick up 2%, a competitor forces a 3% discount, a new product mix has worse economics, payment processing fees grow with volume. Six months of 1% slips compound into a problem nobody saw coming.