Profit Margin Calculator

Calculate gross, operating, and net profit margins from your revenue and costs.

Safe conversion with no data sent to server

Last updated: March 2026

Enter Financial Data

What are Profit Margins?

Profit margin is a measure of profitability expressed as a percentage of revenue. There are three primary types, each revealing a different layer of financial performance. Gross profit margin measures profitability after subtracting only the direct costs of producing goods or services (COGS): Gross Margin = (Revenue βˆ’ COGS) Γ· Revenue Γ— 100. It tells you how efficiently you produce your product, independent of overhead and administrative costs.

Operating profit margin (also called EBIT margin) subtracts operating expenses β€” rent, salaries, marketing, software, depreciation β€” from gross profit: Operating Margin = Operating Profit Γ· Revenue Γ— 100. This reveals how much profit the core business operations generate before interest and taxes. It is the primary measure of operational efficiency that management can directly influence through cost control and pricing strategy.

Net profit margin is the bottom line after all expenses including taxes and interest: Net Margin = Net Profit Γ· Revenue Γ— 100. While gross margin benchmarks vary by industry (software: 70–80%, retail: 25–50%, restaurants: 65–75%), net margins tend to converge across industries because high-margin businesses face more competition. Most healthy small businesses target 10–20% net margins, though high-growth companies often accept lower net margins in exchange for faster expansion.

How to Use This Calculator

Step 1: Enter revenue. Use total revenue (net sales) for the period. This is the top-line figure before any deductions. If you have returns or allowances, subtract them from gross sales to get net revenue.

Step 2: Enter Cost of Goods Sold. COGS includes all direct costs: raw materials, direct labor, manufacturing overhead, and the cost of purchased goods for resale. For service businesses, COGS represents direct service delivery costs (freelancer fees, direct labor). Do not include administrative expenses in COGS β€” those belong in operating expenses.

Step 3: Enter operating expenses. This covers all indirect business costs: rent, administrative salaries, marketing, utilities, insurance, professional services, software, and depreciation. Essentially, everything not in COGS that is required to run the business falls here.

Step 4: Analyze the visual breakdown. The percentage bars show how each cost category consumes revenue. A large COGS bar relative to total revenue suggests pricing or sourcing improvements could significantly boost profitability. A large operating expenses bar suggests overhead rationalization opportunities.

Business Strategy Applications

  • Pricing decisions: Calculate the minimum selling price required to achieve your target gross margin. If a product has high COGS, a low gross margin limits how much operating overhead the product can absorb and still be profitable.
  • Product mix optimization: Calculate margins for each product or service line. Shift sales focus and marketing resources toward higher-margin offerings to improve overall blended margin without changing revenue.
  • Cost reduction targeting: Identify whether margin compression is coming from COGS increases (supplier price increases, labor cost inflation) or operating expense growth (rent, headcount), and prioritize cost reduction efforts accordingly.
  • Valuation multiples: Businesses are often valued as a multiple of EBITDA (earnings before interest, taxes, depreciation, and amortization, which approximates operating profit). Improving operating margins directly increases your business valuation.
  • Investor benchmarking: Compare your gross and operating margins against public company benchmarks in your industry to identify whether you are operating at competitive efficiency or have structural disadvantages to address.
  • Financial forecasting: Use historical margins as a baseline for projecting future profitability at different revenue levels, accounting for the operating leverage effect where fixed costs become a smaller percentage of revenue as the business scales.

FAQ

What is a good gross profit margin?

Gross margins vary dramatically by industry. Software and SaaS companies typically achieve 70–85% gross margins. Professional services firms range from 40–70%. Retail and e-commerce businesses typically see 25–50%. Restaurants and food service average 60–70% (but have very high operating expenses). Always compare your gross margin against industry peers rather than a universal benchmark, as the appropriate level depends entirely on your business model.

Why is my gross margin high but net margin low?

This is common in businesses with high operating overhead relative to gross profit. Heavy investment in marketing, a large administrative team, expensive office space, or significant research and development costs all reduce operating and net margins even when gross margins are strong. The gap between gross and operating margin reveals your operating leverage efficiency and is a key area for management scrutiny.

How does revenue growth affect margins?

As revenue grows, fixed operating expenses (rent, salaries, software) represent a smaller percentage of revenue, improving operating and net margins through operating leverage. Variable costs (COGS) scale proportionally, so gross margin stays relatively stable. This is why scaling revenue is such an effective way to improve net profitability in businesses with significant fixed cost bases.

What is the difference between gross margin and markup?

Gross margin expresses profit as a percentage of selling price. Markup expresses profit as a percentage of cost. A product that costs $60 and sells for $100 has a gross margin of 40% and a markup of 66.7%. The confusion between these metrics is a common source of pricing errors. Always clarify which metric is being used when discussing profitability with suppliers, clients, or partners.