Profit Margin Calculator
Calculate gross, operating, and net profit margins to understand your business profitability.
Measure your profitability
Calculate gross, operating, and net profit margins in one pass.
How to use this calculator
- Enter total revenue for the period (typically the trailing 12 months).
- Enter COGS—direct costs of producing or delivering your product (materials, direct labor, manufacturing overhead).
- Enter operating expenses—sales, marketing, G&A, rent, salaried payroll, software, depreciation, and other overhead.
- Add interest expense from any business loans or credit lines.
- Add income taxes paid on business profits.
- Click Calculate to see all three margins—gross, operating, and net—with a profit cascade showing where every dollar went.
Understanding the three profit margins
Profit isn't a single number—it's a cascade. Each layer of cost peels away a slice of revenue, and the percentage that remains at each stage tells a different story about your business. Gross margin reveals production efficiency. Operating margin reveals operational discipline. Net margin reveals bottom-line profitability after every cost—including financing and taxes—is paid. Tracking all three lets you pinpoint exactly where money is leaking out of your business.
Gross margin: production efficiency
Gross Margin = (Revenue − COGS) ÷ Revenue × 100
COGS—cost of goods sold—includes only the direct costs of producing or delivering your product: raw materials, direct labor, manufacturing overhead, freight-in. Subtracting COGS from revenue gives you gross profit, the money left to cover operating expenses, interest, taxes, and (eventually) owner returns. A high gross margin means your product commands a price premium or your production costs are low. A declining gross margin signals supplier price hikes, discounting, or inefficient production—often the first warning sign of trouble.
Operating margin: operational discipline
Operating Margin = (Revenue − COGS − OpEx) ÷ Revenue × 100
Operating expenses—often called OPEX—include sales, marketing, general & administrative, rent, salaried payroll, software, and depreciation. Subtracting OPEX from gross profit gives you operating profit, also known as EBIT (Earnings Before Interest and Taxes). Operating margin shows how efficiently you run the business before financing and tax decisions muddy the picture. A high gross margin with a low operating margin means overhead is eating your production efficiency—usually a sign of overstaffing, expensive real estate, or unproductive marketing spend.
Net margin: the bottom line
Net Margin = Net Income ÷ Revenue × 100
Net income—also called net profit or the bottom line—is what's left after subtracting interest and taxes from operating profit. Net margin is the percentage of every revenue dollar that becomes profit. It's the number buyers, investors, and lenders scrutinize most. Service businesses typically see 15–25% net margins, retail 2–10%, restaurants 3–9%, software/SaaS 15–30%. Comparing your net margin to industry benchmarks is more meaningful than comparing to absolute numbers—a 12% net margin is exceptional for a grocery store but mediocre for a software company.
Why all three matter together
Looking at any single margin in isolation can mislead. A software company with 80% gross margins but 5% net margins is spending aggressively on growth—maybe intentionally. A retailer with 30% gross margins and 2% net margins is in a tight, competitive business. A manufacturer with shrinking gross margins but stable operating margins has likely automated or outsourced to absorb cost pressure. Tracking the spread between your three margins over time reveals which levers—pricing, production, overhead, financing—are moving the needle, and which need attention.
Using margins to drive valuation
Buyers value businesses on multiples of earnings, so margin directly drives valuation. A $2M-revenue business with 5% net margins earns $100K and might sell for 3–4x earnings ($300–$400K). The same revenue at 25% net margins earns $500K and might command 5x earnings ($2.5M). Improving net margin by even 1–2 percentage points can dramatically increase both earnings and the multiple buyers will pay—making margin improvement one of the highest-return activities a business owner can pursue before a sale.
Worked example
Scenario: A boutique e-commerce brand with $1,200,000 in annual revenue, $540,000 COGS, $380,000 operating expenses, $22,000 interest, and $68,000 income taxes.
- Gross profit: $1,200,000 − $540,000 = $660,000
- Gross margin: $660,000 ÷ $1,200,000 = 55.0%
- Operating profit (EBIT): $660,000 − $380,000 = $280,000
- Operating margin: $280,000 ÷ $1,200,000 = 23.3%
- Pre-tax income: $280,000 − $22,000 = $258,000
- Net income: $258,000 − $68,000 = $190,000
- Net margin: $190,000 ÷ $1,200,000 = 15.8%
The cascade tells a clear story: production efficiency is excellent (55% gross margin), but operating expenses consume more than half of gross profit, compressing operating margin to 23%. Financing and taxes take another 7.5 points, leaving a healthy 15.8% net margin—well above the e-commerce industry average of 7–10%. The biggest opportunity for improvement is operating expenses: trimming $40K from OPEX would lift net margin to 19.2%.
Glossary
- Gross Margin
- (Revenue − COGS) ÷ Revenue. Measures production efficiency—the share of revenue left after direct production costs.
- Operating Margin
- (Revenue − COGS − Operating Expenses) ÷ Revenue. Measures profitability from core operations, before interest and taxes.
- Net Margin
- Net Income ÷ Revenue. The bottom-line share of revenue that becomes profit after every cost, including interest and taxes.
- COGS (Cost of Goods Sold)
- Direct costs of producing or delivering your product: materials, direct labor, manufacturing overhead, inbound freight.
- EBIT
- Earnings Before Interest and Taxes—another name for operating profit. Useful for comparing companies with different financing or tax structures.
- Operating Expenses (OPEX)
- Indirect costs of running the business: sales, marketing, G&A, rent, salaried payroll, software, and depreciation.
Frequently asked questions
Quick answers to the most common questions about profit margin calculator.
This calculator is provided for informational and educational purposes only and does not constitute financial, legal, tax, or professional advice. Results are estimates based on the inputs you provide and standard assumptions. Actual figures may vary. Please consult a qualified professional before making financial decisions. Read our full disclaimer.