Markup & Margin Calculator

Calculate profit margin and markup percentage instantly. Enter cost and selling price — or find your selling price from a target margin or markup.

How To Use the Markup & Margin Calculator

1
Enter Cost Price

Enter the cost price — what you pay for the product or service.

2
Choose Mode

Enter the selling price to calculate margin and markup, or enter a target margin/markup to find the right selling price.

3
View Profit Breakdown

See gross profit, margin percentage, and markup percentage instantly.

About the Markup & Margin Calculator

The ToolCentrix Markup & Margin Calculator is a free tool for business owners, retailers, freelancers, and finance students to calculate profit margin, markup percentage, and selling price instantly. Understanding the difference between margin and markup is essential for setting prices that are both competitive and profitable.

Margin vs Markup — the key difference: Both are expressed as percentages but they measure different things. Margin (or gross margin) is profit as a percentage of the selling price: Margin = (Profit ÷ Selling Price) × 100. Markup is profit as a percentage of the cost: Markup = (Profit ÷ Cost) × 100. For the same product, markup is always a higher number than margin. A 50% markup equals approximately 33.3% margin.

Why this matters for pricing: If you target a 40% margin but accidentally use 40% as a markup, you will undercharge. For a ₹600 cost item: 40% markup gives ₹840 selling price (33.3% margin). 40% margin gives ₹1,000 selling price (40% margin). The difference is ₹160 per unit — significant at scale.

Industry margin benchmarks: Retail grocery: 20–30% gross margin. Clothing retail: 40–60%. Electronics: 5–15%. Restaurants: 60–70% food cost margin (30–40% gross). Software/SaaS: 70–85%. Use these benchmarks to evaluate whether your pricing is in line with industry norms.

Three calculation modes: This calculator supports calculating margin and markup from cost and selling price; finding the right selling price from a target margin; and finding the selling price from a target markup — covering every common pricing scenario.

Free, instant, and private — all calculations happen in your browser with no data sent to any server.

Frequently Asked Questions

What is the difference between markup and margin? +
Markup = (Profit / Cost) × 100. Margin = (Profit / Selling Price) × 100. Markup is always higher than margin for the same product. A 50% markup equals approximately 33.3% margin.
What is the profit margin formula? +
Profit Margin = ((Selling Price - Cost) / Selling Price) × 100. For a ₹600 cost item selling at ₹1000, margin = (400/1000) × 100 = 40%.
What is a good profit margin? +
It varies by industry. Retail targets 20–50% gross margin. Software typically achieves 70–85%. Restaurants run 3–9% net margin. For product businesses, 40–60% gross margin is generally healthy.
How do I calculate selling price from desired margin? +
Selling Price = Cost / (1 - Margin%). For a 40% margin on a ₹600 cost item: ₹600 / (1 - 0.40) = ₹600 / 0.60 = ₹1,000.
How do I calculate selling price from desired markup? +
Selling Price = Cost × (1 + Markup%). For a 50% markup on a ₹600 cost item: ₹600 × 1.50 = ₹900.

Related Tools

Embed This Tool

Add this tool to your website for free. Only the tool is embedded — no header or footer.

<iframe src="https://toolcentrix.com/markup-margin-calculator/#tool-section" width="100%" height="500" frameborder="0" title="Markup and Margin Calculator"></iframe>