How to Calculate Profit Margin: Gross, Operating & Net Formulas
Learn how to calculate gross, operating, and net profit margins with formulas and examples. Understand what healthy margins look like across different industries.
Understanding the Three Types of Profit Margin
Profit margin measures how much of each dollar of revenue a business keeps as profit. There are three main types: gross profit margin (revenue minus cost of goods sold), operating profit margin (revenue minus all operating expenses including COGS), and net profit margin (revenue minus all expenses including taxes and interest). Each tells a different story about business efficiency. A company might have a strong gross margin but a weak net margin if overhead costs are too high. Together, the three margins reveal where money is being made and where it is leaking out of the business.
Gross Profit Margin Formula
Gross profit margin = ((Revenue - Cost of Goods Sold) / Revenue) x 100. Cost of goods sold (COGS) includes direct costs of producing your product or service — raw materials, direct labor, and manufacturing overhead. If a business generates $500,000 in revenue and COGS is $300,000, the gross profit margin is (($500,000 - $300,000) / $500,000) x 100 = 40 percent. This means the business keeps 40 cents of every revenue dollar after covering direct production costs. Gross margin varies dramatically by industry: software companies often exceed 70 percent, while grocery stores typically run 25 to 30 percent.
Operating and Net Profit Margins
Operating profit margin = ((Revenue - COGS - Operating Expenses) / Revenue) x 100. Operating expenses include rent, salaries, marketing, utilities, and depreciation — everything needed to run the business beyond direct production costs. Net profit margin = (Net Income / Revenue) x 100. Net income is what remains after all expenses, interest, and taxes. A healthy business might show: Revenue $1,000,000, COGS $400,000 (60% gross margin), operating expenses $350,000 (25% operating margin), interest and taxes $100,000 (15% net margin). The gap between operating and net margin reveals the impact of financing decisions and tax burden.
Recommended Resources
Sponsored · We may earn a commission at no cost to you
Industry Benchmarks and Analysis
Healthy profit margins vary widely by industry. Software and tech companies typically have net margins of 15 to 25 percent due to low variable costs. Professional services firms average 10 to 20 percent. Retail and e-commerce run 3 to 10 percent because of thin margins on physical goods. Restaurants operate on razor-thin margins of 3 to 9 percent. Manufacturing ranges from 5 to 15 percent. Compare your margins to industry peers, not across industries. A 5 percent net margin is excellent for a restaurant but concerning for a software company. Track your margins monthly to identify trends — declining margins signal rising costs or pricing pressure.
Related Free Tools
Related Articles
Frequently Asked Questions
What is a good profit margin for a small business?
A net profit margin of 10 percent is considered average for small businesses, while 20 percent or higher is considered strong. However, healthy margins depend entirely on your industry. A small consulting firm should target 15 to 25 percent, while a small retailer might be doing well at 5 to 8 percent. Focus on improving your margin over time rather than comparing to businesses in different industries.
How can I improve my profit margin?
There are two levers: increase revenue per unit (raise prices, upsell, or reduce discounts) or decrease costs (negotiate supplier pricing, improve operational efficiency, reduce waste, or automate repetitive tasks). Often the easiest wins come from identifying and eliminating your least profitable products or services and focusing resources on your highest-margin offerings.
What is the difference between markup and margin?
Markup is calculated as a percentage of cost, while margin is calculated as a percentage of selling price. A product that costs $60 and sells for $100 has a 66.7 percent markup (($40 / $60) x 100) but a 40 percent margin (($40 / $100) x 100). Margin is always lower than markup for the same transaction. Confusing the two can lead to underpricing.