Calculate your gross profit margin and markup percentage instantly. Understand your product profitability and compare against industry benchmarks.
Try an example:
Formulas Used:
Gross Margin = (Revenue - COGS) / Revenue x 100
Markup = (Revenue - COGS) / COGS x 100
Enter your revenue and COGS to see your gross margin calculation.
Gross margin is one of the most important metrics for understanding your business's profitability. It measures the percentage of revenue that exceeds your cost of goods sold (COGS), essentially showing how much money you keep from each sale after paying for the direct costs of producing your products or services.
Unlike net profit margin, which accounts for all expenses including overhead, marketing, and administrative costs, gross margin focuses specifically on the relationship between your revenue and the direct costs of production. This makes it an excellent indicator of your core business efficiency and pricing strategy effectiveness.
A healthy gross margin gives your business the financial cushion needed to cover operating expenses, invest in growth, and generate profit. Businesses with low gross margins must achieve very high sales volumes — consider running a break-even analysis to understand the minimum revenue required — while businesses with high gross margins can be profitable even with moderate sales.
For industry-standard definitions and calculation methods, refer to Investopedia's guide to gross margin.
One of the most common sources of confusion in business finance is the difference between gross margin and markup. While both measure profitability, they use different reference points and serve different purposes.
Profit as a percentage of selling price (revenue). Used to understand what portion of each sale becomes profit.
Profit as a percentage of cost. Used to determine how much to add to cost when setting prices.
For example, if you buy a product for $60 and sell it for $100, your gross margin is 40% ($40 profit / $100 selling price), but your markup is 66.7% ($40 profit / $60 cost). Both numbers describe the same transaction but from different perspectives.
Markup is typically used when setting prices (adding a percentage to your cost), while gross margin is used when analyzing financial performance (understanding what percentage of revenue becomes profit).
Calculating gross margin is straightforward once you have your revenue and cost of goods sold figures. Here is the step-by-step process:
Calculate your total revenue from sales. This is the gross amount before any deductions. For a product business, this is the total sales value. For services, this is total billings or fees collected.
Add up all direct costs of producing your products or services. This includes raw materials, direct labor, manufacturing overhead, and any other costs directly tied to production. Do not include operating expenses like marketing or rent.
Gross Margin = (Revenue - COGS) / Revenue x 100
Example:
Revenue: $500,000
COGS: $200,000
Gross Margin = ($500,000 - $200,000) / $500,000 x 100 = 60%
Gross margins vary dramatically across industries. Understanding typical margins in your industry helps you benchmark your performance and identify opportunities for improvement.
Software companies enjoy high margins because digital products have minimal per-unit costs. COGS mainly consists of hosting and support staff.
Consulting, legal, and accounting firms have moderate margins. COGS is primarily labor costs for billable professionals.
Food costs typically run 28-35% of menu prices, resulting in decent gross margins. Labor and overhead then reduce net margins.
Manufacturing involves significant material and labor costs, resulting in lower but still healthy margins when operations are efficient.
Retailers purchase finished goods at wholesale prices, leaving smaller margins. High-volume sales are needed for profitability.
Online retailers often achieve better margins than traditional retail due to lower overhead, though shipping costs can impact COGS.
Gross margin is not just a number on your financial statements. It has profound implications for every aspect of your business strategy and long-term success.
High gross margins indicate you can command premium prices or have found ways to keep production costs low. This gives you flexibility to invest in growth or weather economic downturns.
Businesses with high gross margins can scale more easily because each additional sale generates significant profit to reinvest. Low-margin businesses need massive scale to achieve meaningful profits.
Investors and acquirers pay close attention to gross margins. Higher margins typically command higher valuations because they indicate a sustainable, profitable business model with room for growth. Strong gross margin alongside healthy working capital and a solid current ratio signals financial resilience to buyers.
Tracking gross margin over time reveals trends in your operational efficiency. Declining margins may signal rising costs, pricing pressure, or production inefficiencies that need attention.
Improving gross margin is one of the most effective ways to increase profitability. Here are proven strategies used by successful businesses:
Many businesses undercharge for their products or services. Conduct market research, analyze competitor pricing, and test price increases. Even small price increases can significantly impact gross margin without affecting demand if your product offers clear value.
Review supplier contracts regularly and negotiate better terms. Consider bulk purchasing, long-term contracts, or switching to more cost-effective suppliers. Even 5% savings on materials can meaningfully improve margins.
Audit your production process for waste, inefficiencies, and defects. Implement quality control measures, train staff on efficient practices, and invest in equipment that reduces waste and rework.
Identify repetitive, labor-intensive tasks that can be automated. While automation requires upfront investment, it often reduces per-unit labor costs and improves consistency.
Analyze gross margins by product or service line. Focus sales and marketing efforts on higher-margin offerings, and consider phasing out low-margin products that drag down overall profitability. Pair this with the Price Calculator to test new price points before shifting mix.
Poor inventory management leads to waste, obsolescence, and markdowns. Implement just-in-time inventory practices and use data to forecast demand more accurately, reducing carrying costs and spoilage.
Pair this tool with the ARR Calculator and the Asset Turnover Calculator to cross-check inputs. For strategic context, read our 12-month exit checklist and explore the Financial Ratios tools hub.
Gross margin measures production efficiency. It shows what percentage of revenue remains after covering direct costs, indicating how efficiently you produce goods or deliver services.
Margin and markup are different. Gross margin uses selling price as the denominator, while markup uses cost. Understanding margin and markup helps with pricing decisions and financial analysis.
Industry context matters. A 25% margin is excellent for retail but poor for software. Always benchmark against your specific industry to understand where you stand. For longer‑form benchmarks and examples, see the Valuefy blog.
Higher margins enable growth. Businesses with strong gross margins have more capital to invest in marketing, R&D, and expansion. Explore reinvestment tradeoffs in the Business Planning hub to connect margin to growth, creating a compounding advantage over competitors.
Margin improvement has multiple paths. You can increase prices , reduce costs , improve efficiency, or shift your product mix. The best approach depends on your market position and constraints.
Gross margin is the percentage of revenue that exceeds the cost of goods sold (COGS). It represents the portion of sales revenue that a company retains after incurring the direct costs of producing the goods or services it sells. A higher gross margin indicates that a company retains more money from each dollar of sales to cover other expenses and generate profit.
While both relate to profitability, they use different denominators. Gross margin calculates profit as a percentage of revenue (selling price), while markup calculates profit as a percentage of cost. For example, if you sell something for $100 that cost $60, your gross margin is 40% ($40/$100), but your markup is 66.7% ($40/$60).
A 'good' gross margin varies significantly by industry. Software and SaaS companies typically have 70-85% margins, while retail businesses often operate with 20-30% margins. The key is to compare your margin against industry benchmarks and track improvements over time.
Gross Margin = (Revenue - Cost of Goods Sold) / Revenue x 100. For example, if your revenue is $100,000 and COGS is $60,000, your gross margin is ($100,000 - $60,000) / $100,000 x 100 = 40%.
COGS includes all direct costs of producing goods or delivering services: raw materials, direct labor, manufacturing overhead, packaging, and shipping costs directly tied to products. It excludes indirect costs like marketing, administrative salaries, rent for non-production facilities, and R&D expenses.
Gross margin is a key indicator of business health and scalability. Higher margins suggest pricing power, efficient operations, and room for growth. Investors and acquirers closely examine gross margins because they indicate how much profit a company generates from its core business before operating expenses.
You can improve gross margin by: 1) Increasing prices without losing customers, 2) Negotiating better supplier terms, 3) Reducing production waste and inefficiencies, 4) Automating production processes, 5) Shifting sales mix toward higher-margin products, and 6) Improving inventory management to reduce spoilage or obsolescence.
Gross margin only considers revenue minus COGS, showing profit from production. Net margin (or net profit margin) subtracts ALL expenses including operating costs, interest, taxes, and depreciation. Net margin shows the final profit percentage after all costs, while gross margin shows production efficiency specifically.
A good profit margin varies by industry. Net profit margins: SaaS companies 15-25%, retail 2-5%, restaurants 3-9%, manufacturing 5-10%, professional services 15-25%. Gross profit margins: SaaS 70-85%, retail 25-50%, manufacturing 25-35%. A gross margin above 50% generally indicates strong pricing power and scalability.
Gross margin = (Revenue - COGS) / Revenue. It measures profitability after production costs only. Profit margin (net) = Net Income / Revenue — it deducts all expenses including operating costs, interest, and taxes. A business can have a high gross margin but low net margin due to high operating expenses. Gross margin is better for measuring product economics; net margin reflects overall business efficiency.
Calculate return on investment for any investment type
Calculate price-to-earnings ratio for stock valuations
Measure ability to meet short-term obligations
Calculate current ratio and working capital
Financial Basics Guide
In-depth guide with examples, benchmarks, and interactive calculators