Free business calculator

Profit Margin Calculator

Calculate gross, operating, and net profit margins—and see the expenses and markup behind the numbers.

Business inputs

Enter your figures

Decimal monetary amounts are supported. All fields are required.

Total income from sales before expenses.

Direct cost of producing the goods or services sold.

Day-to-day costs such as payroll, rent, and software.

Interest paid on loans or other business debt.

Estimated taxes included in this calculation.

Additional costs not included in the fields above.

Changes display symbols only, not the calculation.

Your results

Profit snapshot

Based on the values from your latest calculation.

Full breakdown

Net Profit
$22,000.00 positive
Gross Profit
$60,000.00 positive
Gross Profit Margin
60.00% positive
Operating Profit
$30,000.00 positive
Operating Profit Margin
30.00% positive
Total Expenses
$78,000.00
Markup
150.00%

This calculator provides estimates for planning and comparison, not financial, accounting, tax, investment, or legal advice.

01

What is profit margin?

Profit margin shows how much profit a business keeps from each dollar of revenue. It converts an absolute profit figure into a percentage, making it easier to compare performance across periods, products, or businesses of different sizes.

There is more than one useful margin. Gross profit margin focuses on direct production costs, operating margin adds the cost of running the business, and net profit margin includes all expenses entered in this calculator.

02

How to calculate profit margin

First choose the level of profit you want to examine. Subtract the relevant costs from revenue, divide that profit by revenue, and multiply by 100.

Gross margin = (Revenue − Cost of Goods Sold) ÷ Revenue × 100

Operating margin = (Gross Profit − Operating Expenses) ÷ Revenue × 100

Net margin = (Revenue − Total Expenses) ÷ Revenue × 100

A 22% net profit margin means the business keeps $0.22 as net profit for every $1.00 of revenue under the costs included.

03

Gross profit margin vs operating margin vs net profit margin

Gross profit margin isolates pricing and direct production efficiency. It excludes overhead, interest, and taxes. Operating margin also subtracts operating expenses, so it reflects the core business before financing and taxes. Net profit margin includes every expense entered and is the broadest view of profitability.

Looking at all three helps locate the source of a change. A stable gross margin with a falling operating margin may point to rising overhead rather than a product-cost or pricing problem.

04

What is a good profit margin?

A useful margin depends on industry, business model, company stage, and accounting choices. A grocery store and a software company have very different cost structures, so a single universal benchmark can be misleading.

Compare like with like: track your own margin over consistent periods and compare it with businesses that have similar products, scale, and cost definitions. Also check cash flow; a positive accounting margin does not guarantee cash is available when bills are due.

05

How to improve profit margin

  • Review pricing by product and customer instead of applying a blanket increase.
  • Reduce direct costs through sourcing, waste control, or a more profitable sales mix.
  • Audit recurring operating expenses and measure whether each supports revenue or essential operations.
  • Track gross, operating, and net margin separately so savings in one area are not hidden by increases elsewhere.
  • Model changes before acting, then compare the forecast with actual results using the same definitions.

06

Profit margin calculation example

Suppose revenue is $100,000, cost of goods sold is $40,000, operating expenses are $30,000, interest is $2,000, taxes are $5,000, and other expenses are $1,000.

  1. Gross Profit: $100,000 − $40,000 = $60,000, giving a 60% gross profit margin.
  2. Operating Profit: $60,000 − $30,000 = $30,000, giving a 30% operating profit margin.
  3. Net Profit: total expenses are $78,000, so $100,000 − $78,000 = $22,000, giving a 22% net profit margin.

Gross profit divided by the $40,000 cost of goods sold also produces a 150% markup.

07

Frequently asked questions

What is the difference between profit margin and markup?

Profit margin measures profit as a percentage of revenue. Markup measures gross profit as a percentage of cost of goods sold. The same sale can therefore have a different margin and markup.

Can profit margin be negative?

Yes. A negative margin means the relevant costs are greater than revenue. For example, net profit margin is negative when total expenses exceed revenue.

Why does the calculator show N/A?

A margin cannot be calculated when revenue is zero, because the formula divides by revenue. Markup cannot be calculated when cost of goods sold is zero.

Does changing the currency change the calculation?

No. Currency changes only the symbol used to display monetary results. The formulas and numeric values stay the same.

Should taxes and interest be included in gross profit?

No. Gross profit subtracts only cost of goods sold from revenue. This calculator includes interest and taxes when calculating total expenses and net profit.