Profit Margin Calculator

Profit margin calculator finds the percentage of revenue you keep as profit after costs. Enter revenue and total cost to instantly see your profit margin, dollar profit, and how it compares to industry benchmarks. Supports gross profit margin, operating margin, and net profit margin calculations for retail, SaaS, restaurants, manufacturing, and service businesses.

Enter Values

$

Total income from sales

$

Total cost of goods or services

Result

Enter values above and click Calculate to see your result.

AI Assistant

Ask about this calculator

I can help you understand the profit margin calculator formula, interpret your results, and answer follow-up questions.

Try asking

Formula

#
Core Formula
Profit Margin=RevenueCostRevenue×100\text{Profit Margin} = \frac{\text{Revenue} - \text{Cost}}{\text{Revenue}} \times 100

How it works: Subtract total cost from total revenue to find profit. Divide that profit by revenue (not cost) to get the decimal margin. Multiply by 100 to convert to a percentage. The denominator is revenue, which is what makes this margin (not markup).

Review and Methodology

Updated Apr 10, 2026

This calculator runs locally in your browser. Inputs are converted into the units required by the formula, and the result is paired with supporting references so you can verify the method before using it for planning or estimates.

Worked Example

A retail store with $500 in revenue and $350 in cost:
1Step 1: Profit = $500 - $350 = $150
2Step 2: Decimal margin = $150 / $500 = 0.30
3Step 3: Convert to percentage = 0.30 x 100 = 30%
4Step 4: Compare to industry: 30% is excellent for retail (typical 3-5% net)
Result: 30% profit margin means you keep $0.30 from every $1.00 of revenue

Understanding Profit Margin: The Most Important Business Metric

Profit margin measures the percentage of revenue you keep as profit after subtracting costs. It is the single most important indicator of business health because it tells you how efficiently your company converts sales into actual earnings.

  • Gross profit margin uses only direct costs (COGS): (Revenue - COGS) / Revenue. Measures production and pricing efficiency
  • Operating profit margin adds operating expenses (rent, salaries, marketing): (Revenue - COGS - OpEx) / Revenue. Measures operational efficiency
  • Net profit margin subtracts ALL costs including interest and taxes. This is the bottom line investors care about most
  • A business can have healthy 40% gross margin but only 5% net margin if overhead is high. Track all three to spot where money is leaking
  • Margin and markup are NOT the same. A 50% markup only produces a 33.3% margin. Confusing them costs businesses thousands per year

Use this calculator to find your margin instantly, then compare against industry benchmarks. For pricing decisions, also use the Markup Calculator. For full business analysis, the Gross Profit Calculator and Break Even Calculator complete the picture.

You can also calculate changes using our Markup Calculator, Gross Profit Calculator, Net Profit Calculator, Discount Calculator or Break-Even Calculator.

Profit Margin Benchmarks by Industry

Typical gross profit margin and net profit margin ranges by industry. Use these benchmarks to evaluate whether your margin is competitive for your sector.

IndustryGross MarginNet MarginNotes
Grocery / Supermarket20-30%1-3%Razor-thin margins offset by high volume
Restaurants60-70%3-9%Labor and rent eat most of gross margin
Retail (general)40-50%3-5%Keystone pricing (2x cost) is the baseline
Construction15-25%2-6%Project-based, high competition
Manufacturing25-35%5-10%Varies by product type and automation
Healthcare Services40-60%5-15%Specialty practices yield higher margins
Financial Services50-70%15-25%Scale and recurring revenue create efficiency
Technology / SaaS70-85%20-40%Near-zero marginal cost per customer
Consulting / Professional Services50-70%15-25%Labor is the primary cost
Luxury Goods60-80%10-20%Premium branding supports high markup
E-commerce (general)40-50%5-10%Shipping and returns reduce net margin
Auto Dealerships5-10%1-3%Volume-based, manufacturer controls pricing

Note: Gross margin = (Revenue - COGS) / Revenue. Net margin = Net Income / Revenue (after all expenses, taxes, and interest). Benchmarks are general industry averages. Your specific margin depends on size, location, brand positioning, and operational efficiency. A startup or growth-stage business may operate below these benchmarks while investing in expansion. For educational reference only.

Frequently Asked Questions

What is a good profit margin?

It depends on the industry. The general rule is 5% net margin is low, 10% is average, and 20% is high. Grocery stores typically run 1-3%, restaurants 3-9%, retail 3-5%, manufacturing 5-10%, healthcare 5-15%, and SaaS/software 20-40%. Always benchmark against your specific industry.

What is the difference between margin and markup?

Margin is profit as a percentage of selling price. Markup is profit as a percentage of cost. The same product can have a 50% markup but only a 33.3% margin. For example, a $60 cost item sold for $90: markup = $30/$60 = 50%, but margin = $30/$90 = 33.3%. Confusing them is the most common pricing mistake.

What is gross vs net profit margin?

Gross margin only subtracts direct costs (COGS) from revenue: (Revenue - COGS) / Revenue. Net margin subtracts ALL expenses including operating costs, interest, and taxes: Net Income / Revenue. A business can have a healthy 40% gross margin but only 5% net margin if overhead is high.

How do I calculate profit margin from price and cost?

Subtract cost from price to get profit, then divide profit by price. For example, a $100 item that cost $60 to produce: profit = $100 - $60 = $40. Margin = $40 / $100 = 0.40 = 40%. The key is dividing by price (the larger number), not by cost.

How can I improve my profit margin?

Three main levers: raise prices (5-10% test increases often boost margin without major volume loss), reduce costs (negotiate suppliers, eliminate low-margin SKUs, automate repetitive tasks), and improve mix (push higher-margin products through bundling, promotions, and upsells). A 5% price increase on a 30% margin product can increase profits by 17%.

What margin should I target for my product?

Start with industry benchmarks then adjust for your costs and competition. Retail apparel often targets 50% gross margin (keystone pricing). Restaurants target 65-75% food margin (3x ingredient cost). SaaS targets 70-85% gross margin. B2B services target 50-70% gross margin. Subtract your operating overhead percentage to find target net margin.

Is it possible to embed the Profit Margin Calculator on another website?

Yes, embedding the Profit Margin Calculator is free. Hit the "Embed" button on this page, adjust the width, height, and theme, then grab the iframe code. It works on WordPress, Wix, Squarespace, Shopify, and plain HTML pages. No registration needed. Full instructions at calculory.com/services/embed-calculators.

Secure and Private

All calculations run locally. Your business data never leaves your browser.

Verified Precision

Precise Business Calculations Powered by Calculory AI