Margin Calculator
Calculate profit margin, markup, and break-even analysis
Select What You Know
Basic Calculations
Margin Analysis
Cost
Total cost
Revenue
Total revenue
Profit
Gross profit
Margin
Profit margin
Markup
Cost markup
Break-Even Analysis
Break-Even Units
Units to break even
Units for Target
To earn $5,000
Margin of Safety
Above break-even
Contribution Margin: $25.00 per unit (50.0%)
Profit Breakdown
Understanding Margin vs Markup
Profit Margin
Profit as a percentage of revenue
Margin = (Revenue - Cost) / Revenue × 100
Used by investors to assess profitability
Markup
Profit as a percentage of cost
Markup = (Revenue - Cost) / Cost × 100
Used by retailers to set prices
Quick Rule: A 50% markup equals a 33.33% margin. A 100% markup equals a 50% margin.
📊 Master Your Profit Margins
Understanding profit margins is crucial for business success. Whether you're pricing products, analyzing profitability, or making strategic decisions, knowing your margins helps ensure sustainable growth and competitive pricing.
📈 Profit Margin
Margin = (Revenue - Cost) / Revenue × 100
Shows profit as a percentage of selling price
Example: Sell for $100, cost $70
Margin = ($30 / $100) × 100 = 30%
📊 Markup
Markup = (Revenue - Cost) / Cost × 100
Shows profit as a percentage of cost
Example: Cost $70, sell for $100
Markup = ($30 / $70) × 100 = 42.86%
Margin vs Markup Quick Reference
| Markup % | Margin % | Example |
|---|---|---|
| 25% | 20% | Buy $100 → Sell $125 |
| 50% | 33.33% | Buy $100 → Sell $150 |
| 100% | 50% | Buy $100 → Sell $200 |
| 150% | 60% | Buy $100 → Sell $250 |
| 200% | 66.67% | Buy $100 → Sell $300 |
💰 Types of Profit Margins
Gross Profit Margin
Measures profitability after direct costs (COGS)
(Revenue - COGS) / Revenue × 100
- • Shows product/service profitability
- • Excludes operating expenses
- • Key metric for pricing decisions
Operating Margin
Profitability after operating expenses
Operating Income / Revenue × 100
- • Includes all operating costs
- • Shows operational efficiency
- • Excludes interest and taxes
Net Profit Margin
Bottom-line profitability after all expenses
Net Income / Revenue × 100
- • Includes all costs and taxes
- • True profitability measure
- • Key investor metric
Contribution Margin
Revenue minus variable costs per unit
(Price - Variable Cost) / Price × 100
- • Used for break-even analysis
- • Helps pricing decisions
- • Shows profit per unit
🏭 Industry Margin Benchmarks
Profit margins vary significantly by industry. Here are typical ranges to help you benchmark your business:
| Industry | Gross Margin | Operating Margin | Net Margin |
|---|---|---|---|
| Software/SaaS | 70-85% | 20-30% | 15-20% |
| Professional Services | 60-80% | 15-25% | 10-15% |
| Manufacturing | 25-35% | 8-12% | 5-8% |
| Retail | 25-50% | 5-10% | 2-5% |
| Restaurants | 60-70% | 6-9% | 3-6% |
| E-commerce | 40-60% | 5-10% | 2-5% |
| Construction | 20-30% | 5-8% | 2-4% |
Note: These are general ranges. Your specific margins may vary based on business model, market position, efficiency, and competitive landscape.
💡 Pricing Strategies & Margin Optimization
Cost-Plus Pricing
Add a fixed markup to your costs
Price = Cost × (1 + Markup %)
- ✓ Simple to calculate
- ✓ Ensures profit on each sale
- ✗ Ignores market demand
- ✗ May miss optimal pricing
Value-Based Pricing
Price based on customer perceived value
Price = Customer Value Perception
- ✓ Maximizes profit potential
- ✓ Aligns with customer willingness
- ✗ Harder to determine
- ✗ Requires market research
🎯 Margin Improvement Tactics
Increase Revenue
- • Raise prices strategically
- • Upsell and cross-sell
- • Add premium features
- • Bundle products/services
- • Target higher-value customers
Reduce Costs
- • Negotiate supplier prices
- • Improve operational efficiency
- • Reduce waste and returns
- • Automate repetitive tasks
- • Optimize inventory levels
📉 Break-Even Analysis
Understanding Break-Even Point
The break-even point is where total revenue equals total costs, resulting in zero profit. It\'s crucial for understanding business viability and planning.
Break-Even Units
Fixed Costs ÷ (Price - Variable Cost)
Units needed to cover all costs
Break-Even Revenue
Fixed Costs ÷ Contribution Margin %
Sales needed to break even
Example: Coffee Shop Break-Even
Monthly Costs
- • Fixed costs: $10,000 (rent, salaries)
- • Variable cost per coffee: $1.50
- • Selling price: $5.00
- • Contribution margin: $3.50
Break-Even Calculation
- • Units: 10,000 ÷ 3.50 = 2,857 coffees
- • Revenue: 2,857 × $5 = $14,285
- • Daily target: ~95 coffees
- • Margin of safety target: 20%+
How it works
Margin and markup both describe profit on a sale, but against different bases. Margin is profit as a percentage of the selling price; markup is profit as a percentage of the cost. They're easy to confuse, and markup is always the larger number.
Margin vs markup
Margin% = (Price − Cost) ÷ Price · 100 Markup% = (Price − Cost) ÷ Cost · 100
- Cost
- what you paid for the item
- Price
- what you sell it for
Worked example
- Cost = $60
- Selling price = $100
- Profit = 100 − 60 = $40
- Margin = 40 ÷ 100 = 40%
- Markup = 40 ÷ 60 = 67%
40% margin is the same dollar profit as a 67% markup.
Good to know
- Quoting markup as if it were margin overstates profitability — always be clear which base you mean.
- Margin can never exceed 100% (profit can't beat the price); markup has no upper limit.
- To hit a target margin, price = cost ÷ (1 − margin).
Related Calculators
Frequently Asked Questions
What's the difference between margin and markup?
Margin is profit as a percentage of revenue (selling price), while markup is profit as a percentage of cost. For example, if you buy for $100 and sell for $150: Margin = ($50/$150) × 100 = 33.33%, Markup = ($50/$100) × 100 = 50%.
What is a good profit margin?
Good profit margins vary by industry. Retail typically sees 2-5% net margins, restaurants 3-6%, software companies 15-20%, and professional services 15-25%. Gross margins are higher: retail 25-50%, manufacturing 25-35%, and services 50-70%.
How do I calculate margin from markup?
To convert markup to margin: Margin = Markup ÷ (100 + Markup) × 100. For example, a 50% markup equals a 33.33% margin. To convert margin to markup: Markup = Margin ÷ (100 - Margin) × 100.
What's included in gross margin vs net margin?
Gross margin only subtracts direct costs (COGS) from revenue, showing profitability of products/services. Net margin subtracts all expenses including operating costs, taxes, and interest, showing overall business profitability.
How do I calculate break-even point?
Break-even units = Fixed Costs ÷ (Selling Price - Variable Cost per Unit). This tells you how many units you need to sell to cover all costs. The difference between selling price and variable cost is your contribution margin.
What is margin of safety?
Margin of safety shows how much sales can drop before reaching break-even. It's calculated as: (Current Sales - Break-even Sales) ÷ Current Sales × 100. A 20%+ margin of safety is generally considered healthy.
How can I improve my profit margins?
Increase margins by: 1) Negotiating better supplier prices or bulk discounts, 2) Reducing waste and improving operational efficiency, 3) Adding value through branding or customer service to justify higher prices, 4) Eliminating low-margin products, 5) Implementing tiered pricing strategies, 6) Reducing fixed costs through automation or outsourcing.
What is the difference between gross profit margin and operating margin?
Gross profit margin = (Revenue - COGS) / Revenue. It only considers direct production costs. Operating margin = (Revenue - COGS - Operating Expenses) / Revenue. It includes all costs to run the business (salaries, rent, marketing). Operating margin is typically 5-15% lower than gross margin and shows true operational efficiency.