Profit Margin Calculator

Calculate Profit Margin

Turn revenue and cost inputs into gross margin, optional operating margin, profit, and markup.

Leave blank to calculate gross margin only.

Margin summary

Gross margin Enter business values Profit, margin, and markup will appear here.

Estimates only. The calculator does not decide which accounting costs belong in COGS or operating expenses.

Important Finance Disclaimer

This calculator is for estimates only and educational purposes. It does not constitute financial, investment, loan, tax, legal, accounting, or other professional advice. Always verify important decisions with a qualified professional and the relevant lender, advisor, tax authority, or service provider.

Inputs, units, and periods

  • Revenue, cost of goods sold, and optional operating expenses are treated as dollar amounts.
  • Margins are returned as percentages based on the values you enter.
  • Gross margin uses revenue minus cost of goods sold; operating margin also subtracts operating expenses when provided.
  • Markup is based on gross profit divided by cost.

Items not included

  • Income taxes, interest expense, depreciation, inventory accounting methods, refunds, discounts, and one-time charges.
  • Industry-specific accounting rules, audited financial statement adjustments, and tax reporting requirements.
  • Cash-flow timing, working capital needs, or legal accounting advice.

Actual outcomes can differ because of rounding, fees, taxes, insurance, compounding rules, APR disclosures, loan terms, market conditions, provider policies, and the exact timing of payments or cash flows.

What is Profit Margin?

Profit margin is a financial metric that measures how much profit a business makes for every dollar of revenue. It's expressed as a percentage and indicates how efficiently a company converts revenue into profit.

A higher profit margin means the company is more efficient at converting revenue into profit. Different industries have different average profit margins, so it's important to compare within your industry.

How Profit Margins Are Calculated

Follow these detailed steps:

  1. Step 1: Calculate Revenue and Costs
    Identify total revenue and the specific costs for each margin type. Gross margin uses COGS, operating margin adds operating expenses, net margin includes all costs.
  2. Step 2: Determine Profit
    Subtract relevant costs from revenue. For gross profit: Revenue - COGS. For operating profit: Gross Profit - Operating Expenses.
  3. Step 3: Express as Percentage
    Divide profit by revenue and multiply by 100. A $50,000 profit on $200,000 revenue = 25% margin. This means 25 cents of every dollar is profit.

Formula

Profit Margin = (Profit / Revenue) × 100%

Gross Margin: (Revenue - COGS) / Revenue × 100%

Operating Margin: (Revenue - COGS - Operating Expenses) / Revenue × 100%

Markup: (Selling Price - Cost) / Cost × 100%

Example

Business Profit Example

Problem: A company has $500,000 in revenue, $300,000 in cost of goods sold, and $100,000 in operating expenses. What are the profit margins?

Solution:

  1. Gross Profit: $500,000 - $300,000 = $200,000
  2. Gross Margin: ($200,000 / $500,000) × 100% = 40%
  3. Operating Profit: $200,000 - $100,000 = $100,000
  4. Operating Margin: ($100,000 / $500,000) × 100% = 20%
  5. For every $1 of revenue, the company keeps $0.40 as gross profit and $0.20 as operating profit.

Quick Calculation Tips

  • Gross margin reveals production/service efficiency
  • Operating margin shows business management effectiveness
  • Net margin is the ultimate measure of profitability
  • Compare margins to industry benchmarks to assess competitiveness

Common Mistakes to Avoid

  • Confusing margin with markup
    25% markup is NOT 25% margin. $100 item with 25% markup = $125 price. Margin = $25/$125 = 20%.
  • Using gross margin only
    Gross margin ignores operating costs. A high gross margin with high expenses can still result in losses.

Frequently Asked Questions

What is a good profit margin?

A "good" profit margin varies by industry. Retail businesses typically have 2-5% net margins, software companies often have 15-25% or higher, and consulting firms might have 15-30%. Compare your margins to industry benchmarks to gauge performance.

What's the difference between margin and markup?

Margin is calculated as a percentage of revenue (Profit/Revenue), while markup is calculated as a percentage of cost (Profit/Cost). For example, a 50% markup equals a 33.3% margin. Confusing these can lead to pricing errors.

How can I improve my profit margin?

You can improve profit margins by increasing prices, reducing cost of goods sold, cutting operating expenses, improving operational efficiency, or focusing on higher-margin products or services. A combination of these strategies often works best.