Profit Margin Calculator
Calculate profit margin, markup, gross profit, and net profit instantly. Enter your cost and revenue to see all key profitability metrics for your business.
Gross Profit Calculator
Calculate gross profit and gross profit margin from your total revenue and cost of goods sold (COGS). Gross profit shows your profitability before operating expenses.
Net Profit Calculator
Calculate net profit and net profit margin after all expenses. Net profit is your true bottom line – what remains after deducting all costs from revenue.
Understanding your profit margins is essential for running a successful business. Whether you are setting prices, evaluating products, or planning your finances, knowing your margins helps you make smarter decisions.
This calculator shows you profit margin, markup percentage, gross profit, and more – all from just two numbers. For other percentage calculations, check out our percentage calculator or learn how to calculate percentages.
How to Calculate Profit Margin
Profit margin shows what percentage of your selling price is actual profit. It tells you how much of every dollar (or pound) in sales you get to keep after covering costs.
Step-by-step method:
- Subtract the cost from the selling price (this gives you profit)
- Divide the profit by the selling price
- Multiply by 100 to get the percentage
Profit margin: 40%
A 40% profit margin means you keep $0.40 of every $1.00 in sales as profit.
Profit margin is the key metric investors and lenders look at. A higher margin means more financial cushion for unexpected costs, growth investments, and economic downturns.
How to Calculate Markup
Markup shows how much you have added on top of your cost to arrive at the selling price. While margin is based on selling price, markup is based on cost.
Markup: 66.67%
Notice how the same product has a 40% margin but a 66.67% markup. This is a crucial distinction that confuses many business owners.
Margin vs Markup – The Key Difference
Margin and markup are often confused, but they measure different things:
| Metric | Based On | Formula |
|---|---|---|
| Profit Margin | Selling Price | Profit / Selling Price |
| Markup | Cost | Profit / Cost |
Here is how common margins translate to markups:
| Margin | Markup | Example ($100 sale) |
|---|---|---|
| 10% | 11.1% | Cost $90, Profit $10 |
| 20% | 25% | Cost $80, Profit $20 |
| 25% | 33.3% | Cost $75, Profit $25 |
| 30% | 42.9% | Cost $70, Profit $30 |
| 40% | 66.7% | Cost $60, Profit $40 |
| 50% | 100% | Cost $50, Profit $50 |
| 60% | 150% | Cost $40, Profit $60 |
| 75% | 300% | Cost $25, Profit $75 |
If you want a 30% profit margin, do not mark up your cost by 30%. A 30% markup only gives you a 23% margin. Use the calculator above or the conversion table to get it right.
How to Calculate Gross Profit
Gross profit is the actual dollar amount you make on a sale before accounting for operating expenses. It is simply revenue minus the direct cost of goods.
Gross profit: $2,000
Gross Profit Margin
Gross profit margin expresses gross profit as a percentage of revenue:
How to Calculate Net Profit
Net profit is what remains after ALL expenses are deducted – not just cost of goods, but also operating expenses, taxes, interest, and other costs.
Net profit: $20,000
Net Profit Margin
While gross margin was 60% in this example, net margin is only 20% after all expenses.
How to Calculate Selling Price from Margin
If you know your cost and target profit margin, you can calculate the required selling price:
You need to sell at $100 to achieve 40% margin
This formula is essential when you have a target margin in mind and need to set your prices accordingly.
How to Calculate Selling Price from Markup
If you prefer working with markup percentages:
Selling price: $90
Industry Profit Margins
Profit margins vary significantly by industry. Here are typical ranges:
| Industry | Typical Gross Margin | Typical Net Margin |
|---|---|---|
| Software / SaaS | 70-85% | 15-25% |
| Financial Services | N/A | 15-30% |
| Healthcare / Pharma | 60-80% | 10-20% |
| Retail (General) | 25-35% | 2-5% |
| E-commerce | 40-60% | 5-10% |
| Restaurants | 60-70% | 3-9% |
| Manufacturing | 25-35% | 5-10% |
| Construction | 15-25% | 2-6% |
| Grocery | 20-30% | 1-3% |
Compare your margins to industry benchmarks to see how competitive you are. If your margins are below average, look for ways to reduce costs or increase prices.
Profit Margin Calculator Examples
Example 1: Retail Product
Example 2: Service Business
Example 3: Restaurant Dish
Example 4: E-commerce Product
How to Improve Your Profit Margins
If your margins are lower than you would like, here are strategies to improve them:
Reduce Costs
- Negotiate better rates with suppliers
- Buy in larger quantities for volume discounts
- Find alternative suppliers or materials
- Reduce waste and inefficiencies
- Automate repetitive tasks
Increase Prices
- Add value to justify higher prices
- Target less price-sensitive customers
- Bundle products or services
- Reduce or eliminate discounting
- Test price increases on select products
Improve Product Mix
- Focus on high-margin products
- Phase out low-margin offerings
- Upsell and cross-sell higher-margin items
- Create premium versions of popular products
For tracking price changes, use our percentage increase calculator. For calculating sale prices and their impact on margins, try our discount calculator.
Frequently Asked Questions
A good profit margin depends on your industry. Generally, a 10% net profit margin is average, 20% is good, and 30%+ is excellent. However, some industries like grocery operate on 1-3% margins while software companies may achieve 20-30%. Compare to your industry benchmarks rather than general figures.
Margin is profit as a percentage of selling price. Markup is profit as a percentage of cost. A product with 50% markup has only 33% margin. They measure the same profit but from different perspectives – margin tells you what portion of revenue is profit, markup tells you how much you added to your cost.
Use this formula: Markup = Margin / (1 – Margin). For a 25% margin: Markup = 0.25 / (1 – 0.25) = 0.25 / 0.75 = 0.333 or 33.3%. Alternatively, use the conversion table above or the calculator on this page.
Use this formula: Selling Price = Cost / (1 – Margin). For a $50 cost with 40% target margin: $50 / (1 – 0.40) = $50 / 0.60 = $83.33. This ensures you achieve exactly the margin you want.
Gross profit margin only deducts direct costs (cost of goods sold) from revenue. Net profit margin deducts ALL expenses including operating costs, taxes, and interest. Gross margin shows product profitability; net margin shows overall business profitability.
No, profit margin cannot exceed 100% because it measures profit as a portion of selling price. Even if you sold something for infinity, your margin approaches 100% but never exceeds it. Markup, however, can exceed 100% – a 200% markup means you tripled the cost.
Add up total revenue and total costs across all products, then calculate margin on the totals. For example: Total revenue $10,000, total costs $6,000, overall margin = ($4,000 / $10,000) x 100 = 40%. This gives you a blended margin across your product mix.
Markup is always higher than margin for the same product because they use different bases. Markup uses cost (smaller number) as the denominator, margin uses selling price (larger number). This mathematical difference means a 50% markup equals only a 33% margin.
Related Calculators
Back to Percentage Calculator for more calculation tools.