Margin Calculator
Specialized tools for business profitability and financial leverage.
Enter any two values to solve for the others.
Margin Calculator
Confused about the difference between margin and markup? This calculator handles both — and lets you find selling price, cost, or margin percentage given any two of those three values.
Margin vs. Markup: The Key Difference
- Profit margin: Profit as a percentage of the selling price. A 30% margin means 30 cents of every dollar you collect is profit.
- Markup: Profit as a percentage of the cost. A 30% markup means you added 30 cents for every dollar it cost you.
The same product priced at 30% margin has a different markup than a product priced at 30% markup — they are NOT interchangeable.
How to Use This Calculator
- Enter any two of the three values: Cost, Selling Price, or Profit Margin %.
- Click Calculate to find the third, plus the equivalent markup percentage.
Key Formulas
Gross Profit = Revenue − COGS
Gross Margin % = Gross Profit ÷ Revenue × 100
Markup % = Gross Profit ÷ Cost × 100
Selling Price (from margin) = Cost ÷ (1 − Margin%)
Selling Price (from markup) = Cost × (1 + Markup%)
Example Calculation
Cost: $40 | Target margin: 35%
- Selling price: $40 ÷ (1 − 0.35) = $61.54
- Gross profit: $61.54 − $40 = $21.54
- Equivalent markup: $21.54 ÷ $40 × 100 = 53.8%
Margin Benchmarks by Industry
- Grocery retail: 2%–5% gross margin (high volume, low margin)
- Clothing/apparel: 40%–60%
- Software (SaaS): 70%–90%
- Restaurants: 3%–9% net margin (higher gross, high overhead)
- Manufacturing: 20%–40%
Common Mistakes to Avoid
- Using markup % as margin % — A 50% markup ≠ 50% margin. A 50% markup = 33.3% margin. Mixing these up leads to underpricing.
- Forgetting overhead costs — Gross margin covers cost of goods. Net margin subtracts operating expenses, interest, and taxes. Both matter for profitability analysis.
- Not updating margins when costs change — If supplier costs rise 10%, your margin shrinks unless you raise prices. Review margins quarterly.
Frequently Asked Questions
What is a good profit margin?
It depends heavily on industry. In general: net margin under 5% is thin, 10%–20% is healthy, and above 20% is excellent. Compare to industry averages, not arbitrary benchmarks.
How do I increase my profit margin?
Three levers: raise prices (most impactful), reduce COGS (better suppliers, less waste), or reduce overhead (operating expenses). Often a combination of all three is most effective.
What is the relationship between margin and markup?
Markup = Margin ÷ (1 − Margin) | Margin = Markup ÷ (1 + Markup). A 50% markup gives 33.3% margin. A 50% margin requires 100% markup (doubling your cost).
Conclusion
Pricing correctly requires understanding both margin and markup — and never confusing them. Use this calculator to set prices that hit your target margin and understand the equivalent markup percentage.
Related: Discount Calculator | ROI Calculator | Sales Tax Calculator | Commission Calculator
Pro Tip
Remember: Margin is calculated on the selling price, while Markup is calculated on the cost. Never confuse the two in your business pricing!