Profit Margin Calculator
Calculate gross margin, net margin, and markup percentage
Profit Margin Results
Gross Margin
-
Net Margin
-
Gross Profit
-
Markup
-
Breakdown
Margin vs Markup Reference
| Margin | Markup |
|---|---|
| 10% | 11.1% |
| 15% | 17.6% |
| 20% | 25.0% |
| 25% | 33.3% |
| 30% | 42.9% |
| 33.3% | 50.0% |
| 40% | 66.7% |
| 50% | 100.0% |
| 60% | 150.0% |
| 75% | 300.0% |
What Is Profit Margin? A Complete Guide
Profit margin is one of the most critical financial metrics for any business, from solo freelancers to Fortune 500 companies. It measures the percentage of revenue that remains as profit after costs are deducted. Understanding your profit margin is essential for pricing decisions, financial planning, investor relations, and evaluating business health over time.
There are two primary types of profit margin: gross profit margin and net profit margin. Gross margin looks at revenue minus the direct cost of goods sold (COGS), while net margin accounts for all expenses including operating costs, interest, and taxes. Both metrics provide different but complementary views of your business's profitability.
This calculator helps you compute both margins from your revenue and cost data, or reverse-calculate the selling price you need to achieve a target margin. It also shows the corresponding markup percentage, helping you understand the relationship between these commonly confused metrics.
Profit Margin Formulas
Gross Profit Margin
Gross margin measures how efficiently you produce or acquire what you sell. A 60% gross margin means you keep $0.60 from every dollar of revenue after paying for the goods themselves.
Net Profit Margin
Net margin shows the bottom line — what percentage of revenue is actual profit after ALL costs. This is the metric that tells you whether your business is truly making money.
Reverse Calculation: Price from Margin
Use this formula when you know your cost and want to find the price that achieves a specific gross margin. For example, if your cost is $60 and you want 40% margin: $60 / (1 - 0.40) = $100.
Margin vs. Markup: Understanding the Difference
One of the most common mistakes in business pricing is confusing margin with markup. They measure the same profit from different perspectives:
- Margin is profit as a percentage of the selling price (revenue). It answers: "What fraction of my revenue is profit?"
- Markup is profit as a percentage of the cost. It answers: "How much did I add on top of my cost?"
Example: A product costs $75 and sells for $100.
- Margin = ($100 - $75) / $100 = 25%
- Markup = ($100 - $75) / $75 = 33.3%
A 50% margin is NOT the same as a 50% markup. A 50% margin means your cost is 50% of revenue, while a 50% markup means you added half of the cost on top. The margin for a 50% markup is only 33.3%.
Real-World Profit Margin Examples
Example 1: E-Commerce Business
An online retailer sells handmade candles. Monthly figures:
- Revenue: $25,000 from 500 candles at $50 each
- COGS: $10,000 (wax, wicks, jars, packaging, shipping)
- Operating expenses: $8,000 (Shopify, ads, rent, salary)
- Gross margin: ($25,000 - $10,000) / $25,000 = 60%
- Net margin: ($25,000 - $10,000 - $8,000) / $25,000 = 28%
- Markup: $15,000 / $10,000 = 150%
Example 2: Restaurant
A small restaurant's monthly performance:
- Revenue: $80,000
- Food costs (COGS): $24,000 (30% food cost ratio)
- Labor + operating costs: $48,000
- Gross margin: ($80,000 - $24,000) / $80,000 = 70%
- Net margin: ($80,000 - $24,000 - $48,000) / $80,000 = 10%
This shows why restaurants struggle with profitability. Despite a 70% gross margin, the net margin is only 10% due to heavy labor and overhead costs.
Example 3: SaaS Company
A software company with 200 customers paying $99/month:
- Revenue: $19,800/month
- COGS (hosting, support): $2,000
- Operating expenses: $12,000 (engineering, marketing)
- Gross margin: ($19,800 - $2,000) / $19,800 = 89.9%
- Net margin: ($19,800 - $2,000 - $12,000) / $19,800 = 29.3%
SaaS businesses enjoy high gross margins because the marginal cost of serving additional customers is very low. This is why tech investors focus heavily on gross margin as a metric.
Profit Margin Benchmarks by Industry
| Industry | Gross Margin | Net Margin |
|---|---|---|
| Grocery/Supermarket | 25-30% | 1-3% |
| Clothing Retail | 45-65% | 5-13% |
| Restaurants | 60-70% | 3-9% |
| Construction | 15-25% | 2-7% |
| Manufacturing | 25-35% | 5-10% |
| Software (SaaS) | 70-90% | 15-30% |
| Consulting/Services | 50-80% | 10-25% |
How to Use This Profit Margin Calculator
- Choose your mode: Use "Cost & Revenue" to calculate margins from known values, or "Target Margin" to find the required selling price for a desired margin.
- Enter your cost: This is your Cost of Goods Sold (COGS) — the direct cost to produce or purchase what you sell.
- Enter revenue or desired margin: In forward mode, enter your selling price/revenue. In reverse mode, enter the gross margin percentage you want to achieve.
- Add operating expenses (optional): Include rent, salaries, utilities, and other overhead to see both gross and net margins.
- Click Calculate: View your gross margin, net margin, markup percentage, and a detailed breakdown of all figures.
FAQ
What is the difference between profit margin and markup?
Profit margin and markup both measure profitability, but from different bases. Margin is calculated as a percentage of the selling price (revenue), while markup is calculated as a percentage of the cost. For example, if a product costs $60 and sells for $100, the margin is 40% ($40/$100) but the markup is 66.7% ($40/$60). Margin is always lower than markup for the same transaction. Margin tells you what percentage of revenue is profit; markup tells you how much you added on top of cost.
How do you calculate gross profit margin?
Gross profit margin is calculated as: Gross Margin = (Revenue - Cost of Goods Sold) / Revenue × 100. For example, if your revenue is $200,000 and COGS is $120,000, your gross margin = ($200,000 - $120,000) / $200,000 × 100 = 40%. This means 40 cents of every dollar of revenue is gross profit before operating expenses, taxes, and interest.
What is a good profit margin for a small business?
A "good" profit margin varies significantly by industry. Service businesses typically have gross margins of 50-80% because they have low material costs. Retail businesses average 25-50% gross margins. Restaurants typically operate at 60-70% gross margins but only 3-9% net margins due to high operating costs. Software companies can achieve 70-90% gross margins. As a general benchmark, a net profit margin above 10% is considered healthy for most industries, and above 20% is excellent.
What is the difference between gross margin and net margin?
Gross margin only deducts the direct cost of goods sold (COGS) from revenue — materials, direct labor, and manufacturing costs. Net margin deducts ALL expenses including COGS, operating expenses (rent, utilities, salaries), interest, and taxes. Gross margin shows production efficiency; net margin shows overall profitability. A company can have a high gross margin but low net margin if operating expenses are high, which is common in restaurants and retail.
How do I convert between margin and markup?
To convert margin to markup: Markup = Margin / (1 - Margin). To convert markup to margin: Margin = Markup / (1 + Markup). Use decimal forms. Example: 40% margin = 0.40 / (1 - 0.40) = 0.667 = 66.7% markup. And 50% markup = 0.50 / (1 + 0.50) = 0.333 = 33.3% margin. A common mistake is treating margin and markup as interchangeable — a 50% markup does NOT equal a 50% margin.
How can I improve my profit margin?
There are two fundamental ways to improve profit margin: increase revenue per unit or decrease costs. Specific strategies include: (1) Raise prices — test small incremental increases. (2) Negotiate better supplier costs or buy in bulk. (3) Reduce waste and inefficiency in production. (4) Upsell and cross-sell to increase average order value. (5) Automate repetitive tasks to reduce labor costs. (6) Focus on higher-margin products or services. (7) Reduce overhead costs like rent and subscriptions.
What is the formula for required selling price from desired margin?
To find the selling price needed to achieve a target gross margin: Selling Price = Cost / (1 - Desired Margin %). For example, if your product costs $60 and you want a 40% gross margin: Price = $60 / (1 - 0.40) = $60 / 0.60 = $100. This ensures that after subtracting the $60 cost from the $100 price, your $40 gross profit represents exactly 40% of the selling price.
Why is profit margin important for business decisions?
Profit margin is crucial because: (1) It shows how efficiently you convert revenue into profit. (2) It helps compare profitability across different product lines or time periods. (3) Investors and lenders use margins to assess business health. (4) It helps set pricing strategy — knowing your margin helps you decide how much discount you can offer. (5) It reveals whether a business can sustain itself as it grows. A business growing revenue but with shrinking margins may actually be in trouble.