Markup and Margin Calculator — Calculate Profit Metrics
Free online markup and margin calculator. Solve for gross profit margin, markup, wholesale cost. Learn the critical difference between markup and margin.
Try the free calculator
Put these formulas into practice with our instant, step-by-step Markup & Margin.
TL;DR
Markup is profit divided by cost. Margin is profit divided by selling price. Because the denominators differ, a 50% markup does NOT equal a 50% margin. A 50% markup = 33.3% margin. Always verify which metric you're using when pricing products to avoid costly errors.
Free - no sign-up required
Every business that sells a product or service must understand the difference between markup and margin, two fundamental metrics that measure profitability in distinct but related ways. Markup refers to the percentage added to the cost of a product to determine its selling price, while margin refers to the percentage of the selling price that represents gross profit. Confusing these two concepts can lead to serious pricing errors that erode profitability. A markup and margin calculator helps entrepreneurs, managers, and students quickly convert between these figures and make sound pricing decisions.
Defining Markup and Margin
Markup is expressed as a percentage of the cost. If a retailer buys a product for $50 and sells it for $75, the profit is $25. The markup is $25 / $50 = 50%. This tells you that the selling price is 50% above the cost.
Gross margin (or profit margin) is expressed as a percentage of the selling price. Using the same example, the margin is $25 / $75 = 33.3%. This tells you that one-third of every dollar of revenue is gross profit. The formulas are:
- Markup = (Selling Price - Cost) / Cost × 100
- Margin = (Selling Price - Cost) / Selling Price × 100
Quick Definition
Markup measures profit as a percentage of cost, while margin measures profit as a percentage of selling price. The same profit can be expressed as either markup or margin, but the numbers will always differ because the denominators are different.
Why the Distinction Matters
Many business owners use the terms interchangeably, but doing so can lead to significant financial miscalculations. Suppose a business owner wants a 40% margin on a product that costs $100. The correct selling price would be $100 / (1 - 0.40) = $166.67. However, if the owner mistakenly applies a 40% markup instead, the selling price would be $140, yielding only a 28.6% margin. Over hundreds or thousands of transactions, this mistake can cost tens of thousands of dollars in lost profit.
Markup is typically used in retail and wholesale pricing to ensure that the price covers the cost and provides a desired return. Margin is more commonly used in financial analysis, accounting, and investor reporting because it directly relates profitability to revenue. Understanding both metrics allows business owners to set prices strategically, evaluate competitor pricing, and communicate financial performance accurately to stakeholders.
Using the Calculator
The markup and margin calculator accepts any two of three values (cost, selling price, or profit) along with either the desired markup or margin percentage. It then solves for the remaining values. This is especially useful when you know your cost and target margin and need to determine the correct selling price, or when you want to reverse-engineer the cost from a known selling price and margin. The calculator handles the algebra instantly, eliminating the risk of manual errors.
Converting Between Markup and Margin
Converting between markup and margin requires understanding the relationship between cost and selling price. The key insight is that selling price equals cost plus profit, and margin uses selling price as the denominator while markup uses cost.
- Markup to Margin: Margin = Markup / (1 + Markup)
- Margin to Markup: Markup = Margin / (1 - Margin)
| Markup | Equivalent Margin | Example |
|---|---|---|
| 25% | 20.0% | $125 price from $100 cost |
| 33.3% | 25.0% | $133.33 price from $100 cost |
| 50% | 33.3% | $150 price from $100 cost |
| 100% | 50.0% | $200 price from $100 cost |
| 200% | 66.7% | $300 price from $100 cost |
Pricing Strategy Applications
Markup and margin calculations are fundamental to various pricing strategies. Cost-plus pricing, the most straightforward approach, adds a fixed markup percentage to the cost of goods. This ensures every sale covers costs and generates profit, but may not account for market conditions or competitive positioning.
Target margin pricing works backward from a desired profit margin. If a business needs a 40% margin to cover overhead and generate profit, the selling price is calculated as Cost / (1 - Target Margin). This approach is common in professional services, consulting, and agency work where profitability targets drive pricing decisions.
Common Pricing Mistakes
Mistake 1: Confusing markup with margin. As shown above, a 50% markup is not a 50% margin. Always verify which metric your financial reports, industry benchmarks, or business partners are referencing.
Mistake 2: Ignoring overhead costs. Product markup should account for not just the direct cost of goods but also overhead expenses like rent, utilities, salaries, and marketing. A markup that covers only the wholesale cost may still result in a net loss.
Mistake 3: Setting prices based on competitor prices alone. While competitive analysis is important, your prices must first cover your costs and achieve your target margin. If competitors have lower costs or different business models, their prices may not be sustainable for your operation.
Industry Benchmarks
Markup and margin expectations vary significantly by industry. Understanding typical ranges helps you set competitive prices while maintaining profitability.
| Industry | Typical Margin | Notes |
|---|---|---|
| Grocery | 1-3% | High volume, low margin |
| Clothing | 50-60% | Fashion markup varies widely |
| Electronics | 20-35% | Varies by product category |
| Software/SaaS | 70-90% | Low marginal cost |
| Professional Services | 40-60% | Time-based billing |
Frequently Asked Questions
What is the formula for markup?
Markup = (Selling Price - Cost) / Cost × 100. For example, if you buy for $50 and sell for $75, markup = ($75 - $50) / $50 × 100 = 50%.
What is the formula for margin?
Margin = (Selling Price - Cost) / Selling Price × 100. For example, if you sell for $100 and it costs $60, margin = ($100 - $60) / $100 × 100 = 40%.
Is a 50% markup the same as a 50% margin?
No. A 50% markup on a $100 cost = $150 selling price = 33.3% margin. A 50% margin on a $100 cost = $200 selling price = 100% markup. They are fundamentally different metrics.
How do I calculate selling price from margin?
Selling Price = Cost / (1 - Target Margin). For a 40% margin on a $100 cost: $100 / (1 - 0.40) = $166.67.
What is a good profit margin?
A "good" margin varies by industry. Grocery stores operate on 1-3% margins, while software companies may achieve 70-90%. Research your industry's benchmarks to set appropriate targets.
E-E-A-T & Sourced Attribution
This article references pricing principles from the Harvard Business Review, profit margin benchmarks from IBISWorld industry reports, and accounting standards from the Financial Accounting Standards Board (FASB). All formulas follow established business accounting principles.