Profit Margin Calculator – Gross, Operating and Net Margin

Calculate three levels of business profitability from one reporting period. Your figures stay in this browser and are not saved or transmitted by the calculator.

Inputs

Calculation method

Input rules
  • Use net revenue and figures from the same reporting period.
  • Enter ordinary costs, interest and tax expense as positive amounts.
  • Enter a refund, credit or income item in an expense field as a negative amount.

Build the three profit levels from a simplified income statement. Blank optional fields are treated as zero.

Revenue after returns, allowances and discounts; minimum 0.000000001.
Exclude cost of sales, interest and income tax.
Positive for income; negative for expense.
Exclude interest entered below.
No account or upload is needed. Inputs are processed only in your browser.

Profit margin results

Gross profit
Operating profit
Net profit

Enter valid figures to compare the three margins.

Calculation steps

  1. Results and formulas will appear here.

Advertisement

Gross vs Operating vs Net Profit Margin

Each margin answers a different question using the same denominator: net revenue. Gross margin shows what remains after the direct cost of sales. Operating margin goes further by including operating expenses. Net margin includes non-operating items, interest and income tax, making it the broadest bottom-line measure in this simplified statement.

Margin Profit numerator Main costs included Useful for Common limitation
Gross Revenue − cost of sales Direct product or service delivery costs Pricing, production and delivery economics Cost classifications vary between businesses
Operating Gross profit − operating expenses + other operating items Direct costs plus ordinary operating overhead Core operating performance May include different operating items under different reporting policies
Net Operating profit + non-operating items − interest − tax All items entered through the bottom line Overall profitability attributable to the period Can move because of financing, tax or one-off items

Profit Margin Formulas

Gross profit = Net revenue − Cost of goods sold Gross margin = Gross profit ÷ Net revenue × 100 Operating profit = Gross profit − Operating expenses + Other operating income/(expense) Operating margin = Operating profit ÷ Net revenue × 100 Net profit = Operating profit + Non-operating income/(expense) − Interest expense − Income tax expense Net profit margin = Net profit ÷ Net revenue × 100

These formulas follow the ordinary income-statement progression described in the SEC’s guide to financial statements and its income statement building blocks. The IRS also describes gross profit as net receipts minus cost of goods sold in Publication 334.

Terminology and line-item classification can differ across accounting standards, industries and company policies. If your statement already reports the three profit figures, use the direct method.

Worked Profit Margin Example

Stage Example calculation Profit Margin
Gross 250,000 revenue − 110,000 cost of sales 140,000 56.00%
Operating 140,000 gross profit − 85,000 operating expenses + 5,000 other operating income 60,000 24.00%
Net 60,000 operating profit + 3,000 non-operating income − 8,000 interest − 8,000 tax 47,000 18.80%

How to Use This Calculator

  1. Choose From revenue & expenses to build a simplified income statement, or choose From known profit figures if the profits are already reported.
  2. Select a display currency and reporting-period label. Currency does not change the math or perform exchange-rate conversion.
  3. Enter revenue and every applicable amount from the same period. Use positive numbers for ordinary costs and negative numbers for credits or reversals.
  4. Review the profit amounts, margin percentages and formula steps. Copy the summary or download a CSV for your own records.

Frequently Asked Questions

How do you calculate gross profit margin?

Subtract cost of goods sold or cost of revenue from net revenue, divide the result by net revenue, then multiply by 100.

How do you calculate operating profit margin?

Divide operating profit by net revenue and multiply by 100. This calculator derives operating profit from gross profit, operating expenses and other operating income or expense.

How do you calculate net profit margin?

Divide net profit by net revenue and multiply by 100. The simplified calculation includes the non-operating, interest and tax figures you enter.

What is the difference between gross, operating and net margin?

Gross margin includes direct cost of sales. Operating margin also includes operating overhead. Net margin includes the remaining non-operating items, interest and income tax.

Can a margin be negative or more than 100%?

Yes. A negative margin represents a loss at that stage. A margin above 100% is mathematically possible with large income adjustments or negative costs, but it is unusual and worth checking.

Should revenue include sales tax?

Use the net revenue reported under your accounting framework. Amounts collected on behalf of tax authorities are generally excluded from revenue, but treatment can vary, so consult your records or adviser.

What is a good profit margin?

There is no universal benchmark. Compare the same definitions across similar businesses and periods, and consider the industry, business model, location, scale and accounting policies.

Does this calculator store my financial figures?

No. It calculates locally in the browser and does not save or transmit the values entered.

Assumptions and Limits

Informational only — not accounting, tax, investment or financial advice.

This is a simplified income-statement model. It does not determine whether an item belongs in revenue, cost of sales, operating expense, other income, discontinued operations or another reporting line. It also does not adjust for segment reporting, non-controlling interests, earnings attributable to different share classes, comprehensive income, or non-GAAP adjustments.

For filed, audited or decision-critical figures, reconcile the result to the applicable financial statements and accounting policy, and consult a qualified professional where appropriate.

Explore more tools