Investment & Savings
Loans & Borrowing
Daily Money Tools
Wealth & Net Worth
Business Finance
Body & Weight
Nutrition & Diet
Fitness & Training
Pregnancy & Women
🐕 Dog Tools
🐈 Cat Tools
🐟 Fish & Aquarium
🦎 Other Pets
Pet Health & Costs
🎓 Academic Tools
📖 Productivity
⏰ Time & Date
🌍 Life & Travel
Pricing & Profit
Payroll & HR
Freelance & Self-Employed
💰 Finance
🏋 Health & Fitness
🐾 Pets & Animals
🎓 Lifestyle & Education
💼 Business
HomeAboutContact PrivacyTermsDisclaimer
Business · Profitability Tools · Free Calculator

Profit Margin
Calculator

Calculate gross margin, net margin, and markup from cost and revenue. Find the selling price you need for any target margin. Compare margin vs markup side by side.

Margin Breakdown
See your profitability at a glance
Profit
$40.00
Margin
40.0%
Markup
66.7%
Cost Ratio
60.0%
Margin vs Markup Comparison
MarginMarkupCost $60Sell PriceProfit
// Business · ShashaTools
Profit Margin Calculator
Currency:
Calculation Mode
Cost (per unit) $60.00
Selling Price $100.00
// Advanced Options
Operating Expenses $0
Rent, payroll, marketing, overhead. Subtracted for net margin.
Units Sold 1
Scale to see total revenue and profit across multiple units.
// Results
Gross Margin
40.0%
Profit (per unit)
$40.00
Markup
66.7%
Selling Price
$100.00
Net Margin (with OpEx)
40.0%
40% margin = 66.7% markup on $60 cost
How to Use This Calculator
Calculate profit margin, markup, and find the right selling price for any product or service
Simple Mode Quick Margin
1
Choose your calculation mode
“Cost & Selling Price” to find margin from known prices. “Cost & Target Margin” to find the selling price you need. “Revenue & Cost” for total business margin.
2
Enter your numbers
Input your cost per unit and selling price, or your cost and desired margin percentage, or your total revenue and total costs. The calculator adapts to your mode.
3
Read margin and markup
See both margin and markup side by side. Many businesses confuse these — a 50% markup is only a 33% margin. The comparison table below shows the relationship at every common level.
4
Use the comparison table
The table shows margin, markup, selling price, and profit for your cost at every common percentage. Find the sweet spot between competitiveness and profitability.
💡 Critical mistake: A 40% markup is NOT a 40% margin. If your cost is $60 and you add 40% markup, you sell at $84 with a 28.6% margin — not 40%. Use “Cost & Target Margin” mode to get the correct selling price.
Advanced Mode Full P&L
1
Add operating expenses
Include rent, payroll, marketing, and overhead to see your net margin (not just gross). This is the profit that actually reaches your bottom line.
2
Scale with units sold
Enter the number of units sold to see total revenue, total cost, and total profit. Useful for projecting monthly or annual profitability.
3
Compare gross vs net
Gross margin shows production efficiency. Net margin shows true profitability. A business can have a healthy gross margin but negative net margin if overhead is too high.
4
Find your break-even
If net margin is negative, you need more volume or higher prices. Use our Break-Even Calculator to find exactly how many units you need to sell to cover all costs.
💡 Tip: A 5% price increase with the same costs can improve net margin by 20-50% depending on your current margins. Small price adjustments have outsized impact on profitability.
// Recommended Business Tools

ℹ️ Affiliate disclosure: Some links below are affiliate links. We may earn a commission if you sign up, at no extra cost to you.

Kabbage
Business lines of credit up to $250K. Fast approval for growing businesses.
Apply Now →
Fundbox
Invoice financing and business credit. Get paid faster on outstanding invoices.
Get Started →
Bluevine
Business checking with 2% interest. No monthly fees, no minimums.
Open Account →
NerdWallet
Compare business loan rates from multiple lenders. Free comparison tool.
Compare Rates →
// Related Calculators
💲
Markup Calculator
Calculate markup percentage from cost and selling price.
📊
Break-Even Calculator
Find how many units you need to sell to cover costs.
💼
Freelance Rate Calculator
Calculate your hourly rate with a target profit margin.
💯
Percentage Calculator
Calculate any percentage for pricing analysis.
// Complete Guide — Updated 2026

Understanding Profit Margin:
The Complete Guide

Profit margin is the single most important number in any business. Revenue means nothing if your costs eat it all. A company doing $10 million in revenue with a 2% net margin keeps $200,000. A company doing $2 million with a 20% margin keeps $400,000. Margin is what separates growing businesses from failing ones. This guide explains every type of margin, the critical difference between margin and markup, and how to use margins to make better pricing and business decisions.

The Margin Formulas

// Gross Margin
Gross Margin = (RevenueCOGS) ÷ Revenue × 100
($100 − $60) ÷ $100 × 100 = 40% gross margin
// Selling Price from Target Margin
Sell Price = Cost ÷ (1 − Margin ÷ 100)
$60 ÷ (1 − 0.40) = $60 ÷ 0.60 = $100

Margin vs Markup: The Critical Difference

MarginEquivalent MarkupCost $60 → Sell Price
20%25%$75.00
25%33.3%$80.00
30%42.9%$85.71
33.3%50%$90.00
40%66.7%$100.00
50%100%$120.00
60%150%$150.00

💡 Key insight: A 50% markup gives you only a 33.3% margin. Many business owners set a “50% margin” but actually calculate a 50% markup — their real margin is only 33.3%. This single mistake can turn a profitable business into a struggling one. Always use the margin formula, not markup, when setting prices.

Real-World Scenarios

Scenario 1: Product Pricing. Sarah makes handmade candles. Material cost: $8. Labor: $4. Total cost: $12/candle. She wants a 60% gross margin. Selling price: $12 / (1 - 0.60) = $30/candle. If she mistakenly used 60% markup instead: $12 × 1.60 = $19.20 (actual margin: 37.5%). The margin formula gives her $30; the markup shortcut gives her $19.20. That $10.80 difference per candle is the difference between thriving and barely surviving. Use our Markup Calculator to compare.

Scenario 2: Restaurant Analysis. Marcus runs a restaurant. Monthly revenue: $85,000. Food costs: $28,000 (33%). Labor: $25,000 (29%). Overhead: $22,000 (26%). Gross margin (food only): 67%. But after all costs: net margin = ($85,000 - $75,000) / $85,000 = 11.8%. His gross looks great, but net is typical for restaurants. A 5% increase in food costs without a price increase drops net margin to 8.5%. Thin margins mean small cost changes have big impacts.

Scenario 3: SaaS Business. Priya runs a SaaS product. Monthly revenue: $50,000. Server costs: $3,000 (6%). Support team: $8,000 (16%). Gross margin: 78%. Operating expenses (marketing $12,000, dev team $18,000, office $4,000): $34,000. Net margin: ($50,000 - $45,000) / $50,000 = 10%. At scale, SaaS margins improve because server costs grow slower than revenue. Doubling revenue to $100,000 might only add $2,000 in server costs, pushing gross margin to 85%+. Use our Break-Even Calculator to find her break-even subscriber count.

Scenario 4: Freelancer Pricing. David charges $75/hour for web development. His effective cost (including self-employment tax, insurance, software, unpaid time): $45/hour. Margin: ($75 - $45) / $75 = 40%. To reach 50% margin, he needs to charge: $45 / (1 - 0.50) = $90/hour. A $15/hour increase gives him 25% more take-home profit. Use our Freelance Rate Calculator for a detailed rate analysis.

Industry Margin Benchmarks

IndustryGross MarginNet Margin
Software / SaaS70-85%15-30%
Professional Services50-70%15-25%
E-commerce / Retail25-50%2-10%
Restaurants60-70%3-9%
Manufacturing25-35%5-10%
Construction15-25%3-8%
Grocery / Supermarket25-30%1-3%

Compare your margins to your industry benchmarks. If your gross margin is below average, your costs are too high or prices too low. If gross is good but net is low, your overhead is eating your profit. Use our Percentage Calculator for quick margin calculations on individual products.

Margin vs Markup Quick Ref
20% margin25% markup
33% margin50% markup
40% margin66.7% markup
50% margin100% markup
60% margin150% markup
// Frequently Asked Questions
Common Questions About Profit Margin
What is profit margin? +
Profit margin is the percentage of revenue remaining as profit after costs. Gross margin = (Revenue - Cost) / Revenue × 100. Sell for $100, cost $60: margin is 40%. It measures how efficiently you convert revenue into profit.
What is the difference between margin and markup? +
Margin = profit / selling price. Markup = profit / cost. On $60 cost sold for $100: Margin = $40/$100 = 40%. Markup = $40/$60 = 66.7%. Same profit, different percentages. Margin is always lower than markup.
How do I calculate profit margin? +
Gross Margin = (Revenue - COGS) / Revenue × 100. Net Margin = (Revenue - All Expenses) / Revenue × 100. Revenue $100, COGS $60: gross margin 40%. Total expenses $80: net margin 20%.
What is a good profit margin? +
Varies by industry. SaaS: 60-80% gross, 20-30% net. Retail: 25-50% gross, 2-5% net. Restaurants: 60-70% gross, 3-9% net. Professional services: 50-70% gross, 15-25% net.
How do I find selling price from target margin? +
Selling Price = Cost / (1 - Margin/100). Cost $60, target 40% margin: $60 / 0.60 = $100. Do NOT use Cost × 1.40 — that gives 40% markup (28.6% margin), not 40% margin.
What is gross margin vs net margin? +
Gross margin subtracts only direct costs (materials, production labor). Net margin subtracts ALL costs including overhead, rent, marketing, and taxes. Gross shows production efficiency. Net shows true profitability.
How do I convert markup to margin? +
Margin = Markup / (1 + Markup). A 50% markup = 0.50 / 1.50 = 33.3% margin. A 100% markup = 50% margin. To reverse: Markup = Margin / (1 - Margin).
Why is markup always higher than margin? +
Because markup uses cost (the smaller number) as the denominator, while margin uses selling price (the larger number). Same dollar profit, different base. $40 profit on $60 cost = 66.7% markup. $40 on $100 revenue = 40% margin.
How do I improve my profit margin? +
Increase revenue (raise prices, upsell) or decrease costs (negotiate suppliers, reduce waste, automate). A 5% price increase with the same costs can improve net margin by 20-50%. Small price changes have outsized impact.
What is operating margin? +
Operating margin = Operating Income / Revenue × 100. Operating income = revenue minus COGS minus operating expenses, but before interest and taxes. It shows core business efficiency, excluding financing decisions.