... LIVE
Total sales / net revenue Enter total revenue.
Direct production / acquisition costs Enter COGS.

↓ Optional: add operating expenses for full margin breakdown

Salaries, rent, marketing (not in COGS)
Corporate tax rate for net income
Gross Profit Margin
💡
⚠️ Disclaimer: Results are for estimation purposes. Consult a financial advisor or accountant for business financial decisions.
Sources & Methodology
🛡️Profit margin formulas per Corporate Finance Institute (CFI) and GAAP accounting standards.
📊
Corporate Finance Institute (CFI) — Gross Profit Margin
Industry-standard formulas for gross, operating, and net profit margins. corporatefinanceinstitute.com
🏛️
Generally Accepted Accounting Principles (GAAP)
Standard accounting treatment for revenue, COGS, and operating expense classification.
📖
NYU Stern — Industry Profit Margin Database
Annual gross and net margin data by industry sector. pages.stern.nyu.edu
Gross Profit = Revenue - COGS
Gross Margin % = Gross Profit / Revenue x 100
Operating Income = Gross Profit - Operating Expenses
Operating Margin % = Operating Income / Revenue x 100
Net Income = Operating Income x (1 - Tax Rate / 100)
Net Margin % = Net Income / Revenue x 100
Gross Margin = (Revenue - COGS) / Revenue x 100
Example: Revenue $500,000, COGS $300,000.
Gross Profit = $200,000. Gross Margin = $200,000 / $500,000 x 100 = 40%.
With $100,000 opex: Operating Income = $100,000. Operating Margin = 20%.

Last reviewed: April 2026

How Is Gross Profit Margin Calculated?

Gross profit margin measures how efficiently a company produces or acquires the goods it sells. The formula is simple: subtract COGS from revenue, then divide by revenue and multiply by 100. A 40% gross margin means that for every $1 in revenue, $0.40 remains after covering direct production costs — this $0.40 must cover operating expenses, interest, taxes, and profit.

The difference between gross and net margin is the impact of operating expenses. Gross margin only subtracts COGS. Operating margin subtracts COGS and operating expenses (SG&A, R&D, marketing). Net margin subtracts everything including interest and taxes.

Gross Profit Margin by Industry (2026)

IndustryGross MarginOperating MarginNet Margin
SaaS / Software65-80%10-25%8-20%
Financial Services50-70%20-35%15-25%
Healthcare Services40-60%10-20%5-15%
Manufacturing25-45%8-15%5-10%
Retail (general)25-40%4-10%2-6%
Grocery / Food retail20-30%2-5%1-3%
Restaurant55-70%3-9%2-6%
Construction15-25%3-8%2-5%

Gross Margin vs Markup — Not the Same

A common confusion: gross margin and markup are related but different. Gross margin uses revenue as the denominator (profit / revenue). Markup uses cost as the denominator (profit / cost). A 40% gross margin equals a 66.7% markup. A 50% markup equals a 33.3% gross margin. Always specify which you mean in financial discussions.

💡 The Gross Margin Rule: Your gross margin must exceed your operating expense ratio for your business to be profitable. If gross margin is 40% but operating expenses consume 45% of revenue, the business loses money despite positive gross profit. Use gross margin as a floor, not a ceiling.

How to Improve Gross Profit Margin

Frequently Asked Questions

Gross profit margin = (Revenue - COGS) / Revenue x 100. It shows what percentage of revenue remains after covering direct production costs. A 40% margin means $0.40 of every $1 in sales is gross profit.
It depends heavily on industry. SaaS: 65-80%. Manufacturing: 25-45%. Retail: 25-40%. Grocery: 20-30%. Always compare to your specific industry benchmark rather than a universal number.
Gross profit = Revenue minus COGS only. Net profit = Revenue minus ALL expenses (COGS + operating expenses + interest + taxes). Gross margin shows production efficiency. Net margin shows total business profitability.
Gross Margin = (Revenue - COGS) / Revenue x 100. Example: Revenue $500K, COGS $300K. Gross Profit = $200K. Gross Margin = $200K / $500K x 100 = 40%.
Cost of Goods Sold includes direct costs to produce or acquire what you sell: raw materials, direct labor, and direct manufacturing overhead. It excludes marketing, rent, admin salaries, and other indirect costs.
Operating margin = (Revenue - COGS - Operating Expenses) / Revenue x 100. It adds overhead costs (rent, salaries, marketing) on top of COGS. Excludes interest and taxes. Measures operational efficiency.
Gross margin uses revenue as the base: Margin = Profit / Revenue. Markup uses cost as the base: Markup = Profit / Cost. A 40% margin = 66.7% markup. A 50% markup = 33.3% margin.
Your gross margin must exceed your total operating expense ratio. If operating expenses are 30% of revenue, you need 30%+ gross margin just to break even. For profit, gross margin must exceed all expenses as a percentage of revenue.
Raise prices (highest impact), reduce COGS by renegotiating suppliers or reducing waste, shift product mix toward higher-margin items, improve production efficiency, and reduce returns/defects.
SaaS and tech investors typically want 60%+ gross margin to fund growth. E-commerce startups: 20-40% is acceptable. Service businesses: 50-70%. Gross margin signals the unit economics and scalability potential of the business model.
Related Calculators
Popular Calculators
🧮

Missing a Finance Calculator?

Can’t find the finance calculator you need? Tell us — we build new ones every week.