Business calculator

Free profit margin calculator

Enter revenue, cost of goods sold, and operating expenses — this profit margin calculator returns gross margin, operating margin, and net margin with industry benchmarks, updated live, as you type.

InputsLive
Method
Cost
$
Markup %
%
50% markup: cost × 1.50
Result
Selling price
$150
Profit: $50 · Markup: 50% · Margin: 33.3%
Price$150
Profit$50
Markup %50%
Margin %33.33%

Markup = profit ÷ cost. Margin = profit ÷ price. These are different numbers.

Results are estimates. Consult a professional.

How it's calculated

How the profit margin calculator works

Profit margin measures how many cents of profit a business generates for each dollar of revenue. There are three standard margin metrics, each answering a different question about a business's financial health. Enter revenue and the relevant cost figures and the calculator returns gross margin, operating margin, and net margin — plus the dollar profit at each level.

Gross margin % = (revenue COGS) / revenue × 100
Operating margin % = (revenue COGS operating expenses) / revenue × 100
Net margin % = net income / revenue × 100
Net income = revenue COGS operating expenses interest taxes

Each margin strips away one more layer of costs: gross margin shows product-level profitability after direct production costs; operating margin adds overhead (salaries, rent, marketing, R&D) to reveal how efficiently the business model runs; net margin includes interest expense and taxes to show what actually flows to shareholders. A company can have a high gross margin and a negative net margin if overhead is out of control.

NYU Stern — Margins by Sector (Damodaran dataset, updated January 2024).
Example

Worked example: SaaS business with $2M revenue

Example: $2,000,000 revenue, $400,000 COGS, $900,000 operating expenses

A SaaS company reports annual revenue of $2,000,000. Cost of goods sold (hosting, support, third-party APIs) is $400,000. Operating expenses (sales, marketing, R&D, G&A) total $900,000. Interest expense is $50,000 and income taxes are $162,500.

Gross profit = $2,000,000 $400,000 = $1,600,000
Gross margin = $1,600,000 / $2,000,000 × 100 = 80.0%
Operating income = $1,600,000 $900,000 = $700,000
Operating margin = $700,000 / $2,000,000 × 100 = 35.0%
Net income = $700,000 $50,000 $162,500 = $487,500
Net margin = $487,500 / $2,000,000 × 100 = 24.4%
80% gross / 35% operating / 24.4% net
Strong margins at all three levels confirm this business has pricing power (high gross), operational discipline (high operating), and a manageable tax and debt load (net near operating).
Quick reference

Industry benchmark gross and net margins

Margins vary enormously by industry because of differences in capital intensity, pricing power, competitive dynamics, and cost structure. A 5% net margin is exceptional for a grocery chain and a failure for a software company. Use this table to calibrate what healthy margins look like for your sector before benchmarking your own numbers.

IndustryTypical gross marginTypical net marginKey driver
SaaS / software60–80%15–25%Low COGS; heavy R&D and sales spend
Retail (general)20–40%2–5%High COGS, thin operating leverage
Restaurants65–75%3–9%High labor and occupancy costs
Manufacturing30–40%5–10%Capital-intensive; moderate pricing power
Healthcare services30–45%5–12%Mix of high-margin procedures and overhead
Professional services35–60%10–20%Low COGS; leverage on billable hours

Source: NYU Damodaran Margins by Sector (2024); CSIMarket industry averages. Ranges reflect mid-size public companies; smaller private firms vary significantly.

Practical tips

Tips for analyzing and improving profit margins

Profit margins are a lens, not a verdict. A business with a 3% net margin may be executing brilliantly against its industry benchmark, while a 20% margin business may be underinvesting in growth. Context and trend matter as much as the absolute number.

  • Track margin trend, not just margin level. A gross margin that compresses 2–3 percentage points per year signals pricing pressure, rising input costs, or a shift toward lower-margin products — all worth investigating before they flow through to net margin.
  • Separate gross margin by product line. Aggregate gross margin can hide the fact that 20% of your products are subsidizing the other 80%. Segment-level gross margin analysis often reveals which products to grow and which to reprice or discontinue.
  • Watch operating leverage carefully when scaling. Businesses with high fixed costs (manufacturing plants, software platforms) have high operating leverage — revenue growth beyond the break-even point flows to profit at a much higher rate. This makes scaling lucrative but downturns painful.
  • Compare to peers, not just your history. Internal margin trends tell you if you are improving. Industry benchmarks tell you if you are competitive. A company improving from 3% to 5% net margin is making progress — but if peers average 18%, the business model may need rethinking.
  • Net margin is the bottom line — but not always the right one. Capital-light businesses (software, consulting) are best compared on net margin. Capital-intensive businesses (manufacturing, real estate) are often better benchmarked on EBITDA margin or return on invested capital (ROIC), which neutralize differences in depreciation and financing.
Accuracy & limits

Accuracy and limitations

Margin calculations are arithmetically straightforward given the inputs provided. Results are as accurate as the cost and revenue figures you enter. The critical challenge in real-world margin analysis is not the math — it is correctly categorizing costs. COGS must include only direct costs of production; shifting overhead into COGS inflates gross margin artificially, which is a recognized form of earnings management.

This calculator uses the standard accounting definitions of gross, operating, and net margin consistent with U.S. GAAP income statement presentation. It does not compute EBITDA margin, contribution margin, or segment-level margins. It also does not account for non-recurring items, restructuring charges, stock-based compensation, or other adjustments commonly made in non-GAAP reporting. For financial reporting, audit, or valuation purposes, always work from audited financial statements prepared by a licensed accountant.

Glossary

Profit margin terms defined

Revenue minus cost of goods sold (COGS). Measures profit after direct production costs before any operating overhead.
Gross profit as a percentage of revenue. Measures product-level pricing power and production efficiency.
Direct costs of producing or delivering the product or service: raw materials, direct labor, manufacturing overhead, and direct delivery costs.
Gross profit minus operating expenses (salaries, rent, marketing, R&D). Also called Earnings Before Interest and Taxes.
Operating income as a percentage of revenue. Measures how efficiently the entire business operation converts revenue to profit before financing and taxes.
Revenue minus all expenses including COGS, operating costs, interest, and income taxes. The 'bottom line' — what belongs to shareholders.
Net income as a percentage of revenue. The ultimate measure of profitability after all costs, showing how much of each revenue dollar becomes shareholder profit.
About

About this profit margin calculator

This calculator runs entirely in your browser — nothing you enter is sent to any server.

Browse more in our business calculators, or explore the complete library on the free calculators page.

Questions

Frequently asked questions about the free profit margin calculator

A profit margin calculator is a free online tool that helps you enter your revenue and costs to see net profit, profit margin, and markup — instantly, as you type. Nothing is sent anywhere; the math runs in your browser. Profit margin expresses how much of every dollar of revenue is left after costs. It's the single clearest measure of whether a price holds up. It runs entirely in your browser with instant results and no sign-up.
Profit margin is net profit divided by revenue, as a percentage. Net profit is revenue minus all costs. Example: $48,000 revenue − $31,200 costs = $16,800 profit; $16,800 ÷ $48,000 = a 35% margin.
It varies by industry, but a net margin above 20% is generally strong, 5–20% is healthy to moderate, and below 5% is thin. A negative margin means the business is running at a loss.
Margin is profit as a percentage of revenue (selling price); markup is profit as a percentage of cost. The same dollar profit always shows a higher markup % than margin %.

Want a calculator built for your business?

Customize any of our 400+ tools to match your brand, or commission a new one tailored to how your business actually calculates — pricing, payroll, quotes, anything. Deployed on your domain, math runs in your visitors' browsers.