Free Markup and Margin Calculator

Convert between markup and margin. Calculate selling price, cost, and profit.

Profit per unit
Markup
Margin
PRICE BREAKDOWN
Cost
Profit
Price
—% margin

What is a markup margin calculator?

A markup margin calculator is a free online tool that helps you calculate markup percentage, profit margin, and selling price from cost and desired profit. It runs entirely in your browser — no signup, no app, and no data is ever sent to a server.

A markup and margin calculator converts between these two common but easily confused pricing metrics. Markup is the percentage added to cost to set the selling price. Margin is the percentage of the selling price that's profit. They are not the same — a 50% markup equals a 33.3% margin — and confusing them is one of the most expensive mistakes in pricing. The calculator handles all conversions automatically.

How it works

Enter your cost and any one of: selling price, markup %, or margin %. The calculator derives the missing values. The formulas: markup = (price − cost) ÷ cost × 100, margin = (price − cost) ÷ price × 100. When converting from markup to margin: margin = markup ÷ (1 + markup). From margin to markup: markup = margin ÷ (1 − margin).

When to use a markup margin calculator

Small business owners setting retail prices for the first time. Anyone reviewing supplier pricing and calculating their own margin. E-commerce sellers calculating what price to list at for a target margin. The calculator is especially useful when negotiating wholesale pricing — knowing both markup and margin gives you a clearer picture of profitability.

Common mistakes with markup and margin

The single most expensive mistake I see small business owners make is confusing markup with margin. A 50% markup sounds like you're making 50% profit, but the margin is only 33.3%. If you think in markup but your financial statements measure gross margin (which is standard accounting), you'll consistently overestimate profitability. A product costing $50 with a 50% markup sells for $75 — but your gross margin is only $25, which is 33.3% of revenue, not 50%.

Another common error is applying the same markup percentage to all products regardless of category. Low-turnover items like furniture need higher margins (40-50%) than high-turnover items like groceries (15-25%). Using a flat 50% markup across everything means you're either overpricing commodity items or under-pricing slow movers. The calculator helps you model different scenarios so you can set category-specific margins based on actual cost structures.

I also find that business owners forget to include all costs in their cost base. Shipping, payment processing fees (2-3%), packaging, and storage are often excluded from the cost of goods sold. If your product costs $20 to manufacture but you add $5 in shipping and $2 in transaction fees, your real cost is $27 — not $20. Running the calculator with the true cost shows whether that price point is actually profitable.

How to use this calculator

  1. Enter cost and selling price — Input your cost and either the selling price, markup %, or margin %.
  2. Choose what to calculate — Select which value you want to find — the missing field will be calculated.
  3. Read the result — See all three values: cost, selling price, markup %, and margin % in one view.

Frequently asked questions

What is the difference between markup and margin?

Markup is the percentage of cost added to get the selling price: (price − cost) ÷ cost × 100. Margin is the percentage of the selling price that's profit: (price − cost) ÷ price × 100. A 50% markup equals a 33.3% margin. They're not interchangeable — this is one of the most common pricing mistakes small businesses make.

How do I convert markup to margin?

Margin = markup ÷ (1 + markup). For a 50% markup (0.5): margin = 0.5 ÷ 1.5 = 0.333 = 33.3%. For a 100% markup (2.0): margin = 2.0 ÷ 3.0 = 0.667 = 66.7%. The calculator automatically converts in both directions so you don't need to remember the formula.

How do I calculate selling price from cost and margin?

Selling price = cost ÷ (1 − margin). If an item costs $50 and you want a 40% margin: $50 ÷ (1 − 0.4) = $50 ÷ 0.6 = $83.33. Your profit is $33.33 per item. Using markup instead of margin for this calculation would give the wrong price.

What is a good profit margin for retail?

Average retail margins vary: groceries 15-25%, clothing 35-50%, electronics 10-20%, furniture 30-45%, specialty retail 40-60%. Service businesses typically aim for 50-80% margins. The right margin depends on your overhead, volume, and market positioning. A 50% markup (33% margin) is a common starting point.

How do I calculate my selling price from a desired margin?

Use the formula: selling price = cost ÷ (1 − desired margin). If your cost is $50 and you want a 40% margin: $50 ÷ (1 − 0.4) = $50 ÷ 0.6 = $83.33. Your profit per unit is $33.33. To check your work: margin = ($83.33 − $50) ÷ $83.33 = 40%. The calculator does this instantly in both directions.

What happens to profit when I discount my selling price?

Discounts come directly off your margin, not your markup. A product with a 50% markup (33.3% margin) discounted by 15% drops your margin to 18.3%. A 25% discount eliminates nearly all profit. This is why understanding margin is critical — a 10% discount on a 33% margin reduces profit by 30% per unit sold.

Related Tools & Guides