Profit Margin Calculator

Quick Answer

Profit Margin = ((Revenue − Cost) / Revenue) × 100. Enter your revenue and cost below to calculate instantly.

Enter revenue and cost to calculate margin

Understanding Profit Margin

Profit margin is one of the most important metrics in business and finance. It tells you what percentage of your revenue is actually profit after accounting for costs. A higher margin means more money retained per dollar of sales, which typically indicates a more efficient or premium business model.

The Formula

Profit Margin = ((Revenue − Cost) / Revenue) × 100

First, calculate gross profit by subtracting cost from revenue. Then divide that profit by revenue (not cost) and multiply by 100 to get a percentage. This base number is called the gross profit margin.

Margin vs. Markup: A Critical Distinction

Many business owners confuse margin and markup, which can lead to serious pricing mistakes. Both measure profitability, but they use different bases:

If an item costs $60 and sells for $100, the gross profit is $40. The margin is 40% (40/100), but the markup is 66.7% (40/60). Markup is always a larger number than margin for the same transaction. Retailers often think in terms of markup when pricing goods, while accountants and investors prefer margin when analyzing profitability.

Types of Profit Margin

Businesses track several layers of margin to understand where costs occur:

Industry Benchmarks

Profit margins vary enormously by industry. Software-as-a-service (SaaS) companies often achieve gross margins of 70-80% because the marginal cost of serving an extra customer is near zero. Manufacturing businesses typically see gross margins of 20-40%. Grocery stores operate on razor-thin net margins of 1-3%, relying on volume. Understanding your industry's benchmark is essential for evaluating your own performance.

Improving Your Profit Margin

Margin improvement comes from either increasing revenue without proportionally increasing costs, or reducing costs without losing revenue. Common strategies include raising prices for premium positioning, reducing material costs through bulk purchasing or supplier negotiation, improving operational efficiency, and eliminating low-margin product lines.

Frequently Asked Questions

What is profit margin?

Profit margin is the percentage of revenue remaining after deducting costs. Formula: ((Revenue − Cost) / Revenue) × 100. A 30% margin means 30 cents of every dollar earned is profit.

What is the difference between margin and markup?

Margin uses revenue as the denominator; markup uses cost. For a $100 item costing $60: margin = 40%, markup = 66.7%. Margin is always smaller than markup for the same transaction.

What is a good profit margin?

It depends on the industry. Software: 15-25%+ net. Retail: 2-5% net. Service businesses: 10-20%. Compare against industry peers rather than an absolute standard.

How do I calculate profit margin from cost and revenue?

Subtract cost from revenue to get profit, divide profit by revenue, then multiply by 100. Example: $1000 revenue, $700 cost → $300 profit → 30% margin.

Related: Percentage Change CalculatorSales Tax CalculatorAll Percentage Tools