Free Tool — No sign-up required

Profit Margin Calculator

Instantly calculate gross margin, markup, and total profit across multiple products. See sensitivity analysis, industry benchmarks, and break-even prices in one place.

Multi-product support20+ currencies15 industry benchmarks
$
$

Break-Even Price

$50.00

Gross Margin

37.50%

Markup %

60.00%

Profit / Unit

$30.00

Total Revenue

$8,000.00

Total Cost

$5,000.00

Total Profit

$3,000.00

Cost vs Profit Split

Cost Increase Sensitivity

Impact on total profit if cost rises by 5–20%

Industry Gross Margin Benchmarks

Average gross margins by sector (2024–2025 data)

IndustryLowTypicalHigh
SaaS / Software70%78%85%
Professional Services55%65%75%
Financial Services50%60%70%
Healthcare40%52%65%
E-Commerce / Online RetailYour range30%40%50%
Wholesale / DistributionYour range20%28%40%
Manufacturing20%27%35%
Retail (General)Your range25%38%50%
Grocery / Food Retail15%22%30%
Construction15%22%30%
Automotive10%17%25%
Restaurant / Food Service3%6%9%
Agriculture10%18%25%
Pharmaceuticals55%68%80%
Real EstateYour range20%30%40%

Frequently Asked Questions

What is gross profit margin?
Gross profit margin is the percentage of revenue remaining after deducting the cost of goods sold (COGS). It is calculated as: (Revenue − COGS) ÷ Revenue × 100. For example, if you sell a product for $80 and it costs $50 to produce, your gross margin is (80 − 50) ÷ 80 × 100 = 37.5%. A higher gross margin means more money is available to cover operating expenses and generate net profit.
What is the difference between profit margin and markup?
Profit margin (or gross margin) is calculated as a percentage of the selling price, while markup is calculated as a percentage of the cost. If your cost is $50 and selling price is $80: margin = (80 − 50) ÷ 80 = 37.5%, markup = (80 − 50) ÷ 50 = 60%. This distinction matters because a 50% markup does not equal a 50% margin — the markup will always be higher than the corresponding margin.
What is a good profit margin for my business?
A "good" margin depends heavily on your industry. SaaS businesses typically achieve 70–85% gross margins, while restaurants operate at 3–9%. Retail averages 25–50%, manufacturing 20–35%. The industry benchmarks table in this calculator shows typical ranges for 15 sectors. More important than hitting an industry benchmark is tracking whether your margins are improving over time and whether they adequately cover your fixed operating expenses.
What is the break-even price?
The break-even price is the minimum selling price at which you neither make a profit nor a loss — it equals your cost per unit. Any selling price above break-even generates a positive margin. If your cost is $50, your break-even price is $50. Selling at $80 gives you a $30 profit per unit. This calculator automatically shows your break-even price so you always know your floor.
How do I use the "Target Margin" mode?
Switch to "Target Margin" mode when you know your cost and the margin percentage you need — and want to calculate the required selling price. Enter your cost price and your desired margin (e.g., 40%). The calculator computes the selling price automatically using the formula: Selling Price = Cost ÷ (1 − Target Margin). This is useful for setting prices in wholesale, B2B contracts, or when working backward from financial targets.
What is the sensitivity analysis chart?
The "Cost Increase Sensitivity" chart shows how your total profit changes if your cost of goods increases by 5%, 10%, 15%, or 20%. This is critical for financial planning — understanding how a supplier price hike or materials cost increase affects your profitability. If a 10% cost increase wipes out most of your profit, you have thin margins and should consider pricing adjustments or cost reduction.
What is the difference between gross margin and net margin?
Gross margin accounts only for the direct cost of producing your product (COGS). Net margin subtracts ALL costs — including operating expenses (salaries, rent, utilities, marketing), interest, and taxes. For example, a business with 40% gross margin might have only 8% net margin after accounting for operating expenses. This calculator focuses on gross margin, which is the foundational metric for product pricing decisions.
How can I improve my profit margins?
There are two levers: increase selling price or reduce cost. On the revenue side: implement value-based pricing, add premium product tiers, bundle products, reduce discounting. On the cost side: negotiate better supplier terms, increase order volume for bulk pricing, optimize production processes, reduce waste, and automate repetitive tasks. ERP systems like Odoo provide real-time COGS tracking, helping you identify and eliminate margin leakage across your operations.

Understanding Profit Margins: A Complete Business Guide

Why Profit Margin Is Your Most Important Business Metric

Profit margin is the cornerstone of financial health. While revenue growth gets headlines, it is margin that determines whether a business actually creates value. A company generating $10 million in revenue with a 2% margin earns only $200,000 in gross profit — barely enough to cover rent, staff, and operations. Understanding your margin at every product level is the first step toward building a sustainably profitable business.

Gross margin specifically measures the profitability of your core product or service, stripping away the noise of overheads and financing costs. It answers the fundamental question: for every dollar I sell, how much do I actually keep before paying rent, salaries, and other operating expenses? This makes gross margin the essential metric for pricing decisions, product mix strategy, and investor conversations.

Margin vs. Markup: A Critical Distinction

One of the most common and costly errors in business pricing is confusing margin with markup. They are related but fundamentally different measures:

  • Gross Margin = (Selling Price − Cost) ÷ Selling Price × 100. It is expressed as a percentage of revenue.
  • Markup = (Selling Price − Cost) ÷ Cost × 100. It is expressed as a percentage of cost.

For a product costing $60 sold at $100: the gross margin is 40% but the markup is 66.7%. If a retailer instructs their buyers to achieve a "40% margin" but the buyers apply a 40% markup instead, they will systematically underprice every product and miss their financial targets. Always clarify which measure your team is using.

How to Set Prices for Your Target Margin

Rather than taking cost and guessing a selling price, professional buyers and finance teams work backward from a target margin. The formula is:

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

If your cost is $40 and you need a 50% gross margin: Selling Price = $40 ÷ (1 − 0.50) = $80. This approach is used by wholesale buyers, restaurant operators setting menu prices, and SaaS companies pricing their tiers. Our calculator's "Target Margin" mode automates this calculation, letting you set your financial goal first and derive the correct price.

Industry Benchmarks and What They Tell You

Gross margins vary dramatically across industries, and comparing yourself to the wrong benchmark leads to poor decisions. SaaS companies achieve 70–85% gross margins because their marginal cost of serving an additional customer is near zero — once software is built, replicating it costs almost nothing. Restaurants, by contrast, operate at 3–9% gross margins because every meal requires fresh ingredients, labor, and energy.

Manufacturing businesses typically target 20–35% gross margins, reflecting significant material and direct labor costs. E-commerce platforms fall in the 30–50% range depending on whether they sell own-brand or third-party products. Professional services firms (consulting, legal, accounting) often achieve 55–75%, since their primary cost is skilled labor which can be leveraged across multiple clients.

The benchmark table in this calculator highlights your industry range in green when your calculated margin falls within it — a quick visual check against peer performance.

Sensitivity Analysis: Planning for Cost Increases

One of the most underused planning tools is sensitivity analysis — asking "what happens to my profitability if costs rise?" In environments with supply chain volatility, currency fluctuations, or commodity price swings, the answer can be the difference between solvency and crisis.

The sensitivity chart in this calculator models your total profit at 0%, 5%, 10%, 15%, and 20% cost increases. Businesses with thin margins (under 20%) will see their profit nearly eliminated by a 15% cost increase, while high-margin businesses have a substantial buffer. This analysis tells you whether you need to renegotiate supplier contracts, hedge currency risk, or build a larger price buffer into your current pricing.

How ERP Systems Help You Track and Improve Margins

Manual spreadsheet-based margin tracking breaks down quickly as your product catalog grows. Modern ERP systems like Odoo automate margin tracking at every level: product, product category, sales order, customer, and time period. When a supplier raises prices, your ERP can immediately flag which products are now below your target margin threshold.

ECOSIRE helps businesses implement Odoo's accounting and inventory modules to build real-time profitability dashboards. Our accounting services cover everything from multi-platform bookkeeping (Odoo, QuickBooks, Xero) to CFO-level financial reporting. If you want to move from spreadsheet guesswork to data-driven margin management, we can help design and implement the right system for your business size and industry.

Need Help Improving Your Margins?

ECOSIRE's accounting and ERP specialists help businesses build real-time margin tracking, pricing strategies, and financial dashboards.

Chat on WhatsApp