Market
Profitability & Margins Beginner 5 min read Formula guide

Gross Profit and Gross Margin Explained

Gross profit is revenue minus the direct cost of producing or delivering the goods and services sold. Gross margin expresses gross profit as a percentage of.

QUICK ANSWER

Gross profit is revenue minus the direct cost of producing or delivering the goods and services sold. Gross margin expresses gross profit as a percentage of revenue. It helps investors evaluate pricing, product economics, input costs, and production efficiency, but comparisons are meaningful only when companies classify costs consistently and operate in similar industries.

Key Takeaways#

  • Gross profit is an absolute dollar amount, while gross margin is a percentage.
  • Gross margin reflects revenue remaining after cost of revenue.
  • Margin changes can result from price, volume, product mix, input costs, and capacity utilization.
  • Gross margin varies substantially across business models.
  • High gross margin does not guarantee high operating profit or free cash flow.

Metric Snapshot#

Metric
Gross margin
What it measures
Revenue remaining after direct cost of revenue
Formula
Gross profit ÷ revenue
Higher value may indicate
Pricing power, favorable mix, lower direct costs, or efficient production
Lower value may indicate
Price competition, input inflation, weak utilization, or lower-margin mix
Best compared with
Company history and economically similar peers
Main limitation
Cost classification differs across companies and industries
Related metrics
Operating margin, contribution margin, inventory turnover, ROIC
FORMULA
Gross profit ÷ revenue

Gross Profit and Gross Margin Formulas#

Gross Profit = Revenue − Cost of Revenue

Gross Margin = Gross Profit ÷ Revenue

CFA Institute’s financial-ratio guidance defines gross profit margin as gross profit divided by total revenue.

A Simple Example#

Assume a company reports:

  • Revenue: $100 million
  • Cost of revenue: $60 million

Gross profit is:

$100M − $60M = $40M

Gross margin is:

$40M ÷ $100M = 40%

The company retains 40 cents of gross profit from each dollar of revenue before operating expenses, interest, and taxes.

What Is Included in Cost of Revenue?#

The answer depends on the business. A manufacturer may include materials, factory labor, freight, and production depreciation. A retailer may include the purchase cost of merchandise and selected distribution costs. A cloud software company may include hosting infrastructure, customer support, and third-party service costs.

Cost classification is one reason two companies with similar economics can report different gross margins. Investors should read accounting policies and segment disclosures before making precise comparisons.

What Can Increase Gross Margin?#

Gross margin may expand because of:

  • Price increases that exceed cost inflation
  • A shift toward premium or higher-margin products
  • Lower commodity, freight, or component costs
  • Better manufacturing yields
  • Higher capacity utilization
  • Software or service revenue becoming a larger share of sales
  • Reduced discounting or promotional activity

Not every improvement is permanent. A temporary shortage can increase selling prices, while unusually low input costs can support margins that later normalize.

What Can Reduce Gross Margin?#

Gross margin may contract because of:

  • Price competition or heavier discounts
  • Higher raw-material, labor, logistics, or energy costs
  • Lower factory utilization
  • Product launches with initial inefficiencies
  • A shift toward lower-margin products or customers
  • Inventory write-downs
  • Rapid growth in a lower-margin segment

Margin compression can be healthy if a company is entering a large market and expects attractive lifetime economics. It can also indicate weakening competitive advantage. The cause and expected duration matter.

Why Margins Differ Across Industries#

A grocery retailer can create a strong business with a low gross margin because products turn quickly and capital can be recycled efficiently. A software company may report a high gross margin but spend heavily on product development and customer acquisition. A manufacturer may have moderate gross margin and large depreciation or working-capital needs.

This is why gross margin should be compared primarily with:

  • The company’s own historical margin
  • Direct peers with similar accounting policies
  • The economics of the business model
  • Operating margin and asset turnover

Gross Margin vs Operating Margin#

Gross margin stops after direct cost of revenue. Operating margin also includes operating expenses such as research, sales, marketing, and administration.

A company may have a 75 percent gross margin and a negative operating margin if operating expenses are very high. Another company may have a 25 percent gross margin and a strong operating margin because it runs with low overhead and high volume.

Capacity Utilization and the Cycle#

In industries with large fixed production costs, gross margin can rise sharply when factories operate closer to capacity. The reverse can occur when demand falls and fixed costs are spread across fewer units. High margins during a shortage may encourage competitors and existing producers to add capacity. When that capacity arrives, pricing and utilization may weaken.

Investors should therefore avoid projecting peak gross margins indefinitely, especially in semiconductors, commodities, shipping, chemicals, and other cyclical or capital-intensive industries.

Common Mistakes#

⚠️ WATCH OUT

A common mistake is assuming that higher gross margin always means a better company. Margin must be connected with volume, customer retention, operating expense, and capital turnover.

Another mistake is comparing companies without checking whether one includes certain costs in cost of revenue while another reports them in operating expenses. This can distort gross-margin comparisons even when operating economics are similar.

The Quantiverse Perspective#

Q · QUANTIVERSE PERSPECTIVE

Quantiverse treats gross margin as one layer of business economics. We examine its level, direction, stability, industry position, and relationship with operating margin, asset efficiency, and capital investment. Exceptionally high margins can indicate competitive advantage, but they can also signal a favorable cycle that attracts capital and future competition. Sustainable value comes from the interaction of margin, growth, reinvestment, and returns on capital.

See margin trends live in the Quantiverse dashboard →

Frequently Asked Questions#

What is a good gross margin?

There is no universal threshold. A good margin is one that is sustainable, competitive within the industry, and sufficient to support operating expenses and attractive returns.

Can gross margin exceed 100 percent?

Under ordinary presentation, no. Gross profit cannot exceed revenue unless unusual accounting classifications or negative cost items distort the period.

Why does a software company often have a higher gross margin than a retailer?

Software can have low incremental delivery cost, while retailers must purchase physical products. The software company may still spend much more on development and sales below the gross-profit line.

Sources and Methodology#

  1. CFA Institute, “CFA Program Financial Ratio List,” gross profit margin formula: https://www.cfainstitute.org/sites/default/files/-/media/documents/support/programs/cfa/cfa_program_level_ii_financial_ratio_list.pdf
  2. U.S. Securities and Exchange Commission, “Beginners’ Guide to Financial Statements,” income-statement structure and operating margin: https://www.sec.gov/about/reports-publications/beginners-guide-financial-statements
  3. CFA Institute, “Financial Analysis Techniques,” importance of multiple ratios and industry-specific analysis: https://www.cfainstitute.org/insights/professional-learning/refresher-readings/2026/financial-analysis-techniques
  4. CFA Institute, “Key Performance Indicators Survey,” discussion of gross-margin information used by investors: https://www.cfainstitute.org/sites/default/files/-/media/documents/survey/key-performance-indicators-survey.pdf
This content is for educational purposes only and is not investment advice. Read the full disclosure.