iqraaPostsStyle6/recent/3/{"cat": false}

How to Calculate Gross Profit: Formula & Examples

Author: Suhaib AhmadPublished Date: Last Update: Reading Time:
Word Count:
words
Comments Count: 0 Comments
About the article: Learn how to calculate gross profit using revenue and COGS, with step-by-step examples, common mistakes, and comparisons with gross margin and net pro

Gross profit shows how much revenue remains after subtracting the direct cost of the goods or services sold. It is one of the first figures to review when you want to understand pricing, direct costs, and basic business performance.

The basic formula is Gross Profit = Revenue − Cost of Goods Sold (COGS). For businesses that report sales returns or allowances, the calculation often starts with net sales rather than unadjusted gross sales.

The math is simple. The harder part is choosing the correct revenue figure and deciding which costs belong in COGS. In this guide, you will learn how to calculate gross profit step by step, what goes into the formula, how to interpret the result, and how gross profit differs from gross margin and net profit.

Quick Answer

Gross Profit = Revenue − Cost of Goods Sold (COGS)

To calculate gross profit:

  1. Determine revenue or net sales for the period.
  2. Determine COGS for the same period.
  3. Subtract COGS from revenue.

Example: If net sales are $100,000 and COGS is $60,000, gross profit is $40,000.

What Is Gross Profit?

Gross profit is the amount of revenue left after a business subtracts the direct cost of the goods or services it sold. It measures profitability before operating expenses and other items that appear later on the income statement.

Example:
Net sales = $80,000
COGS = $50,000

Gross Profit = $80,000 − $50,000 = $30,000

The business has $30,000 remaining at the gross-profit level to help cover operating expenses and other costs. That does not mean the company earned $30,000 of net profit.

Why Gross Profit Matters

Gross profit helps you evaluate the basic economics of selling a product or service. Changes in gross profit can point to changes in selling prices, supplier costs, production efficiency, direct labor costs, product mix, or sales returns.

A business can have positive gross profit and still report a net loss if later expenses are too high. Gross profit is therefore an important starting point rather than a complete measure of profitability.

“I could tell you that our gross profit margin was declining, but I couldn’t tell you why.”

— Brittany Brown, CPA, founder and CEO of LedgerGurus

Her experience highlights an important point: when gross profit changes, the useful question is not only what changed, but why it changed. Read Brittany Brown's discussion of business metrics .

Where Gross Profit Appears on the Income Statement

Gross profit normally appears near the top of a multi-step income statement .

Revenue or Net Sales
− Cost of Goods Sold
= Gross Profit
− Operating Expenses
= Operating Income

Other items may appear below operating income before the company reaches net income. Understanding this sequence also makes it easier to read other financial statements in context.

Real-World Financial Statement Example

For the quarter ended July 26, 2026, NVIDIA reported $96.221 billion in revenue and $24.079 billion in cost of revenue. Its reported gross profit was $72.142 billion.

$96.221B − $24.079B = $72.142B Gross Profit

NVIDIA reported operating expenses below gross profit, illustrating why operating expenses are not part of the basic gross profit calculation. See NVIDIA's Form 10-Q filing with the SEC .

Gross profit position on an income statement after revenue and COGS
Gross profit appears after revenue and COGS and before operating expenses.

What Is the Gross Profit Formula?

The gross profit formula is Gross Profit = Revenue − Cost of Goods Sold (COGS).

Gross Profit = Revenue − COGS

Suppose a company reports $200,000 in revenue and $125,000 in COGS. Gross profit is:

$200,000 − $125,000 = $75,000

The arithmetic is straightforward. The accounting question is whether the revenue and COGS figures were identified correctly.

What Does Revenue Mean in the Formula?

Revenue is the amount earned from a company's ordinary sales activities. Depending on the business and financial statement presentation, you may see terms such as revenue, sales revenue, net revenue, or net sales.

For a retailer or product business, returns and allowances can reduce the amount earned from sales. Using unadjusted gross sales in that situation can overstate the figure used in the calculation.

Gross Sales − Returns and Allowances = Net Sales

What Does COGS Mean in the Formula?

Cost of goods sold represents the cost assigned to goods actually sold during the accounting period. For a retailer, it often includes the cost of inventory purchased for resale and qualifying acquisition costs.

Manufacturers may include direct materials, direct production labor, and appropriate manufacturing overhead. Service businesses may use terms such as cost of services or cost of revenue.

COGS is not simply every expense a company pays. General advertising, office administration, interest, and many other costs normally appear elsewhere.

Gross profit formula showing revenue minus COGS equals gross profit

Revenue vs. Net Sales: Which Number Should You Use?

When returns and allowances reduce the amount earned from customers, use the appropriate net sales or net receipts figure rather than ignoring those reductions.

For U.S. federal tax reporting, IRS Publication 334 illustrates the sequence by subtracting returns and allowances from gross receipts to determine net receipts, then subtracting COGS to determine gross profit.

Accounting note: IRS Publication 334 addresses U.S. federal tax reporting. Tax guidance should not be treated as a substitute for financial-reporting requirements that apply to a particular business.

Gross Sales

Gross sales represent sales before reductions such as customer returns and allowances.

Suppose a retailer records $125,000 in gross sales, along with $3,000 of returns and $2,000 of allowances.

Returns and Allowances

A sales return occurs when a customer returns a product and the related sale is reversed or refunded. A sales allowance reduces the amount a customer must pay without necessarily requiring a full return.

Sales returns = $3,000
Sales allowances = $2,000

Total reductions = $5,000

Net Sales

$125,000 − $5,000 = $120,000 Net Sales

If COGS is $72,000, gross profit becomes:

$120,000 − $72,000 = $48,000 Gross Profit

Ignoring the $5,000 reduction would overstate both net sales and gross profit.

What Is Included in COGS?

COGS generally includes costs assigned to acquiring or producing the goods sold during the accounting period. General selling and administrative expenses are normally accounted for separately.

Often Associated With COGS Usually Outside COGS
Inventory purchased for resale Advertising and marketing
Direct materials General office expenses
Direct production labor, when applicable Administrative salaries
Appropriate manufacturing overhead Interest expense
Qualifying inventory acquisition costs Income taxes
Other costs properly assigned to inventory General selling expenses

The exact treatment depends on the nature of the business, its accounting method, and the applicable accounting or tax rules.

COGS for Product Businesses

Product businesses generally need to match inventory costs with the goods actually sold.

Beginning Inventory + Net Purchases and Related Costs − Ending Inventory = COGS
Beginning inventory = $20,000
Qualifying inventory costs = $85,000
Ending inventory = $25,000

$20,000 + $85,000 − $25,000 = $80,000 COGS

Real inventory accounting can involve additional rules, cost-flow methods, adjustments, and judgments.

COGS for Service Businesses

Service businesses require different treatment because they do not all have traditional inventory. Some companies report direct service-delivery costs as cost of services or cost of revenue.

For U.S. Schedule C tax purposes, IRS Publication 334 explains that a personal service business generally does not need to calculate COGS when merchandise is not an income-producing factor.

Tax treatment and financial-statement presentation are not always identical, so a service business should not automatically copy the COGS structure of a retailer or manufacturer.

Examples of costs usually included and excluded from COGS

How to Calculate Gross Profit Step by Step

To calculate gross profit, determine the correct revenue or net sales amount, determine COGS for the same period, and subtract COGS from revenue.

Step 1: Determine Revenue or Net Sales

Choose the accounting period you want to analyze, such as a month, quarter, or year. Then identify the sales revenue that belongs to that period.

Gross sales = $52,000
Returns and allowances = $2,000

Net Sales = $50,000

If you calculate gross profit for March, both revenue and COGS should relate to March. This relationship also connects with the matching principle in accounting .

Step 2: Calculate COGS for the Same Period

Next, determine the cost assigned to goods sold during that same period. Suppose COGS is $31,000.

Verify that general operating expenses have not been incorrectly classified as COGS. Inventory sold may belong in COGS, while general advertising normally does not.

Step 3: Subtract COGS From Revenue

$50,000 − $31,000 = $19,000 Gross Profit

Gross profit is $19,000. Operating expenses and other applicable items still need to be considered before reaching net profit.

Quick check: Always use revenue and COGS from the same accounting period.

Gross Profit Calculation Example

If a business has $120,000 in net sales and $72,000 in COGS, its gross profit is $48,000.

Assume a small U.S. retailer reports:

Gross sales: $125,000
Sales returns: $3,000
Sales allowances: $2,000
COGS: $72,000

Step 1: Calculate Net Sales

$125,000 − $3,000 − $2,000 = $120,000 Net Sales

Step 2: Determine COGS

Assume the accounting records show $72,000 of cost assigned to the goods sold during the year.

Step 3: Calculate Gross Profit

$120,000 − $72,000 = $48,000 Gross Profit

Step 4: Interpret the Result

The $48,000 represents the amount remaining from net sales after covering COGS. It does not mean the owner personally earned $48,000.

If all remaining expenses and applicable items totaled $33,000 in this simplified example, $15,000 would remain:

$48,000 − $33,000 = $15,000

This simplified comparison shows why gross profit and final net profit are different measures.

Gross profit calculation example using net sales of $120,000 and COGS of $72,000

Once you understand the formula, you can check your numbers with our Gross Profit Calculator .

What Does Your Gross Profit Result Mean?

Positive gross profit means revenue exceeds COGS. Zero gross profit means the two amounts are equal. Negative gross profit means COGS exceeds revenue.

Positive Gross Profit

Revenue = $90,000
COGS = $55,000

Gross Profit = $35,000

The business generated enough revenue to cover COGS and had $35,000 remaining at the gross-profit level. This does not guarantee final profitability.

Zero Gross Profit

Revenue = $60,000
COGS = $60,000

Gross Profit = $0

Nothing remains at the gross-profit level to help cover operating expenses. A zero result generally deserves investigation.

Negative Gross Profit

Revenue = $50,000
COGS = $58,000

Gross Profit = −$8,000

This means the cost assigned to the goods sold exceeded the related revenue. Possible causes may include low selling prices, rising input costs, heavy discounting, production inefficiencies, inventory problems, or cost-classification errors.

Gross Profit vs. Gross Profit Margin

Gross profit is a dollar amount. Gross profit margin expresses gross profit as a percentage of revenue.

Metric Formula Expressed As
Gross Profit Revenue − COGS Dollar amount
Gross Profit Margin Gross Profit ÷ Revenue × 100 Percentage

Using our earlier example:

Net sales = $120,000
COGS = $72,000
Gross profit = $48,000

$48,000 ÷ $120,000 × 100 = 40%

Gross profit tells you how many dollars remain after COGS. Gross margin makes performance easier to compare across periods or businesses of different sizes.

You can also explore related financial ratio calculators when you want to analyze profitability as a percentage.

Is 40% a Good Gross Margin?

There is no universal percentage that is good for every business. Industry economics can produce very different normal ranges.

For example, NYU Stern's January 2026 U.S. sector data reported an aggregate gross margin of about 10.41% for Auto & Truck companies and 56.88% for Apparel companies.

Those sector averages are not mandatory targets for individual businesses. A useful comparison considers industry, business model, historical margins, product mix, pricing, and cost structure.

Gross Profit vs. Net Profit

Gross profit subtracts COGS from revenue. Net profit reflects additional expenses and other applicable items farther down the income statement.

Factor Gross Profit Net Profit
Starting point Revenue or net sales Revenue or net sales
Main deductions COGS COGS plus later expenses and applicable items
Position Near the top of a multi-step income statement Near the bottom of the income statement
Main use Evaluate sales and direct costs Evaluate overall profitability
Revenue = $120,000
COGS = $72,000
Gross Profit = $48,000
Remaining expenses and items = $33,000

Simplified Net Profit = $15,000

A business can therefore report strong gross profit and still produce weak or negative net profit.

Gross profit vs gross profit margin vs net profit comparison

Common Gross Profit Calculation Mistakes

The most common gross profit mistakes involve using the wrong sales figure, misclassifying costs, mixing accounting periods, or confusing gross profit with other profitability measures.

  1. Using unadjusted gross sales when returns and allowances should reduce sales. This can overstate revenue and gross profit.
  2. Treating general operating expenses as COGS. Advertising and general administration normally belong elsewhere.
  3. Mixing accounting periods. Monthly revenue should not be compared with annual COGS.
  4. Confusing gross profit with gross margin. Gross profit is an amount; gross margin is a percentage.
  5. Confusing gross profit with net profit. Net profit includes additional items after gross profit.
  6. Assuming all labor costs receive the same treatment. Direct production labor and administrative payroll may be classified differently.
  7. Comparing gross-profit dollars without considering business size. Larger businesses naturally may report larger dollar amounts.
  8. Assuming positive gross profit guarantees final profitability. Later expenses can still create a net loss.

Calculate Your Gross Profit Instantly

If you already know your revenue and COGS, calculate your result instantly with the free Accountant Compass Gross Profit Calculator.

The calculator gives you the result quickly. This guide helps you understand which numbers to use and what that result means.

Use the Gross Profit Calculator

Frequently Asked Questions About Gross Profit

What is the formula for gross profit?

The gross profit formula is Revenue − Cost of Goods Sold (COGS). If a business has $100,000 in revenue and $65,000 in COGS, gross profit is $35,000. When returns or allowances reduce sales, use the appropriate net sales figure.

How do you calculate gross profit from revenue and COGS?

Subtract COGS from revenue for the same accounting period. For example, $75,000 in revenue minus $45,000 in COGS equals $30,000 in gross profit. Do not subtract general operating expenses as part of this calculation.

Can gross profit be negative?

Yes. Gross profit becomes negative when COGS exceeds revenue. For example, $40,000 in revenue minus $46,000 in COGS creates a $6,000 gross loss. Possible causes include pricing problems, rising direct costs, discounting, inefficiencies, or classification errors.

What does zero gross profit mean?

Zero gross profit means revenue equals COGS. If revenue is $50,000 and COGS is also $50,000, nothing remains at the gross-profit level to help cover operating expenses.

Does gross profit include operating expenses?

No. Operating expenses are not deducted when calculating gross profit. Gross profit is calculated by subtracting COGS from revenue. General operating costs appear later on the income statement.

Does gross profit include wages?

Some labor costs can affect gross profit, while others do not. Direct production labor may become part of product cost and eventually COGS when appropriate. Administrative payroll normally appears outside COGS.

Is gross profit the same as gross margin?

No. Gross profit is a dollar amount, while gross profit margin is a percentage. If revenue is $100,000 and COGS is $60,000, gross profit is $40,000 and gross profit margin is 40%.

Is gross profit the same as net profit?

No. Gross profit subtracts COGS from revenue. Net profit reflects additional expenses and other applicable items that appear later in the income statement.

Where is gross profit shown on an income statement?

Gross profit normally appears after revenue or net sales and COGS on a multi-step income statement. Operating expenses are shown afterward.

What is a good gross profit?

There is no universal gross profit amount or gross margin that is good for every business. Industry, company size, product mix, pricing, and cost structure all matter. Compare results with the company's history and relevant industry peers.

Conclusion

Gross profit is simple to calculate, but the result is only useful when the underlying numbers are correct.

Gross Profit = Revenue − COGS

Use the appropriate revenue or net sales figure, classify COGS correctly, and make sure both figures cover the same accounting period. Also remember that gross profit is not the same as gross profit margin or net profit.

Used correctly, gross profit can help you understand pricing, direct costs, production efficiency, and changes in business performance.

Explore more accounting calculators , browse the Accounting Calculators Guides , or use the Gross Profit Calculator to calculate your result instantly.

You can also visit Calculators & Tools to explore the complete tool library.

Accounting note: Cost classifications and tax treatment can vary by business and reporting purpose. Use the accounting and tax rules that apply to your specific situation.

Sources & References

You may like these posts

Post a Comment

No comments

4485662549754317880

Bookmarks

Bookmark list is empty... Add your bookmarks now

    Search