Profit Margin Calculator

Calculate gross profit, gross profit margin, and profit after the expenses you enter. All values are user-supplied.

Profit After Entered Expenses — Enter your values and click Calculate Profit Margin.

Gross profit = revenue − cost of goods sold. Profit after entered expenses = gross profit − additional expenses. Each margin divides its respective profit by revenue, multiplied by 100. Revenue of $0 makes percentage margins undefined (N/A), not 0%. COGS and additional expenses are treated as separate, non-overlapping costs. Taxes and other costs not entered are excluded. This is not a finalized accounting statement.

How to Calculate Profit Margin

Profit margin measures how much of a business’s revenue remains as profit after specified costs. It helps business owners understand profitability, compare financial performance, and evaluate pricing decisions.

Quick answer: To calculate profit margin, subtract the relevant costs from revenue, divide the resulting profit by revenue, and multiply by 100. The costs included determine which type of profit margin you are measuring.

The EarnLookup Profit Margin Calculator shows gross profit, gross profit margin, and profit remaining after the additional expenses you enter.

Profit Margin Formula

Gross Profit = Revenue − Cost of Goods Sold

Gross Profit Margin (%) = (Gross Profit ÷ Revenue) × 100

When additional expenses are included:

Profit After Entered Expenses = Revenue − Cost of Goods Sold − Additional Expenses

Profit Margin After Entered Expenses (%) = (Profit After Entered Expenses ÷ Revenue) × 100

These percentage formulas require revenue greater than zero. When revenue is zero, the calculator displays N/A rather than an undefined margin.

How to Use the Profit Margin Calculator

  1. Revenue (USD): Enter total revenue for the period or activity you are evaluating.
  2. Cost of Goods Sold (USD): Enter the direct costs associated with the goods or services sold.
  3. Additional Expenses (USD): Enter the other expenses you want to deduct.
  4. Click Calculate Profit Margin.
  5. Review gross profit, gross profit margin, profit after entered expenses, and the corresponding margin.

Use figures from the same accounting period and apply a consistent accounting basis. Mixing monthly revenue with annual expenses will produce misleading results.

Profit Margin Calculation Example

Suppose a business has $10,000 in revenue, $6,000 in cost of goods sold, and $1,000 in additional expenses.

Financial Metric Amount
Revenue $10,000
Cost of Goods Sold $6,000
Gross Profit $4,000
Gross Profit Margin 40%
Additional Expenses $1,000
Profit After Entered Expenses $3,000
Profit Margin After Entered Expenses 30%

The business retains 40 cents of gross profit for each dollar of revenue before additional expenses.

After deducting the entered expenses, 30 cents per revenue dollar remains.

This is an illustrative calculation, not an industry benchmark.

Gross Profit Margin vs. Net Profit Margin

Gross profit margin and net profit margin describe different levels of profitability.

Gross Profit Margin

Gross profit margin measures the amount remaining after deducting cost of goods sold.

It helps businesses evaluate the relationship between sales revenue and direct production or service-delivery costs.

Net Profit Margin

Net profit margin generally reflects net income after all relevant expenses, including applicable operating costs, interest, and taxes, divided by revenue.

Important: Our calculator’s Profit Margin After Entered Expenses is not necessarily a true accounting net profit margin.

It subtracts only cost of goods sold and the additional expenses entered by the user. If taxes, interest, depreciation, or other relevant costs are omitted, the result does not represent finalized net income.

What Is a Good Profit Margin?

There is no single profit margin that is appropriate for every business.

Profitability varies with the industry, business model, operating structure, accounting methods, and economic conditions.

For a useful comparison, examine businesses with similar operations and financial reporting methods. Industry-specific financial statements and consistent historical performance are more informative than an unsupported universal target percentage.

A higher margin can indicate that a business retains more profit per dollar of revenue, but margin alone does not measure cash flow, business risk, or overall financial health.

What Happens When Profit Margin Is Negative?

A negative margin indicates that the relevant costs exceed revenue.

Consider this example:

Financial Metric Amount
Revenue $5,000
Cost of Goods Sold $6,000
Additional Expenses $1,000
Gross Profit -$1,000
Gross Profit Margin -20%
Profit After Entered Expenses -$2,000
Profit Margin After Entered Expenses -40%

The negative result is mathematically valid. The business has recorded a loss under the costs included in the calculation.

Reviewing selling prices, direct costs, operating expenses, and sales volume can help identify the underlying causes.

Profit Margin vs. Markup

Profit margin and markup are related but different.

Profit Margin = (Selling Price − Cost) ÷ Selling Price × 100

Markup = (Selling Price − Cost) ÷ Cost × 100

For example, an item that costs $80 and sells for $100 produces:

  • Gross profit: $20
  • Gross profit margin: 20%
  • Markup: 25%

Confusing markup with margin can lead to pricing mistakes.

Our Profit Margin Calculator measures margin using revenue as the denominator. It is not a markup calculator.

How Can a Business Improve Profit Margin?

Improving margin requires evaluating both the revenue generated and the costs incurred.

Review Direct Costs

Examine purchasing costs, supplier pricing, production waste, and other expenses directly associated with providing products or services.

Evaluate Pricing

Determine whether existing prices adequately cover costs while remaining appropriate for customers and competitive conditions.

Analyze Operating Expenses

Identify recurring costs that do not contribute sufficient business value. Avoid removing expenses essential to quality, reliability, or customer service.

Monitor Performance Consistently

Compare margins using consistent accounting periods and cost classifications. This helps identify whether profitability changes result from pricing, costs, product mix, or sales volume.

Frequently Asked Questions

How Do You Calculate a 20% Profit Margin?

Divide profit by revenue and multiply by 100. For example, $20 of profit on $100 of revenue represents a 20% profit margin.

Can Profit Margin Be Negative?

Yes. When the costs included in the calculation exceed revenue, profit margin becomes negative.

What Does a 40% Gross Profit Margin Mean?

It means 40% of revenue remains after deducting cost of goods sold, before deducting other expenses.

Can Profit Margin Be Calculated With Zero Revenue?

No. Percentage profit margin requires division by revenue. When revenue is zero, the percentage is undefined.

Does This Calculator Include Taxes?

Only if the user explicitly includes applicable taxes within the entered expenses. The tool does not automatically calculate tax liabilities or apply country-specific tax rules.

Calculation Methodology

Calculation type: Gross profit margin and profit margin after user-entered expenses.

Currency: United States dollars (USD).

Inputs: Revenue, cost of goods sold, and additional expenses.

Method: Standard arithmetic relationships between revenue, costs, profit, and percentage margins.

Limitations: The calculator does not independently calculate tax obligations, cash flow, financing costs, depreciation, or accounting adjustments. Results reflect only the entered figures.

Further reading:

EarnLookup provides general calculation tools and educational information. Results should not be treated as audited financial statements or personalized financial advice.