What Is Gross Profit? Formula and How to Calculate It
By Markets & Investing DeskUpdated Nov 10, 2026

Definition
Gross profit is the money a company keeps from net sales after subtracting the cost of goods sold. It is the first profit line on a multi-step income statement.
Key takeaways
- Operating expenses such as office rent, marketing, interest and taxes are deducted after gross profit.
- Without a COGS figure, use opening inventory plus purchases and freight-in, minus closing inventory.
- Gross profit can rise while margin falls, as when $45,000 more profit came with a margin drop from 40% to 35%.
- Markup divides gross profit by cost, so a 50% markup equals a 33.3% gross margin.
Gross profit is the money a company has left from its sales after subtracting the direct costs of producing or buying what it sold. It is calculated as net sales (revenue) minus cost of goods sold (COGS). It is also called sales profit or gross income, and on a multi-step income statement it is the first profit line. Operating expenses such as office rent, marketing, administrative salaries, interest and taxes are not included. They are deducted further down to arrive at operating profit and net income.
The Gross Profit Formula
The basic equation for gross profit is:
Gross profit = Net sales − Cost of goods sold
The two inputs have specific meanings:
- Net sales is total revenue for the period after sales returns, allowances and discounts. It is the “top line” of the income statement, and every profit figure below it is revenue minus some set of costs.
- Cost of goods sold (COGS) is the direct cost of the products sold during the period: materials, direct labor and production overhead for a manufacturer, or the purchase cost of merchandise for a retailer.
Only the cost of goods actually sold in the period counts. Inventory bought or produced but still on the shelf at period end stays on the balance sheet as an asset and is not yet an expense.
How to Calculate Gross Profit
From an income statement (P&L)
Many companies print gross profit as its own line. When they do not, you can work it out:
- Find total revenue or net sales at the top of the income statement. If only gross sales are shown, subtract returns, allowances and discounts.
- Find the line labeled cost of goods sold, cost of sales or cost of revenue.
- Subtract COGS from net sales.
Leave out selling, general and administrative (SG&A) expenses, research and development, interest and income taxes, even if they appear in the same block of costs.
From sales, purchases and inventory balances
When a business, often a small retailer, has records of purchases and stock counts but no COGS figure, COGS can be derived first:
COGS = Opening inventory + Purchases (including freight-in) − Closing inventory
Gross profit is then net sales minus that COGS. Manufacturers use the same logic with cost of goods manufactured in place of purchases: opening finished goods inventory plus cost of goods manufactured, minus closing finished goods inventory, gives COGS.
What usually goes into COGS
For a goods-producing business, COGS can include:
- Raw materials and components
- Direct labor for production workers
- Manufacturing supplies
- Factory utilities
- Depreciation of production equipment
- Rent on the factory or production facility
- Freight and shipping tied to bringing inventory in or to production
Costs that sit outside COGS, and therefore outside gross profit, include administrative salaries, marketing and advertising, office rent, insurance on non-production assets, interest expense and income taxes. The exact split depends on the company’s accounting policies.
Absorption vs. variable costing
The costing method changes gross profit. Under absorption costing, both fixed and variable production costs (for example, factory rent and depreciation along with materials) are assigned to products and flow into COGS. This tends to produce a lower gross profit. Under variable costing, only variable production costs go into COGS and fixed production costs are treated as period expenses, so the gross figure usually comes out higher. External financial statements prepared under US GAAP and IFRS use absorption costing. Variable costing is mainly an internal management tool, and the measure it produces is better described as contribution margin (revenue minus variable costs) than as gross profit.
Example of Gross Profit
The following is a hypothetical furniture retailer for one year.
| Line item | Amount |
|---|---|
| Gross sales | $520,000 |
| Less returns and allowances | ($20,000) |
| Net sales | $500,000 |
| Opening inventory | $60,000 |
| Plus purchases | $310,000 |
| Plus freight-in | $10,000 |
| Less closing inventory | ($80,000) |
| Cost of goods sold | $300,000 |
| Gross profit | $200,000 |
| Selling, general and administrative expenses | ($120,000) |
| Operating profit | $80,000 |
| Interest expense | ($10,000) |
| Income tax expense | ($15,000) |
| Net income | $55,000 |
Gross profit is $500,000 − $300,000 = $200,000. That is the amount available to pay for the showroom staff, advertising, rent, interest and taxes. After those, $55,000 remains as net income.
The gross profit margin is $200,000 ÷ $500,000 × 100 = 40%. In other words, each dollar of net sales leaves 40 cents after covering the cost of the furniture sold.
Gross Profit vs. Gross Profit Margin
Gross profit is a currency amount. Gross profit margin is a percentage:
Gross profit margin = (Revenue − COGS) ÷ Revenue × 100
Margin makes companies of different sizes comparable and shows whether production efficiency is improving. Gross profit in dollars can mislead on its own. Continuing the hypothetical retailer:
- Year 1: net sales $500,000, gross profit $200,000, margin 40%
- Year 2: net sales $700,000, gross profit $245,000, margin 35%
Gross profit grew by $45,000, but each dollar of sales now keeps 5 cents less, perhaps because of discounting or higher supplier prices. Analysts therefore compare both across fiscal quarters and years.
The relationship also works in reverse. If you know total sales and the margin, gross profit = net sales × gross profit margin. A business with $800,000 of sales and a 30% margin has $240,000 of gross profit and $560,000 of COGS.
Margin vs. markup
Markup is often confused with margin. Markup divides gross profit by cost, not by revenue. In the example, markup is $200,000 ÷ $300,000 = 66.7%, while margin is 40%. A retailer that prices goods at “50% markup” earns a 33.3% gross margin, not 50%.
Gross Profit vs. Other Measures
| Measure | How it is calculated | What it shows |
|---|---|---|
| Gross sales | Total sales before returns, allowances and discounts | Sales volume, no costs deducted |
| Net sales (revenue) | Gross sales minus returns, allowances, discounts | The top line used in the gross profit formula |
| Gross profit | Net sales minus COGS | Profit from producing and selling the product |
| Operating profit | Gross profit minus operating expenses | Profit from core operations after overhead |
| Net income | Operating profit minus interest, taxes and other items | The bottom line after all expenses |
Gross profit vs. operating profit
Operating profit, sometimes treated as roughly equivalent to EBIT, subtracts operating expenses such as SG&A and depreciation of non-production assets from gross profit. A company can show healthy gross profit and still lose money at the operating level if its overhead is too large. EBITDA is a different measure again: it adds depreciation and amortization back to earnings.
Gross profit vs. net income
Net income, the “bottom line,” is what remains after every expense, including operating costs, interest and taxes. Gross profit isolates product-level economics: pricing, raw material sourcing, production labor efficiency and manufacturing waste or spoilage. Net income answers whether the whole business, with its management, financing and tax position, is profitable. Working back from net income to gross profit means adding back taxes, interest, other non-operating items and operating expenses, which is only possible when those lines are disclosed separately.
Gross loss
When COGS exceeds net sales, the result is negative and is called a gross loss. The company is losing money on each sale before paying any overhead. This can happen with clearance sales, inventory write-downs that are charged to COGS, or a product launched below its production cost.
Why Gross Profit Is Useful
Because it excludes administrative and financing costs, gross profit shows how the product itself performs. That makes it practical for several decisions:
- Pricing: a falling margin can signal that prices have not kept up with input costs.
- Cost control: management can trace changes to materials, labor or freight within COGS.
- Product mix: comparing gross profit by product line shows which items carry the business.
- Capacity to cover overhead: gross profit is the pool from which all operating expenses, interest and taxes must be paid.
Its two inputs are also among the levers a company can most directly adjust. Revenue responds to price and volume decisions. COGS responds to supplier negotiations, production methods and waste reduction. Many operating costs, such as rent and insurance, are relatively fixed in the short run.
Limitations of Gross Profit
It ignores most costs. A strong gross figure says nothing about whether overhead, debt service or taxes consume it. It is also an accrual accounting figure, not cash; free cash flow shows the cash a business actually generates.
Classification differs between companies. One company may put freight-out or certain depreciation in COGS while another books it under operating expenses. Standardized statements from financial data providers may reclassify items, so the gross profit they display can differ from the company’s own filing. Private companies often use non-standardized statements, so you need to check which costs were included.
Inventory methods shift the result. When purchase prices are rising, FIFO (first in, first out) assigns older, cheaper costs to COGS and reports higher gross profit, while LIFO (last in, first out) assigns newer, costlier ones and reports lower gross profit. LIFO is permitted under US GAAP but not under IFRS.
Service companies are harder to read. Businesses with little physical inventory may have small or no traditional COGS. Many report a “cost of services” or “cost of revenue” line that includes direct labor and delivery costs, but definitions vary. A high gross margin in a service or software company is not directly comparable to a manufacturer’s.
It is a starting point for diagnosis. If gross profit trails a competitor’s by a wide gap, the aggregate figure will not explain why. Each revenue stream and each component of COGS has to be examined.
FAQs
Where does gross profit appear on financial statements?
Gross profit appears on the income statement, directly below revenue and cost of goods sold. Companies that use a single-step income statement may not show it as a line, in which case you subtract COGS from revenue yourself. It does not appear on the balance sheet, although the inventory figures there feed into COGS.
The Bottom Line
Business owners, managers and analysts can use gross profit to judge pricing, input costs and which products carry the business. It covers only product-level economics, so read it alongside margin, operating profit and net income. Before comparing companies, check how each one classifies costs and values inventory, because FIFO, LIFO and different COGS definitions shift the figure.















