Guide

What is a good gross margin?

The first ratio to check on any profit and loss statement: how much of each sale is left after the direct cost of making it.

Short answer

A good gross margin is one at or above what comparable businesses in your industry earn, because the right level depends almost entirely on what you sell. Across US corporations in tax year 2023, gross margin was 28.2% in retail, 28.2% in construction, 29.4% in manufacturing and 18.3% in wholesale, according to IRS data. Gross margin is revenue minus the direct cost of what you sold, divided by revenue.

01

The formula

Gross margin = (revenue − direct costs) ÷ revenue × 100

Direct costs, often called cost of goods sold, are the costs that rise and fall with each sale: materials, goods bought for resale, subcontractors, and the labor of the people who make or deliver the product or service. Rent, office staff, marketing and software are not direct costs; they are operating expenses, which come after gross profit.

02

A worked example

The figures below are illustrative.

One month, illustrative figures
Revenue
$250,000
Materials
−$95,000
Direct labor
−$45,000
Subcontractors
−$15,000
Gross profit
$95,000
Gross margin
38%

$95,000 ÷ $250,000 = 38%. For every dollar of sales, 38 cents is left to pay for overhead and profit.

03

Gross margin is not markup

Markup is profit as a share of cost; margin is profit as a share of the price. A product that costs $60 and sells for $100 has a 40% gross margin but a 67% markup.

Markup = gross margin ÷ (1 − gross margin)

Confusing the two is a common pricing mistake: adding a 40% markup to cost gives a gross margin of only 28.6%.

04

What is typical by industry

Gross margin is most comparable in industries that sell goods or pass through materials, because their tax returns record those costs the same way a management P&L does. Figures for every active US corporation and for S corporations, tax year 2023:

All active corporations, tax year 2023
IndustryGross marginNet marginSalaries and wagesOfficer payReturns
Retail trade28.2%4.7%9.7%0.6%563,001
Wholesale trade18.3%5.1%5.1%0.7%376,526
Manufacturing29.4%13.9%6.6%0.6%237,193
Construction28.2%6.4%6.4%2.2%844,438
Construction of buildings18.6%5.7%4.2%1.5%269,456
Other specialty trade contractors36.4%7.5%8.0%3.0%379,071
Restaurants and bars (food services and drinking places)59.1%6.7%21.4%2.3%316,657
Automotive repair and maintenance52.0%5.1%14.3%4.6%124,231

S corporations, which are smaller and privately owned, reported gross margins of 22.2% in retail, 22.6% in wholesale, 34.0% in manufacturing and 37.3% for specialty trade contractors.

For service businesses such as law firms, accounting firms and medical and dental practices, tax-return gross margins run near 90% or more, because staff pay is reported as wages rather than cost of goods sold. If your books treat billable staff as direct labor, as Openfolio does, your gross margin will be much lower, and the labor cost ratio is the better comparison. More detail is on the profit margin by industry page.

05

What moves gross margin

  • Price. A small price rise goes straight to gross profit. A 3% increase on a 38% margin business lifts the margin to about 39.8%.
  • Supplier costs. Materials and goods for resale are usually the largest direct cost.
  • Mix. Selling more of a high-margin product or service raises the overall margin even with no price change.
  • Labor productivity. Rework, overtime and idle time all land in direct labor.
  • Discounts and returns. They reduce revenue but not costs.
  • Where costs are recorded. Moving an account between direct costs and overhead changes gross margin without changing profit. Check categorization before comparing with anyone.
06

So what is good for you?

  1. Find the figure for your industry, ideally from businesses of your size and accounting basis.
  2. Check that your direct costs are defined the same way: materials, subcontractors and direct labor in, overhead out.
  3. Look at the trend over twelve months, not one month.
  4. If you are below the middle of the range, check price, supplier cost and mix before cutting overhead.

Sources

Published October 29, 2026. General information, not accounting, tax or financial advice.

Questions

Common questions.

Is a 50% gross margin good?

It depends on the industry. For a retailer or distributor it would be high; for a software or professional services business it can be low. Compare with businesses that sell the same kind of thing.

What is the difference between gross margin and net margin?

Gross margin subtracts only direct costs. Net margin subtracts every cost, including overhead, interest and taxes, so it is always lower.

Can gross margin be negative?

Yes, when direct costs exceed revenue, for example on a loss-making contract or when stock is sold below cost.

Does gross margin include labor?

It should include direct labor, the people who make or deliver what you sell. It should not include office or management staff.

See where your margins stand.

Connect QuickBooks Online or Xero, or upload a CSV, and see your five ratios for last month. Free to start.