Loading page...
Loading page...
Calculate and analyze your financial information.
Everything you need to know
Profit margin and markup are two of the most critical financial metrics for any business owner, yet they're frequently confused. Understanding the difference between these metrics—and how to calculate them correctly—directly impacts your pricing decisions, profitability, and long-term business success. A single percentage point difference in margin can represent thousands of dollars in profit or loss annually, making accurate margin calculation essential.
Profit margin measures what percentage of your revenue becomes profit. Markup measures how much you're adding to your cost to set your selling price. While related, these metrics serve different purposes and answer different questions. A retailer might use markup to price products, then track margin to measure profitability. A service provider might target a specific margin to cover overhead costs and achieve net profit goals.
This margin calculator helps you understand the relationship between cost, selling price, profit margin, and markup—allowing you to make data-driven pricing decisions that maximize profitability while remaining competitive.
Using our margin calculator is straightforward:
Choose Your Calculation Type
Enter Your Known Values
Review Your Results
Analyze Different Scenarios
Profit Margin (%) = (Profit ÷ Selling Price) × 100
Or equivalently:
Profit Margin (%) = ((Selling Price - Cost) ÷ Selling Price) × 100
Markup (%) = (Profit ÷ Cost) × 100
Or equivalently:
Markup (%) = ((Selling Price - Cost) ÷ Cost) × 100
If you know Markup: Margin = (Markup ÷ (100 + Markup)) × 100
If you know Margin: Markup = (Margin ÷ (100 - Margin)) × 100
Selling Price = Cost ÷ (1 - Margin%)
Example: Cost $100, target 40% margin:
Selling Price = $100 ÷ (1 - 0.40) = $100 ÷ 0.60 = $166.67
Scenario: Product costs $75 to manufacture, sells for $125
Profit = $125 - $75 = $50
Profit Margin = ($50 ÷ $125) × 100 = 40%
Markup = ($50 ÷ $75) × 100 = 66.67%
This product has a 40% margin (40% of the selling price is profit) and a 66.67% markup (the price is 66.67% higher than the cost).
Scenario: Boutique clothing store, average cost $30/item, average selling price $75/item
Calculations:
Profit per item: $75 - $30 = $45
Profit Margin: ($45 ÷ $75) × 100 = 60%
Markup: ($45 ÷ $30) × 100 = 150%
Monthly Analysis (500 items sold):
Revenue: $75 × 500 = $37,500
Cost of Goods: $30 × 500 = $15,000
Gross Profit: $22,500
Gross Margin: 60%
After paying $5,000 in rent, $3,000 in salaries, and $2,000 in overhead, the net profit is $12,500 (33% net margin).
Insight: The 60% gross margin is typical for retail clothing and necessary to cover operating expenses and achieve 30%+ net margin.
Scenario: Restaurant with average dish cost $5 (food cost), selling for $16
Calculations:
Profit per dish: $16 - $5 = $11
Profit Margin: ($11 ÷ $16) × 100 = 68.75%
Markup: ($11 ÷ $5) × 100 = 220%
Monthly Analysis (2,000 dishes sold):
Revenue: $16 × 2,000 = $32,000
Food Cost: $5 × 2,000 = $10,000
Gross Profit: $22,000
Gross Margin: 68.75%
After $8,000 labor, $4,000 rent, $2,000 utilities, and $2,000 misc., net profit is $6,000 (18.75% net margin).
Insight: High gross margin (68.75%) is necessary because labor and overhead are substantial in restaurants, typically consuming 60% of revenue.
Scenario: SaaS company with $100/month subscription, variable cost $15/customer/month
Per Customer Calculations:
Monthly profit per customer: $100 - $15 = $85
Profit Margin: ($85 ÷ $100) × 100 = 85%
Markup: ($85 ÷ $15) × 100 = 567%
Scenario with 1,000 customers:
Monthly Revenue: $100 × 1,000 = $100,000
Variable Cost: $15 × 1,000 = $15,000
Contribution Margin: $85,000
Fixed Costs (R&D, Support, Sales): $50,000
Net Profit: $35,000 (35% net margin)
Insight: SaaS businesses have exceptionally high margins (85% contribution margin) because software has minimal variable costs. This high margin is essential to fund R&D and customer acquisition.
Scenario: Industrial equipment manufacturer, unit cost $1,200, selling price $2,000
Calculations:
Profit per unit: $2,000 - $1,200 = $800
Profit Margin: ($800 ÷ $2,000) × 100 = 40%
Markup: ($800 ÷ $1,200) × 100 = 66.67%
Annual Analysis (300 units sold):
Revenue: $2,000 × 300 = $600,000
Manufacturing Cost: $1,200 × 300 = $360,000
Gross Profit: $240,000
Gross Margin: 40%
After $80,000 sales, $40,000 engineering, $30,000 overhead, the net profit is $90,000 (15% net margin).
Insight: Manufacturing typically has 30-40% gross margins because of significant production costs; net margins are lower due to engineering and overhead.
Scenario: Business owner wants a "50% margin" but incorrectly applies 50% markup
Correct Approach - 50% Margin:
Cost: $100
Target Margin: 50%
Correct Price = $100 ÷ (1 - 0.50) = $100 ÷ 0.50 = $200
Actual Margin: ($100 ÷ $200) × 100 = 50% ✓
Actual Markup: ($100 ÷ $100) × 100 = 100%
Incorrect Approach - Mistaking 50% Markup for Margin:
Cost: $100
Incorrectly applies 50% Markup thinking it's margin
Incorrect Price = $100 × 1.50 = $150
Actual Margin: ($50 ÷ $150) × 100 = 33.33% ✗ (not 50%!)
Actual Markup: ($50 ÷ $100) × 100 = 50%
Impact: This mistake leaves $50 per unit on the table—on 1,000 units, that's $50,000 in lost profit!
Gross Margin: Profit after cost of goods sold, before operating expenses
Gross Margin (%) = (Revenue - COGS) ÷ Revenue × 100
Net Margin: Profit after all expenses including overhead, salaries, taxes
Net Margin (%) = Net Income ÷ Revenue × 100
Net margin is always lower than gross margin because it accounts for all business costs.
For variable products, contribution margin (gross profit) is crucial for understanding break-even points and profitability per unit sold.
Contribution Margin = Selling Price - Variable Cost per Unit
Contribution Margin Ratio = Contribution Margin ÷ Selling Price
Many businesses fail to achieve target margins because they underestimate costs or overestimate pricing power.
Some businesses intentionally set low margins (even losses) on certain products to:
This only works with careful calculation showing overall profitability remains positive.
When costs rise without corresponding price increases, margin shrinks:
Year 1: Price $100, Cost $60, Margin 40%
Year 2: Price $100, Cost $70, Margin 30%
This 10% margin compression requires 17% price increase to restore 40% margin ($100 → $117).
| Industry | Typical Gross Margin | Notes |
|---|---|---|
| Software/SaaS | 70-90% | Minimal variable costs, high R&D |
| Luxury Goods | 60-80% | Premium positioning, low volume |
| Professional Services | 50-70% | Labor-intensive, expertise-based |
| Retail (General) | 30-50% | Volume-based, significant overhead |
| Manufacturing | 25-40% | High production costs, capital investment |
| Restaurants | 60-70% | High gross margin, high operating costs |
| Grocery Stores | 15-25% | Ultra-competitive, low margins, high volume |
| Automotive | 5-15% | Highly competitive, pressure on margins |
| Gas Stations | 5-10% | High volume, razor-thin margins |
Disclaimer: This profit margin calculator provides calculations for educational and business planning purposes only. It does not account for tax implications, hidden costs, or industry-specific factors that affect profitability. Actual margins depend on accurate cost accounting and realistic pricing. Consult a business accountant or financial advisor for comprehensive profitability analysis and strategy.
Calculate return on investment with annualized returns.
Calculate discount amounts, final prices, and savings.
Calculate gross profit margin.
Calculate final price after percentage discounts.