Profit Margin Calculator

Calculate gross profit margin, operating profit margin, net profit margin, and markup using your business revenue and expenses.

You can also estimate the selling price needed to reach a target profit margin.

Enter Your Business Financial Details

Use the same reporting period for all revenue and expense amounts.
Sales revenue after returns and discounts, before subtracting business expenses.
Direct costs associated with producing or delivering the goods or services sold.
Operating expenses excluding COGS, interest, and income taxes.
Enter net non-operating expenses. This simplified model does not separately handle non-operating income.
Enter the income tax expense for the same reporting period.
Optional Product Pricing Calculator
Enter the direct unit cost used to calculate gross margin.
The desired gross margin before operating expenses and taxes.
Your Net Profit Margin
—
Gross Profit Margin —
Operating Profit Margin —
Net Profit —

Business Profit Breakdown

Gross Profit
—
Operating Profit
—
Total Expenses
—

How Your Revenue Is Allocated

COGS Operating Expenses Other Expenses Income Tax Net Profit

Profit Margin Comparison

Business profit margins

Product Pricing and Markup

Current Gross Margin Per Unit —
Current Markup on Cost —
Gross Profit Per Unit —
Required Price for Target Margin —
Difference From Current Price —
Target Gross Margin —

Profit Margin at Different Selling Prices

Price Scenario Selling Price Unit Gross Profit Gross Margin Markup
Calculation assumptions: Gross profit equals revenue minus COGS. Operating profit equals gross profit minus operating expenses. Net profit equals operating profit minus non-operating expenses and income tax expense. Revenue and expenses must refer to the same reporting period. The unit pricing calculator uses direct unit cost only, so its margin is a gross margin rather than a net margin. Currency selection changes the display format but does not convert exchange rates.

What Is Profit Margin?

Profit margin measures how much profit a business earns relative to its revenue. It is commonly expressed as a percentage and helps business owners understand how effectively sales are converted into profit.

Different profit margins measure profitability at different stages of the income statement.

How to Calculate Profit Margin

The general profit margin formula is:

Profit Margin = (Profit ÷ Revenue) × 100

If a business generates $50,000 in revenue and earns $9,000 in net profit, its net profit margin is 18%.

Gross Profit Margin Formula

Gross profit margin measures revenue remaining after subtracting the direct costs of producing or delivering goods and services.

Gross Margin = [(Revenue − COGS) ÷ Revenue] × 100

Gross margin is useful when evaluating product pricing, production efficiency, and direct costs.

Operating Profit Margin Formula

Operating profit margin measures profitability after subtracting COGS and operating expenses, but before interest and income taxes.

Operating Margin = (Operating Profit ÷ Revenue) × 100

Operating expenses may include administrative costs, rent, marketing, and other expenses associated with running the business.

Net Profit Margin Formula

Net profit margin measures the percentage of revenue remaining after the modeled business expenses and income tax expense.

Net Profit Margin = (Net Profit ÷ Revenue) × 100

Net profit margin provides a broader measure of profitability than gross margin alone.

Profit Margin vs. Markup

Profit margin and markup both describe pricing, but they use different denominators.

Profit margin compares gross profit with selling price. Markup compares gross profit with cost.

Example: Cost $40, Selling Price $80

Gross profit is $40. Gross profit margin is 50%, while markup is 100%. The two percentages are not interchangeable.

How to Calculate Selling Price From Target Margin

If you know the cost per unit and your desired gross margin, you can estimate the selling price using:

Selling Price = Unit Cost ÷ (1 − Target Margin)

Enter the target margin as a decimal. For example, a $40 product cost with a 40% target gross margin requires a selling price of approximately $66.67.

What Is a Good Profit Margin?

A good profit margin depends on the industry, business model, pricing strategy, competition, and operating cost structure.

Businesses with high direct costs may operate with different margins from software companies or professional service firms.

Rather than relying on one universal benchmark, compare margins with similar businesses and track changes over time.

Ways to Improve Profit Margins

  • Review product pricing and discount strategies.
  • Reduce avoidable direct costs without sacrificing quality.
  • Monitor operating expenses relative to revenue.
  • Identify products or services with stronger contribution margins.
  • Improve inventory management and reduce waste.
  • Track gross, operating, and net margins separately.
  • Evaluate customer acquisition costs and marketing efficiency.

Frequently Asked Questions

How do I calculate profit margin?

Divide the relevant profit amount by revenue and multiply by 100. Use gross profit, operating profit, or net profit depending on the margin you want to measure.

What is the difference between gross and net profit margin?

Gross margin deducts the direct costs of goods or services sold. Net margin also reflects operating, non-operating, and income tax expenses.

Is a 20% profit margin good?

A 20% margin may be strong for some industries and ordinary for others. Its meaning depends on whether it is a gross, operating, or net margin and how it compares with similar businesses.

Is markup the same as profit margin?

No. Markup is calculated using cost as the denominator. Profit margin uses the selling price or revenue as the denominator.

Can profit margin be negative?

Yes. If expenses exceed revenue, profit becomes negative and the corresponding profit margin indicates a loss.

How do I calculate a selling price for a target margin?

Divide the unit cost by one minus the target gross margin expressed as a decimal. This produces the selling price needed for that gross margin, before other expenses.

Does this calculator include taxes?

Yes. You can enter income tax expense when calculating net profit. The calculator does not automatically estimate taxes based on a jurisdiction's tax laws.

Related Business & Startup Guides

Profitability depends on pricing, customer acquisition, and sustainable business operations. These guides explore related topics.

Disclaimer: This calculator provides simplified business profitability estimates for educational purposes. Accounting treatment, taxes, inventory valuation, and expense classifications may vary. Results are not professional accounting, tax, or financial advice.