Profit Margin
Margin = (SP - CP) / SP × 100%Profit as % of selling price
$100 SP, $80 CP → 20% margin
Calculate gross profit margin, revenue, cost, and markup percentage for your business pricing.
https://www.solvezi.com/finance-tools/margin-calculator
The price you paid to purchase the product
The price you sell the product for
Example: CP = $100, SP = $125
→ Margin = 20% (Profit = $25)
Calculate profit margin and selling price • Understand your profitability
Learn how to calculate profit margin, gross margin, and markup with our margin calculator. Understand the profit margin formula, margin vs markup, and pricing strategies for retail, e-commerce, manufacturing, and service businesses.
Total cost to acquire or produce the product
Price at which you sell the product
Profit = Selling Price - Cost Price
Margin = Profit / Selling Price × 100%
Markup = Profit / Cost Price × 100%
Compare to industry standards and goals
Profit margin measures how much profit you keep from each dollar of revenue. It's calculated as:
Margin = (Selling Price - Cost Price) / Selling Price × 100%
"After paying for product costs, how much profit do I keep from each sale?"
You keep $0.20 per $1 of revenue
Margin = (SP - CP) / SP × 100%Profit as % of selling price
$100 SP, $80 CP → 20% margin
Markup = (SP - CP) / CP × 100%Profit as % of cost price
$100 SP, $80 CP → 25% markup
SP = CP / (1 - Margin%)Find target selling price
$80 CP, want 20% margin → $100 SP
Profit = SP - CPAbsolute profit per unit
$100 - $80 = $20 profit
| Cost | Selling | Margin | Markup | Insight |
|---|---|---|---|---|
| $80 | $100 | 20% | 25% | Margin always lower |
| $50 | $100 | 50% | 100% | Double the cost |
| $75 | $100 | 25% | 33.33% | Common retail ratios |
| $60 | $100 | 40% | 66.67% | Premium pricing |
Key Insight: Margin is always lower than markup for the same numbers. A 25% markup equals 20% margin. Know which one you're using!
| Industry | Typical Margin | Typical Markup | Note |
|---|---|---|---|
| Grocery Stores | 2-5% | 2-5% | High volume, low margin |
| Restaurants | 5-15% | 25-50% | Food cost sensitive |
| Retail Apparel | 10-20% | 50-100% | Seasonal sales |
| Manufacturing | 15-25% | 20-35% | Scale dependent |
| Software/SaaS | 70-85% | N/A | High margins |
| Professional Services | 20-40% | 25-50% | Labor-based |
| Electronics | 10-15% | 20-30% | Competitive market |
| Pharmaceuticals | 15-25% | High | R&D costs |
Mgn = Mku/(1+Mku)Mku = Mgn/(1-Mgn)Both relate mathematicallyCommon retail relationshipPrice is 1.5x costPrice is double costSet competitive prices while maintaining profit
Optimize production and pricing
Calculate true net margins after fees
Maintain margins across distribution
Price items for profitability
Ensure profitable client work
Confusing margin with markup
Margin is % of selling price; markup is % of cost price
Margin ≤ Markup for the same numbers
Forgetting all costs (hidden costs)
Include shipping, fees, overhead, labor in cost price
Calculate true net margin after all expenses
Using margin when markup is needed (and vice versa)
Use margin for profitability, markup for pricing from cost
Our calculator shows both to avoid confusion
Setting prices without competitor research
Consider market position and price sensitivity
Balance margin goals with market reality
To calculate profit margin, use the formula: Profit Margin = (Selling Price - Cost Price) / Selling Price × 100%. Example: If you buy for $80 and sell for $100, profit margin = ($100 - $80) / $100 × 100% = 20%. This profit margin formula shows how much profit you keep from each dollar of revenue.
To calculate gross margin, use: Gross Margin = (Revenue - Cost of Goods Sold) / Revenue × 100%. Example: Revenue $100,000 and COGS $60,000 → Gross Margin = ($100,000 - $60,000) / $100,000 × 100% = 40%. Gross margin measures product-level profitability before operating expenses.
To calculate margin: (1) Find profit = Selling Price - Cost Price, (2) Divide profit by selling price, (3) Multiply by 100. Margin formula: Margin = (SP - CP) / SP × 100%. Example: Cost $80, Selling $100 → Margin = ($100 - $80) / $100 × 100% = 20%. Margin is always expressed as a percentage of selling price.
The profit margin formula is: Profit Margin = (Selling Price - Cost Price) / Selling Price × 100%. For net profit margin: Net Margin = Net Profit / Revenue × 100%. For gross profit margin: Gross Margin = (Revenue - COGS) / Revenue × 100%. All margin formulas express profit as a percentage of revenue.
Margin is profit as percentage of selling price: Margin = (SP - CP) / SP. Markup is profit as percentage of cost price: Markup = (SP - CP) / CP. For same numbers: Cost $80, Selling $100 → Margin = 20%, Markup = 25%. Margin is used for profitability analysis; markup for pricing from cost.
Selling Price = Cost Price / (1 - Desired Margin%). Example: Cost $80, want 20% margin → SP = $80 / (1 - 0.20) = $80 / 0.80 = $100. This margin calculation ensures you achieve exactly 20% profit margin on selling price.
Good profit margins vary by industry: Grocery/Retail: 2-5% (volume business), Restaurants: 5-15%, Manufacturing: 15-25%, Software/SaaS: 70-85%, Professional Services: 20-40%. Compare to industry averages. Higher margin isn't always better — consider market position and competition.
Gross margin = (Revenue - Cost of Goods Sold) / Revenue. Net margin includes all operating expenses (rent, salaries, marketing, taxes). Gross margin shows product profitability; net margin shows overall business profitability. Our margin calculator focuses on gross margin at unit level.
Discounts directly reduce selling price, squeezing margin. Example: 20% margin product discounted 10% → new margin ≈ 11% (nearly halved). Calculate: New SP = Original SP × (1 - Discount%). New Margin = (New SP - Cost) / New SP. Always know margin impact before discounting.
Contribution margin = Revenue - Variable Costs (per unit). It shows how much each sale contributes to fixed costs and profit. Contribution margin ratio = (SP - Variable Cost) / SP. Essential for break-even analysis. Our margin calculator focuses on overall margin including all costs.
Calculate break-even margin = Total Fixed Costs / Total Revenue. Your average margin must exceed this for profitability. For individual products, ensure margin covers variable costs plus fair share of fixed costs. Many businesses target 20-30% gross margin for sustainability.
For services, cost price includes labor hours × hourly rate + materials. For products, cost includes purchase + shipping + storage + handling. Service margins are typically higher (50-80%) due to lower variable costs. Both use the same margin formula: Margin = (Price - Cost) / Price × 100%.
1723-1790
Profit theory in economics
The Wealth of Nations (1776)
1909-2005
Management by objectives
Father of modern management
1947-present
Competitive strategy frameworks
Harvard Business School professor
Did You Know? The concept of profit margin dates back to ancient merchants who needed to cover costs and earn a living. Modern margin analysis became systematic during the Industrial Revolution.
Calculate margins on EVERY product, not just averages
Include ALL costs (shipping, fees, returns, payment processing)
Know your break-even margin before setting prices
Review margins quarterly — costs change over time
Use margin, not markup, when analyzing profitability
Test price elasticity — higher prices can mean higher total profit
Margin calculator and complete guide. How to calculate profit margin with the profit margin formula. Calculate gross margin, net margin, and markup. Understand margin vs markup, find selling price from cost and desired margin, compare industry standards, and optimize pricing strategies for retail, manufacturing, e-commerce, and service businesses.