Updated March 29, 2026

Gross Margin

Gross margin is the percentage of revenue remaining after subtracting cost of goods sold (COGS). Formula: (Revenue - COGS) / Revenue x 100. Higher is better.

Key Takeaways

  • Gross margin measures what percentage of each revenue dollar survives direct production costs.
  • The formula is (Revenue - COGS) / Revenue x 100. A company with $1M revenue and $350K COGS has a 65% gross margin.
  • Benchmarks vary widely: SaaS runs 70-85%, e-commerce 40-60%, manufacturing 25-35%.
  • Gross margin and markup are not the same. A 50% margin equals a 100% markup.
  • Track it monthly. A declining trend signals pricing pressure or rising input costs before they hit the bottom line.

What Is Gross Margin?

Gross margin is the percentage of revenue that remains after subtracting the cost of goods sold (COGS). It tells you how much of each dollar you keep at the production level, before paying for operating expenses like rent, marketing, and administrative salaries.

The formula: Gross Margin = ((Revenue - COGS) / Revenue) x 100

COGS covers direct costs tied to producing your product or delivering your service. For a manufacturer, that means raw materials, factory labor, and production overhead. For a SaaS company, it includes hosting costs, customer support staff, and third-party software fees baked into the product.

A consulting firm that bills $800,000 in a quarter and pays $320,000 in consultant salaries and contractor fees has a gross margin of 60%. That $480,000 remaining covers office space, sales team compensation, software tools, and profit.

Gross Margin Benchmarks by Industry

Gross margins differ by industry because business models carry different cost structures. A software company has near-zero marginal cost per user. A manufacturer pays for raw materials on every unit shipped. Use this table to benchmark against your industry, not a universal average.

Industry Typical Gross Margin Key Driver
Software / SaaS70-85%Near-zero marginal cost per user
Consulting / Professional Services50-70%Utilization rate of billable staff
E-commerce (private label)40-60%Product sourcing and fulfillment costs
Retail (general)20-50%Category mix (grocery 20-30%, apparel 45-55%)
Manufacturing25-35%Raw materials and direct labor
Restaurants55-68%Food cost target of 28-35% of revenue
Construction15-25%Materials and subcontractor costs
Distribution / Wholesale15-30%Low margin, high volume model

Source: NYU Stern (Damodaran), compiled from public company filings. Private company margins may differ.

Why Gross Margin Matters

Pricing health. Gross margin reveals whether you price your product high enough relative to what it costs to produce. A shrinking margin over time means either your costs are rising or your pricing power is eroding. Both are problems you want to catch early.

Scalability signal. Businesses with high gross margins can grow revenue without growing costs at the same rate. A SaaS company at 78% gross margin can add 1,000 customers without doubling its infrastructure budget. A distributor at 18% gross margin needs massive volume increases to move the needle on profit.

Investor and lender metric. Gross margin is one of the first numbers investors check because it frames how much room a business has to cover operating expenses and still produce a return. A Series A SaaS company at 75% gross margin with an expanding trend gets a different conversation than one at 55% and flat.

It also acts as an early warning system. If gross margin drops two quarters in a row, something changed in your cost structure or competitive positioning. Catching it at the gross margin level gives you time to adjust before it impacts net income.

How to Improve Gross Margin

There are two levers: increase revenue per unit or decrease cost per unit. Most businesses have more room on the cost side than they realize.

1. Renegotiate supplier contracts. Request volume discounts, early payment terms, or annual rebates. A 3-5% reduction in materials cost drops directly to gross profit with no change to revenue.

2. Raise prices on new customers first. Test a 5-10% price increase on new sales before rolling it across the base. Many businesses underprice because they anchor to competitors instead of the value they deliver.

3. Reduce waste and defects. In manufacturing and food service, waste inflates COGS without producing revenue. Track waste as a percentage of materials purchased and set monthly reduction targets.

4. Shift your product mix toward higher-margin lines. Calculate gross margin by product or service line. If your consulting arm runs at 65% and your resale business runs at 22%, shifting sales emphasis toward consulting improves blended margin without changing prices.

5. Automate production steps. Replacing manual processes with automation cuts direct labor cost per unit. The capital investment sits on the balance sheet as a depreciable asset, not in COGS, so gross margin improves immediately.

This content is for informational purposes only and does not constitute financial advice. Actual results depend on your specific business circumstances, industry, and market conditions. Consult a qualified financial advisor or accountant before making financial decisions.


Related Calculators

Frequently Asked Questions

What is the difference between gross margin and net margin?

Gross margin subtracts only cost of goods sold (COGS) from revenue. Net margin subtracts all expenses: COGS, operating costs, taxes, interest, and overhead. A retailer with a 40% gross margin might have a 5% net margin after paying for rent, staff, and marketing. Gross margin shows production efficiency. Net margin shows overall profitability.

What is a good gross margin?

It depends entirely on your industry. SaaS companies target 70-85% because marginal costs are near zero. Retailers operate at 20-50% because they pay for physical inventory. Manufacturers sit at 25-35%. Compare your margin to your specific industry, not a universal number. A 30% margin is strong for a distributor but weak for a software company.

How is gross margin different from markup?

Gross margin divides profit by revenue (selling price). Markup divides profit by cost. A product that costs $40 and sells for $100 has a 60% gross margin but a 150% markup. Margin is always a lower number than markup for the same transaction because it uses the larger denominator. The conversion formula: Margin = Markup / (1 + Markup).

What costs are included in COGS?

COGS includes direct costs tied to producing your product or delivering your service: raw materials, direct labor (factory workers, not office staff), manufacturing overhead, freight to warehouse, and packaging. It does not include sales commissions, office rent, marketing spend, or executive salaries. Those are operating expenses that affect net margin, not gross margin.

Can gross margin be negative?

Yes. Negative gross margin means COGS exceeds revenue, so you lose money on every sale before any operating expenses. This sometimes happens during aggressive growth phases when companies sell below cost to gain market share, or when input costs spike unexpectedly. It is not sustainable. A business with negative gross margin cannot reach profitability by increasing volume alone.

How do I calculate gross margin from a markup percentage?

Use the formula: Gross Margin = Markup / (1 + Markup). A 100% markup gives a 50% gross margin. A 50% markup gives a 33.3% gross margin. A 25% markup gives a 20% gross margin. The two metrics measure the same profit from different reference points.

How often should I track gross margin?

Monthly at minimum. Review it quarterly against industry benchmarks and your own 12-month trend line. Sudden drops often point to supplier price increases, production inefficiencies, or competitive pricing pressure. Seasonal businesses should compare year-over-year rather than month-over-month to avoid misleading conclusions.