Profit Margin Calculator — Gross & Net Margin Analysis

Enter your revenue and costs to calculate your profit margins. See both gross margin (before overhead) and net margin (after all expenses).

$
$

Direct costs: materials, labor, manufacturing

$

Overhead: rent, utilities, salaries, marketing

Understanding Profit Margins

What is Profit Margin?

Profit margin measures how much of every dollar in sales a company keeps as profit. It's expressed as a percentage and is one of the most important metrics for measuring business health.

Gross vs Net Margin

Gross Margin

Revenue minus direct costs (COGS). Shows production efficiency before overhead. Formula: (Revenue - COGS) / Revenue × 100

Net Margin

Revenue minus ALL costs. Shows true profitability. Formula: (Revenue - COGS - Expenses) / Revenue × 100

Typical Margins by Industry

Industry Gross Net
Software/SaaS 70-85% 15-25%
Retail 25-50% 2-5%
Restaurants 60-70% 3-9%
Manufacturing 25-35% 5-10%
Consulting 80-90% 15-25%
E-commerce 40-60% 5-10%

How to Improve Your Margins

  • Raise prices – Test 5-10% increases; value-based pricing often works
  • Reduce COGS – Negotiate with suppliers, buy in bulk, optimize production
  • Cut overhead – Review subscriptions, renegotiate rent, automate tasks
  • Improve efficiency – Reduce waste, train staff, streamline processes
  • Focus on high-margin products – Analyze per-product margins, promote winners

Profit Margins by Industry: What Is Actually Healthy?

Data compiled from NYU Stern's annual margin study (based on over 7,000 publicly traded U.S. companies) and IRS corporate return statistics shows median net profit margins vary dramatically by industry. Software and SaaS businesses lead at 15%–25% net margins, with best-in-class SaaS firms reaching 30%+. Retail general stores operate on razor-thin net margins of 2%–4%, restaurants on 3%–6%, grocery stores on 1%–3%, and construction on 4%–6%. Healthcare and professional services typically land at 8%–15%, while manufacturing averages 6%–10%. These benchmarks are the reality small business owners must price against — not the 20%+ net margins that feel intuitive.

Gross margin tells a different story. SaaS routinely delivers 70%–90% gross margins (low cost of delivery per customer), professional services 50%–70%, e-commerce 30%–50%, retail 20%–40%, and restaurants 60%–70% food-cost margin (meaning food cost is 30%–40% of revenue). The gap between gross margin and net margin is consumed by operating expenses: payroll (often 25%–40% of revenue for service businesses per BLS data), rent (5%–15%), marketing (7%–12%), and overhead. If your gross margin is below industry median, you either have a cost problem or a pricing problem — and the calculator above will surface which.

Track all three margin layers — gross, operating, and net — monthly, not annually. A 1-percentage-point drop in gross margin on a $1M business is $10,000 in lost profit, often more than a full-time employee's annual overhead. Use this calculator to model how small changes in cost of goods sold, pricing, or operating expenses affect the bottom line, then compare your margins to your industry's median and top quartile. Businesses in the top quartile of their industry for net margin consistently outperform peers on valuation multiples and resilience during downturns.

When to Use This Calculator

Setting Prices

Use it whenever you are quoting a new product or service. Enter your cost and desired margin to back into the right selling price before you commit to a number.

Monthly P&L Review

Run your actual monthly revenue and costs through the calculator each month. Tracking margin trends over time is more valuable than any single snapshot.

Evaluating New Products

Before launching a new SKU or service line, model the gross margin. If a product can't hit your minimum threshold (typically 40%+ for product, 60%+ for services), reconsider the offering.

Industry Benchmarks

These are typical net profit margins by sector (BLS/IRS data). If you are below the low end, your cost structure or pricing needs attention.

Industry Gross Margin Net Margin Rating
SaaS / Software70–85%15–25%Excellent
Consulting / Professional Services80–90%15–25%Excellent
E-commerce40–60%5–10%Good
Manufacturing25–35%5–10%Good
Restaurants60–70%3–9%Average
Retail25–50%2–5%Average

Common Mistakes

Confusing markup with margin

A 50% markup does not give you a 50% margin. Markup is based on cost; margin is based on revenue. Use the Markup Calculator to convert between the two.

Forgetting hidden COGS

Payment processing fees (2–3%), packaging, shipping labels, and returns erode gross margin. Always include every direct cost in COGS.

Ignoring owner compensation

Many small business owners omit their own salary from expenses, making the business look more profitable than it is. Pay yourself a market rate and include it in operating expenses.

Only tracking gross, not net

High gross margins can mask poor net margins if overhead is unchecked. Track both every month.

Data Sources

IRS Statistics of Income

Industry average profit margins sourced from IRS SOI data on corporate and sole proprietor returns.

BLS Producer Price Index

Cost benchmarks for manufacturing and wholesale sectors referenced from BLS PPI tables.

SBA Office of Advocacy

Small business financial benchmarks from SBA annual reports on small business economics.

Frequently Asked Questions

What is a good profit margin for a small business?

A net profit margin of 10% or higher is generally considered good for a small business. Service businesses typically achieve 15-25%, while retail often runs 2-5%. The key is tracking your margin trend over time and comparing against your industry benchmark. Use BEA Industry Data to compare your margins against detailed industry benchmarks.

What is the difference between gross margin and net margin?

Gross margin is revenue minus direct costs (COGS) divided by revenue. It measures production efficiency. Net margin subtracts all operating expenses (rent, salaries, marketing) from gross profit. Net margin reflects true profitability after all costs.

How do I calculate profit margin?

Gross margin = (Revenue - COGS) / Revenue x 100. Net margin = (Revenue - COGS - Operating Expenses) / Revenue x 100. Enter your numbers into the calculator above for instant results.

What is the difference between markup and profit margin?

Markup is calculated on cost: (Price - Cost) / Cost x 100. Profit margin is calculated on revenue: (Price - Cost) / Price x 100. A 50% markup results in only a 33.3% profit margin — they are not interchangeable.

How can I improve my profit margin?

The four main levers are: raise prices (even 5% can significantly impact margin), reduce COGS (negotiate with suppliers), cut overhead (review subscriptions and fixed costs), and focus on higher-margin products or services. Small improvements across multiple areas compound quickly.

Related Calculators

Explore More Business Data

Pair your margin analysis with real-world benchmarks and data from federal primary sources.