Profit Margin Calculator
Calculate profit margin, markup percentage, and selling price in seconds. Enter your cost and revenue to see gross profit, margin, and markup side by side, or use the price finder to determine the selling price needed for your target margin.
Calculate Margin from Cost & Revenue
Enter the cost and selling price (revenue) for one unit or total amounts. Results update in real time.
Industry Profit Margin Benchmarks
Typical gross and net profit margins by industry. Use these as a reference to see how your business compares.
| Industry | Gross Margin | Net Margin |
|---|---|---|
| Software / SaaS | 70 – 85% | 20 – 40% |
| Financial Services | 60 – 80% | 15 – 30% |
| Healthcare / Pharma | 60 – 80% | 10 – 20% |
| Professional Services | 50 – 70% | 15 – 25% |
| Manufacturing | 25 – 40% | 5 – 10% |
| E-Commerce | 40 – 60% | 5 – 15% |
| Restaurants / Food | 55 – 65% | 3 – 9% |
| Retail (General) | 25 – 50% | 2 – 5% |
| Grocery | 25 – 30% | 1 – 3% |
| Construction | 15 – 25% | 3 – 7% |
Core Capabilities
Two Calculation Modes
Switch between the margin calculator and the price finder with a single click. The margin calculator takes cost and revenue as inputs and returns gross profit, margin percentage, and markup percentage. The price finder works in reverse: enter your cost and desired margin, and it calculates the exact selling price you need to charge. Both modes update results instantly as you type, eliminating the need to press a calculate button or wait for a page reload.
Margin vs. Markup Comparison
One of the most common business accounting mistakes is confusing margin with markup. This calculator shows both values side by side with a visual bar chart so you can see the difference at a glance. A callout message explains the relationship between the two numbers in plain language, helping you avoid pricing errors that can significantly impact profitability. The cost factor multiplier is also displayed so you can quickly scale prices across product lines.
Industry Benchmarks
Compare your calculated margins against typical ranges for ten major industries. The built-in benchmark table shows both gross and net profit margin ranges so you can evaluate whether your pricing strategy is competitive. Whether you run a SaaS company, a retail store, or a restaurant, these reference numbers give you context for understanding your financial performance without needing to research industry averages separately.
Using Profit Margin Calculator in 4 Steps
- Choose a calculation mode. The Margin Calculator tab lets you enter cost and revenue to find your margins. The Price Finder tab lets you enter cost and a desired margin to find the selling price you need.
- Enter your numbers. Type the cost of your product or service and either the selling price or your target margin percentage. Results appear instantly as you type.
- Review the results. The calculator displays gross profit in dollars, margin percentage, markup percentage, and the cost factor multiplier. A visual bar chart and callout text highlight the difference between margin and markup.
- Copy your results using the Copy Results button to paste them into spreadsheets, invoices, or business plans. Use the Clear button to reset all fields and start a new calculation.
- Scroll down to the industry benchmark table to compare your margins against typical ranges for your sector.
Gross margin and net margin tell different stories about your business. A high gross margin with a low net margin signals that your production is efficient but overhead costs (rent, admin, marketing) are eating into profits. Track both to pinpoint where money is leaking.
Confusing markup with margin. A 50% markup on a $100 cost gives a $150 price and only a 33.3% margin — not the 50% margin many business owners expect. Always use the margin formula (profit / revenue) when setting profit targets, not markup (profit / cost).
Understanding Profit Margins: A Complete Guide
Profit margin is the percentage of revenue that remains as profit after subtracting costs. It is one of the most important financial metrics for any business because it reveals how efficiently a company converts sales into actual earnings. A high profit margin means the business retains more money from each dollar of revenue, while a low margin indicates that costs are consuming a large share of income. Understanding the different types of profit margins and how they relate to markup is essential for setting prices, evaluating business health, and making informed financial decisions.
Gross Margin vs. Net Margin vs. Operating Margin
Gross profit margin measures the percentage of revenue remaining after deducting only the direct cost of goods sold. It reflects production or procurement efficiency and is calculated as gross profit divided by revenue times one hundred. Net profit margin accounts for all expenses, including operating costs, taxes, interest payments, depreciation, and any other charges. It represents the true bottom line and tells you what percentage of every revenue dollar the business actually keeps. Operating profit margin falls between the two: it subtracts operating expenses such as rent, salaries, and utilities from gross profit, but excludes interest and taxes. Each margin type provides a different lens through which to evaluate a company. A business might have an excellent gross margin but a poor net margin if its overhead costs are too high, which is why looking at all three levels together gives the most complete picture of profitability.
The Margin vs. Markup Confusion
Margin and markup both measure profit as a percentage, but they use different denominators and produce different numbers for the same dollar amount of profit. Margin divides profit by revenue, while markup divides profit by cost. Because revenue is always larger than cost for a profitable product, the margin percentage is always lower than the markup percentage. For example, a product that costs fifty dollars and sells for one hundred dollars has a fifty percent margin but a one hundred percent markup. This distinction matters enormously when setting prices. If a business owner intends to achieve a forty percent margin but accidentally applies a forty percent markup to cost instead, the resulting margin will only be about twenty-eight point six percent, leaving significantly less profit than expected. The calculator on this page displays both figures together precisely to help you avoid this common and costly mistake.
How to Set Prices Using Margin
To determine the selling price needed for a target margin, divide the cost by one minus the margin expressed as a decimal. If your cost is seventy-five dollars and you want a thirty percent margin, divide seventy-five by zero point seven to arrive at a selling price of roughly one hundred seven dollars and fourteen cents. This approach is preferable to simply adding a percentage on top of cost because it guarantees the revenue split between cost and profit matches your goal. Many businesses use a cost-plus pricing method where they add a fixed markup percentage to cost, but this can be misleading if the intent is to maintain a specific margin. The Price Finder tab in this calculator automates this formula so you can experiment with different cost and margin combinations and see the required selling price immediately.
Who Uses a Profit Margin Calculator?
E-Commerce Sellers
Calculate the exact selling price needed to hit your target margin after accounting for product cost, shipping, and marketplace fees. Quickly compare margins across your entire product catalog to identify top performers.
Restaurant Owners
Determine food cost percentages and menu pricing to maintain healthy margins. With food costs typically running 28-35% of revenue, knowing your margin on each dish helps you design a profitable menu mix.
Freelancers & Consultants
Set hourly or project rates that cover your costs and deliver the margin you need. Factor in overhead like software subscriptions, insurance, and self-employment taxes to avoid underpricing your services.
Common Questions
What is the difference between profit margin and markup?
Profit margin is the percentage of revenue that is profit, calculated as (Revenue minus Cost) divided by Revenue, then multiplied by 100. Markup is the percentage of cost that is added as profit, calculated as (Revenue minus Cost) divided by Cost, then multiplied by 100. For the same product, margin is always a lower number than markup because margin uses the larger revenue figure as its base. A product costing $60 and selling for $100 has a 40% margin but a 66.67% markup. Confusing the two is one of the most common pricing mistakes in business, which is why this calculator shows both side by side.
What is a good profit margin for a business?
What counts as a good profit margin depends heavily on the industry and business model. Software and SaaS companies often achieve net margins of 20 to 40 percent due to low marginal costs, while grocery stores typically operate on thin net margins of 1 to 3 percent but compensate with high sales volume. Restaurants generally target net margins of 3 to 9 percent. As a general rule of thumb, a net profit margin above 10 percent is considered healthy for most industries, and anything above 20 percent is excellent. Gross margins are naturally higher since they only account for direct production costs. Use the benchmark table above to compare your margins against industry averages.
What is the difference between gross and net profit margin?
Gross profit margin subtracts only the direct cost of goods sold from revenue, showing how efficiently you produce or source your products. Net profit margin subtracts all expenses, including operating costs, salaries, rent, marketing, taxes, interest payments, and depreciation. A company can have a high gross margin but a low net margin if its overhead and operating expenses are substantial. Both metrics are important: gross margin helps you evaluate your pricing and production efficiency, while net margin reveals the actual profitability of the entire business after all costs are accounted for.
How do I calculate selling price from cost and desired margin?
Use the formula: Selling Price equals Cost divided by (1 minus Margin Percentage divided by 100). For example, if your product costs $75 and you want a 30% profit margin, divide $75 by (1 minus 0.30), which is $75 divided by 0.70, giving a selling price of $107.14. This formula ensures that the margin percentage of the final price matches your target. Do not simply add the margin percentage to cost, as that calculates markup instead and will result in a lower margin than intended. The Price Finder tab in this calculator automates this formula for you.
Why is margin always lower than markup?
Margin and markup measure the same dollar amount of profit but express it as a percentage of different bases. Margin uses revenue as the denominator, while markup uses cost. Since revenue always exceeds cost for a profitable sale, dividing the same profit by a larger number produces a smaller percentage. Consider a product with $40 of profit: if revenue is $100, the margin is 40%. If cost is $60, the markup is 66.67%. The profit is identical at $40, but the percentages differ because of the denominator. As margin approaches 100%, markup approaches infinity, which is why high-margin products can have extremely large markup percentages.
How can I improve my profit margins?
There are several strategies to improve profit margins. On the revenue side, you can raise prices strategically, focus marketing efforts on higher-margin products, upsell complementary items, and improve customer retention to reduce acquisition costs. On the cost side, you can negotiate better rates with suppliers, reduce waste in production processes, streamline operations to lower overhead, automate repetitive tasks, and take advantage of bulk purchasing discounts. Improving margins is often more effective for profitability than simply increasing total revenue, because every percentage point of margin improvement flows directly to the bottom line.
What is operating profit margin?
Operating profit margin, also called operating margin or EBIT margin, measures the percentage of revenue remaining after subtracting both cost of goods sold and operating expenses such as rent, wages, utilities, and depreciation, but before deducting interest and taxes. It is calculated as Operating Income divided by Revenue multiplied by 100. This metric isolates the core profitability of a business from its financing decisions and tax situation. A rising operating margin over time indicates that a company is becoming more efficient at running its day-to-day operations, while a declining operating margin suggests that costs are growing faster than revenue.
Profit Margin Benchmarks by Industry
Profit margins differ enormously across industries due to differences in business models, competition, capital requirements, and operating costs. A 5% net margin might be excellent for a grocery chain but disappointing for a software company. The chart below shows typical net profit margin ranges to help you benchmark your business performance against industry standards.
Software and SaaS companies enjoy the highest margins because their cost of goods sold is minimal once the product is built. Each additional customer costs very little to serve. Financial services firms benefit from leverage and fee-based revenue. At the other end of the spectrum, grocery stores operate on razor-thin margins of 1-3%, relying on enormous sales volume to generate meaningful profit. Restaurants fall somewhere in between, battling high labor costs, food waste, and volatile ingredient prices.
When evaluating your own business, compare your margins against peers in the same industry rather than across sectors. A 10% net margin is outstanding for a restaurant but below average for a SaaS company. Also distinguish between gross margin, operating margin, and net margin, as each reveals different aspects of financial health. Use the calculator above to compute all three for your business and see where you stand relative to these benchmarks.