Profit Margin Calculator
Calculate gross and net profit margins for your product or business.
How to use this profit margin calculator
- 1Enter total revenue for the period — this is gross sales before any deductions.
- 2Enter your cost of goods sold (COGS) — the direct costs to produce or deliver what you sold, including materials, manufacturing, and direct labor.
- 3Enter operating expenses — rent, salaries not in COGS, marketing, software, and other overhead costs.
- 4Gross profit and gross margin show how efficiently you produce your product or service.
- 5Net margin shows your actual profitability after all costs — this is what investors and lenders look at most closely.
- 6Compare your margins against industry benchmarks to understand whether your business is performing at, above, or below the standard for your sector.
How it's calculated
Gross margin = (revenue − COGS) ÷ revenue × 100. Net margin = (gross profit − expenses) ÷ revenue × 100.
About the Profit Margin Calculator
Profit margin is one of the most scrutinized metrics in business — by investors, lenders, acquirers, and founders benchmarking their own performance against competitors. But "profit margin" is not a single number; it is a family of related metrics, each telling a different part of the story of how efficiently a business converts revenue into profit. Understanding the distinction between gross margin, operating margin, and net margin is essential for diagnosing business health and making informed decisions.
Gross profit margin measures how efficiently a business produces or delivers its core product or service. It strips away everything except the direct cost of what was sold — materials, manufacturing labor, delivery costs, and other costs of goods sold. A high gross margin (above 50%) means the business has significant room to cover operating expenses and still generate profit. A low gross margin (below 20%) means the business must achieve high volume and tight operational control to survive. SaaS businesses enjoy gross margins of 70–80% because the marginal cost of delivering software to an additional customer is near zero. Restaurants run 30–40% gross margins because food, beverage, and kitchen labor costs are unavoidably high.
Net profit margin is what remains after all costs — COGS, operating expenses, interest, and taxes — have been deducted from revenue. This is the number that ultimately determines whether a business is viable. A business can have a 70% gross margin and still lose money if its operating costs are too high — which is exactly the situation many high-growth technology companies find themselves in during their expansion phases. Net margin is the metric that determines whether growth is creating value or destroying it, and it is the number that lenders and investors focus on most heavily in mature businesses.
The markup versus margin confusion is one of the most common and costly errors in business pricing. A retailer who wants to achieve a 50% profit margin does not add 50% to their cost price — they would need to mark up by 100% to achieve a 50% margin. This distinction matters at every price point: at $10,000 average deal sizes, using markup when you meant margin can mean leaving thousands of dollars on the table or discovering that products you thought were profitable are actually not. The formula is straightforward: margin = profit ÷ price, markup = profit ÷ cost. Translating between them requires the formulas: margin = markup ÷ (1 + markup), and markup = margin ÷ (1 − margin).
Margin improvement is almost always more valuable than equivalent revenue growth. A business earning $1M in revenue at a 10% net margin generates $100,000 in profit. Increasing revenue by 20% to $1.2M at the same margin adds $20,000. Improving net margin from 10% to 15% at the same revenue level adds $50,000 — 2.5 times the impact with no corresponding increase in the complexity, headcount, or risk that revenue growth entails. This is why experienced operators focus on margin discipline alongside growth, and why margin-rich businesses command higher valuation multiples than their thin-margin counterparts.
Frequently asked questions
What is a good profit margin for my industry?
Profit margins vary enormously by industry. SaaS and software companies target 60–80% gross margins and 20–30%+ net margins. Retail businesses typically run 20–50% gross margins with 2–10% net. Restaurants operate on very thin net margins of 3–9%, which is why volume is so critical. Professional services (consulting, law, accounting) can achieve 30–50% net margins due to low material costs. Always benchmark against competitors in your specific industry rather than using a single universal standard.
What is the difference between profit margin and markup?
Margin and markup are both ways of expressing profit relative to cost or price, but they use different denominators. Gross margin = gross profit ÷ revenue × 100. Markup = gross profit ÷ COGS × 100. A product that costs $60 to make and sells for $100 has a $40 gross profit — a 40% margin but a 67% markup. Confusing the two leads to pricing errors that can make a product seem profitable when it is not. Always specify which metric you mean when discussing profitability.
How do I improve my gross profit margin?
Gross margin improvement comes from either increasing prices or reducing the direct cost of delivering your product. On the pricing side: test price increases (even 5–10% with minimal churn dramatically improves margins), introduce premium tiers, and bundle products to increase average order value. On the cost side: negotiate better supplier terms, reduce material waste, improve production efficiency, and evaluate whether outsourcing or insourcing specific functions changes your cost structure. A combination approach — modest price increases alongside cost discipline — often yields the fastest improvement.
My revenue is growing but my net margin is shrinking. What does this mean?
Shrinking net margins alongside growing revenue is a classic sign that operating expenses are scaling faster than revenue — a phenomenon sometimes called 'growth destroying profitability.' Common causes include: hiring faster than revenue supports, marketing costs escalating without proportional conversion improvement, infrastructure costs scaling non-linearly, and discounting to drive growth at the expense of margins. Review operating expense categories individually to identify where costs are outpacing revenue growth, and prioritize efficiency improvements before continuing to scale revenue.
What is the difference between gross margin and contribution margin?
Gross margin subtracts cost of goods sold from revenue and is reported in financial statements. Contribution margin subtracts only variable costs (costs that change directly with volume — materials, direct labor, transaction fees) from revenue, leaving a number that shows how much each sale contributes to covering fixed costs. Contribution margin is more useful for pricing decisions and volume analysis because it isolates the per-unit economics. A product with a 60% contribution margin means 60 cents of every dollar of revenue is available to cover fixed costs and generate profit.