Skip to main content

Profit Margin Calculator

Calculate gross, operating, and net profit margins from your revenue and expenses. See profit at each level. Free business profitability analysis tool.

Last revised Maintained by Pavan Kusunuri · About our editorial standards

Calculator inputs

Financial Data

Direct costs to produce goods.

Salaries, rent, marketing, R&D.

Your results

Net Profit Margin
15.00%
Net Profit: $15,000.00
Gross Profit ($)
$40,000.00
Gross Profit Margin (%)
40.00
Operating Profit ($)
$20,000.00
Operating Profit Margin (%)
20.00
Net Profit ($)
$15,000.00
Net Profit Margin (%)
15.00

Opens your browser's print dialog: choose "Save as PDF", then attach the file to an email. The report carries your inputs, the result and any assumptions and data sources behind it.

Financial Disclaimer: This result is an educational estimate produced by applying a standard formula to the figures you entered. It is not an offer, a quotation, or financial advice: real costs and returns depend on a provider's pricing, fees and underwriting, and on circumstances this calculator does not collect. Confirm the figures with the provider or a qualified adviser before acting on them. Full disclaimer.

Sources & methodology

Formula:
Gross profit and margin
Content last updated:
Scheduled re-verification:
August 2027

Calculation type: Exact calculation. Figures are taken from U.S. Small Business Administration (SBA) — see sources below.

Your entries stay on this device. This calculator runs entirely in your browser — the figures you type are not sent to us or to anyone else. The page itself uses cookies for analytics and advertising, described in the privacy policy.

How to Use This Calculator

  1. Enter Revenue

    Input your total revenue (sales) for the period.

  2. Enter COGS

    Enter Cost of Goods Sold — direct costs like materials and production labor.

  3. Enter Operating Expenses

    Include salaries, rent, marketing, utilities, R&D, and other overhead.

  4. Enter Taxes

    Income taxes paid. For pre-tax margins, leave this at zero.

  5. View All Three Margins

    See gross margin (production efficiency), operating margin (business operations), and net margin (bottom-line profitability).

Example: $100k Revenue, $60k COGS, $20k OpEx, $5k Tax

All three margins in one calculation.

Example Inputs
Revenue
$100,000
COGS
$60,000
Operating Expenses
$20,000
Taxes
$5,000
Example Results
Gross Profit Margin (%)
40%
Operating Profit Margin (%)
20%
Net Profit Margin (%)
15%
Figures are indicative only and may vary.

Understanding Your Results

  • Gross Margin
    (Revenue − COGS) ÷ Revenue × 100. Measures how efficiently you produce. Software companies often have 80%+; retailers 30-50%.
  • Operating Margin
    (Revenue − COGS − Operating Expenses) ÷ Revenue × 100. Shows core business efficiency before interest and taxes.
  • Net Margin
    Net Income ÷ Revenue × 100. The bottom line — what's left after all expenses including taxes. 10% is average; 20%+ is excellent.

Key Tips

  • Gross margin reveals pricing power and production efficiency. Declining gross margin signals rising costs or pricing pressure.
  • Operating margin shows how well you manage overhead. Two companies with identical gross margins can have very different operating margins.
  • Net margin is what matters for investors — it's the percentage of each revenue dollar that becomes profit.
  • Compare margins to industry averages, not across industries. A 10% net margin is great for grocery but terrible for software.

How Profit Margins Work

The Three Levels of Profitability

Gross margin = (Revenue − COGS) ÷ Revenue. It measures production efficiency — how much of each sales dollar remains after paying for direct costs. Operating margin = (Revenue − COGS − Operating Expenses) ÷ Revenue. It measures how efficiently you run the business — includes overhead like salaries, rent, and marketing. Net margin = Net Income ÷ Revenue. It's the final percentage of revenue that becomes actual profit after taxes and all other expenses. Each level strips away more costs, giving a progressively clearer picture of true profitability.

What's a Good Margin?

This varies dramatically by industry. Software/SaaS: gross 70-90%, net 15-30%. Retail: gross 25-50%, net 2-10%. Restaurants: gross 60-70%, net 3-8%. Manufacturing: gross 20-40%, net 5-15%. Always compare to your specific industry, not absolute benchmarks. A declining margin trend within your own business is more concerning than a low absolute number compared to unrelated industries.

How to Improve Margins

Increase revenue without proportional cost increase (raise prices, upsell). Reduce COGS (negotiate supplier contracts, improve production efficiency). Reduce operating expenses (automate, cut non-essential spending). The operating leverage effect: a 10% revenue increase with flat costs can increase net margin by far more than 10%.

Common Profit Margin Calculation Mistakes

Confusing gross profit (a dollar amount) with gross margin (a percentage) — a $50,000 gross profit could reflect a 50% margin on $100,000 revenue or a 5% margin on $1,000,000 revenue; the two numbers answer different questions. Including operating costs like rent or salaries inside COGS, which artificially lowers gross margin — COGS should include only direct production costs; if an expense would exist whether you produced one unit or a thousand, it's an operating expense, not COGS. Comparing margins across unrelated industries — a 5% net margin is weak for software but normal for a grocery retailer, so benchmark within your own industry. Treating a temporary or seasonal margin dip as a permanent trend, or a one-time gain (asset sale, settlement) as ongoing profitability, when either can distort a single period's net margin without reflecting the underlying business.

Why Margins Usually Follow Gross > Operating > Net

Each margin subtracts more costs than the one before it: gross margin removes only COGS, operating margin also removes operating expenses, and net margin further removes taxes (and any other non-operating items). So for a business with positive costs at each stage, Gross Margin ≥ Operating Margin ≥ Net Margin is the expected order. If net margin unexpectedly exceeds operating margin, that usually points to a one-time gain (like an asset sale) inflating net income, not typical performance.

What Drives Margin Improvement

Margins improve through some combination of: raising prices without a proportional drop in volume, lowering COGS (better supplier terms, more efficient production), or reducing operating expenses relative to revenue. Growth in revenue alone doesn't improve percentage margins if costs scale proportionally — margin improvement specifically requires costs growing slower than revenue, not just more sales.

Limitations of This Calculator

This calculator computes margins from the four inputs you provide (revenue, COGS, operating expenses, taxes) — it doesn't separate one-time items (asset sales, settlements) from recurring operations, so an unusual gain or charge in your numbers will show up in the margin without being flagged. It also doesn't apply industry-specific benchmarks automatically; comparing your result to a 'good margin' requires knowing typical figures for your own industry, which vary widely between software, retail, manufacturing, and services businesses.

Formula & methodology

Formula used

Gross profit and margin

gross profit = revenue − COGS;  gross margin % = gross profit ÷ revenue × 100

What is left after the direct cost of producing the goods, as a share of revenue.

Operating profit and margin

operating profit = gross profit − operating expenses;  operating margin % = operating profit ÷ revenue × 100

Gross profit after the overheads of running the business — salaries, rent, marketing.

Net profit and margin

net profit = operating profit − taxes;  net margin % = net profit ÷ revenue × 100

What remains once tax is taken. Every margin uses revenue as the denominator, which is what makes them comparable.

Variable definitions

SymbolMeaningUnit
revenueTotal revenue. all sales income before any deductioncurrency
COGSCost of goods sold. the direct cost of the goods or services soldcurrency
opexOperating expenses. indirect costs of running the businesscurrency
taxesTaxes. tax charged on profitcurrency

Step-by-step calculation

  1. 1. Enter revenue and cost of goods sold
    Revenue must be greater than zero, since it is the denominator of every margin.
  2. 2. Add operating expenses and tax
    Leave either at zero to see only the margins above it.

Limitations

  • All margins are computed on the figures you enter for a single period; they carry no industry benchmark.
  • Whether a given cost belongs in COGS or in operating expenses is an accounting judgement, and it shifts gross margin without changing net margin.
  • Interest and other non-operating items are not modelled separately — include them in taxes or operating expenses as appropriate.

This page is educational. It applies a standard formula to the figures you enter and shows the arithmetic behind the result. It is an estimate, not an offer, a quotation or financial advice: real costs depend on the provider's pricing, fees and underwriting, and on circumstances this calculator does not collect.

Sources & references

Frequently Asked Questions

How do I calculate profit margin?

Profit Margin (%) = (Profit / Revenue) × 100. For Gross Margin: ((Revenue − COGS) / Revenue) × 100. For Operating Margin: (Operating Income / Revenue) × 100. For Net Margin: (Net Income / Revenue) × 100. This calculator automates all three.

What's the difference between gross margin, operating margin, and net margin?

Gross margin ((Revenue − COGS) / Revenue) shows production efficiency. Operating margin ((Revenue − COGS − Operating Expenses) / Revenue) shows operational efficiency. Net margin (Net Income / Revenue) shows overall profitability after all expenses and taxes. Each reveals a different aspect of business performance.

How does profit margin differ from markup?

Markup is the percentage added to cost: ((Selling Price − Cost) / Cost) × 100. Margin is the profit percentage of revenue: ((Revenue − Cost) / Revenue) × 100. A 100% markup is not the same as a 100% margin — they're commonly confused but compute different things.

What is a good profit margin for my industry?

Industry benchmarks vary dramatically: software/SaaS often runs 30-50% net margin, manufacturing 10-20%, retail 2-10%, grocery 1-3%. Compare your margins against competitors in your specific industry rather than across different industries.

Can I have high revenue but low profit margin?

Yes. A $10 million revenue company with 5% net margin makes only $500,000 profit, while a $1 million company with 30% margin makes $300,000. Margin percentage and absolute profit dollars are different measures — high volume with low margins can still be a viable business.

Need more help? Contact support or email globalcalqulate@gmail.com. We typically reply within 24–48 hours.