How to Calculate Profit Margin: Gross, Operating and Net
The profit margin is the indicator that answers the most fundamental question of any business: "Of every $1.00 I earned, how much profit was left for me?" It is a percentage that reveals operational efficiency, the competitiveness of the business and its financial health.
But there are different types of margin — gross, operating and net — and each one reveals a different layer of business profitability. Confusing these metrics (or using just one of them) can lead to poor pricing, cost-cutting and investment decisions.
Use our Profit Margin Calculator to calculate any scenario.
The Three Types of Profit Margin
1. Gross Profit Margin
Measures profitability before operating and administrative expenses. Compares gross profit (revenue minus cost of products/services sold) with total revenue.
Gross Margin = [(Revenue − Cost of Goods Sold) ÷ Revenue] × 100
2. Operating Profit Margin (EBIT)
It also includes operational expenses (sales, marketing, administrative, management salaries) in addition to the direct cost of the products. Excludes only taxes and financial expenses (interest).
Operating Margin = [EBIT ÷ Revenue] × 100
Where EBIT = Revenue − COGS − Operating Expenses
3. Net Profit Margin
It's the "bottom line" — what's really left after paying everything: costs, operating expenses, taxes on profit and financial expenses (interest on loans).
Net Margin = [Net Profit ÷ Revenue] × 100
Complete Example: Simplified Income Statement for a Company
Company: Clothing store (retail) Gross Monthly Revenue: $ 120,000.00
| Component | Value | % of Revenue |
|---|---|---|
| Gross Revenue | $ 120.000 | 100% |
| (−) Impostos sobre receita (PIS/COFINS/ICMS ≈ 15%) | − $ 18,000 | 15% |
| = Net Revenue | $ 102.000 | 85% |
| (−) Custo dos Produtos Vendidos (custo de compra das roupas) | − $ 54,000 | 45% |
| = Gross Profit | $ 48.000 | 40% |
| (−) Despesas Operacionais (aluguel, salários, marketing) | − $ 32,000 | 26.7% |
| = Operating Profit (EBIT) | $ 16.000 | 13,3% |
| (−) Despesas Financeiras (juros de empréstimo) | − $ 2,400 | 2% |
| = Profit Before Income Tax | $ 13.600 | 11,3% |
| (−) Imposto de Renda + CSLL (≈ 15% Simples) | − $ 4,100 | 3.4% |
| = Net Profit | $ 9,500 | 7.9% |
Results:
- Gross Margin: 40%
- Operating Margin: 13.3%
- Net Margin: 7.9%
Contribution Margin vs. Profit Margin: The Difference
| Concept | What Includes | When to Use |
|---|---|---|
| Contribution Margin | Revenue − Variable Costs | For break-even analysis and pricing |
| Gross Margin | Net Revenue − COGS | To evaluate the profitability of the product/service itself |
| Operating Margin | Profit after operating expenses | To evaluate the efficiency of the operation as a whole |
| Net Margin | Profit After All | To assess the final profitability of the business |
Contribution margin and gross margin look similar, but they have important differences: gross margin uses net income (after income taxes) and considers fixed direct costs of production; the contribution margin uses gross revenue and only considers variable costs.
What Is a Good Profit Margin by Industry?
Each sector has different benchmarks. Comparing your margin to the industry average is more informative than comparing it to an absolute number:
| Sector | Typical Gross Margin | Typical Net Margin |
|---|---|---|
| Software / SaaS | 60-80% | 10-30% |
| Technology (hardware) | 30-50% | 5-20% |
| E-commerce / Online retail | 20-40% | 2-8% |
| Physical retail (clothing, footwear) | 40-60% | 5-10% |
| Supermarket | 20-30% | 1-3% |
| Restaurant / Food Service | 30-45% | 3-9% |
| Service Provision (B2B) | 50-70% | 10-25% |
| Civil construction | 20-30% | 3-8% |
| Manufacturing industry | 25-40% | 4-10% |
| Pharmacies | 25-35% | 3-7% |
How to Improve Profit Margin
Increase Gross Margin
- Negotiate with suppliers: Reduce the cost of purchasing products
- Increase the average ticket: Sell products with greater added value
- Reduce waste: Stock losses, inefficient production
- Pricing strategy: Review pricing — underpriced products destroy margin
Increase Operating Margin
- Automation: Reduce labor costs with tools and technology
- Contract renegotiation: Rental, software, outsourced services
- More efficient marketing: Improve CAC and campaign ROI
- Reduce defaults: Customers who don't pay destroy the operating margin
Increase Net Margin
- Tax management: Choose the correct tax regime (Simple, Presumed Profit, Real Profit)
- Reduce debt: Interest on loans erodes the net margin
- Tax planning: Legal IR deductions that reduce the tax burden
Profit Margin and Markup: Don’t Confuse
Many businesspeople confuse profit margin with markup. There are different metrics:
| Metric | Formula | Example |
|---|---|---|
| Profit Margin | (Profit ÷ Revenue) × 100 | Price $ 100, custo $ 60 → Margin = 40% |
| Markup | (Price ÷ Cost) × 100 | Price $ 100, custo $ 60 → Markup = 166.7% |
The markup is calculated on the cost. The profit margin is calculated on the sales price. Using a 50% markup does not mean a 50% margin — it means a 33.3% margin.
Conversion: Margin = 1 − (1 ÷ Markup) | Markup = 1 ÷ (1 − Margin)
Examples by Business Type
Example A: Freelancer / Service Provider
- Monthly revenue: $ 12.000,00
- Custos diretos (softwares, equipamento, deslocamento): $ 1,200.00
- Taxes (Simple National 6%): $ 720,00
- Despesas fixas mensais (escritório virtual, contador): $ 800.00
| Margin | Calculation | Result |
|---|---|---|
| Gross | (12,000 − 1,200 − 720) ÷ 12,000 | 84% |
| Operational | (12,000 − 1,200 − 720 − 800) ÷ 12,000 | 77.3% |
| Liquid | Same as operational (no additional IR in Simples) | 77.3% |
Example B: Small Restaurant
- Monthly revenue: $ 80.000,00
- Custo de alimentos e bebidas: $ 28,000.00
- Revenue taxes: $ 9.600,00
- Salários + encargos: $ 22,000.00
- Rent + energy + other fixed assets: $ 9.000,00
- Juros de empréstimo: $ 1,200.00
| Margin | Calculation | Result |
|---|---|---|
| Gross | (80,000 − 28,000 − 9,600) ÷ 80,000 | 52.5% |
| Operational | (80,000 − 28,000 − 9,600 − 31,000) ÷ 80,000 | 14.25% |
| Liquid | (80,000 − 28,000 − 9,600 − 31,000 − 1,200) ÷ 80,000 | 12.75% |
Frequently Asked Questions (FAQ)
1. What is the difference between profit margin and profitability? The terms are often used interchangeably. Profitability typically refers to the net profit margin — the percentage of profit after all costs and taxes to total revenue. Profitability usually refers to the return on invested capital (similar to ROI), not on revenue.
2. Is it possible to have high revenue with a low profit margin? Yes, and it is very common in sectors with narrow margins such as supermarkets and gas stations. A supermarket chain can make billions with a net margin of just 2-3%. Total profit in absolute values may be high, but efficiency per dollar billed is low.
3. How do I know if my profit margin is good? Compare with the sector average (market benchmarks) and your capital opportunity rate. If your net margin does not exceed what you would earn by investing the business capital in fixed income, the business is not adequately compensating for the risk of entrepreneurship.
4. Can profit margin be negative? Yes. Negative margin means that the business is making a loss — costs exceed revenues. Startups often operate with negative margins in the early years as they build scale. For mature businesses, negative margin is a serious warning sign.
5. How does the choice of tax regime affect the profit margin? The choice between Simples Nacional, Presumed Profit and Real Profit directly affects the tax burden and, consequently, the net margin. A service provider with revenue close to the Simples limit may have a tax burden of 6-15.5%, while in Presumed Profit they would pay different percentages. Use the Presumed Profit Calculator vs Simples Nacional to compare.
6. Does a high gross profit margin mean a profitable business? Not necessarily. It is possible to have a high gross margin but such high operating expenses that the net margin is zero or negative. A technology startup can have a 70% gross margin (a cheap product to develop) but a negative net margin if marketing and staff costs are too high in relation to current revenue.
7. How to calculate the profit margin for a specific product? For margin per product: Margin = [(Sales Price − Direct Product Cost − Sales Taxes) ÷ Sales Price] × 100. Include only costs directly attributable to that product (item cost, acquisition shipping, seller's commission).
8. What is the minimum profit margin for a business to be sustainable? There is no universal number, but a common reference is that the net margin must be sufficient to: pay all fixed and variable costs, remunerate invested capital above fixed income, and generate reserves for reinvestment and growth. For a healthy business, net margins below 5% in sectors with high cost inflation are considered dangerous.
Calculate the Profit Margin of Your Business
Now that you understand the different types of margin and their formulas, calculate yours.
Access the Profit Margin Calculator — enter your revenue and costs to automatically obtain gross, operating and net margins.
Related calculators:
- Break-even Calculator — how many sales to cover costs
- ROI calculator — return on invested capital
- Presumptive vs Simple Profit Calculator — optimize the tax regime
- Payback Calculator — deadline to recover the investment