Markup vs Margin Calculator

Convert between markup and margin instantly, calculate the correct selling price, and understand why these two numbers are different. Enter your cost and either a markup or margin percentage to see the full pricing breakdown.

Your total cost to produce or acquire the item, including materials, labor, and any other direct costs.

Choose whether you are entering a markup percentage (based on cost) or a margin percentage (based on selling price).

Enter the markup percentage (how much to add on top of cost) or margin percentage (what portion of the selling price is profit), depending on your selection above.

Markup and margin are two of the most commonly confused pricing concepts in business. They both describe the relationship between cost and selling price, but they use different denominators and produce different percentages for the same transaction. This calculator lets you enter a cost and either a markup percentage or a margin percentage, then shows you the selling price, profit amount, and the equivalent value in the other metric so you can price products correctly and communicate clearly with suppliers, partners, and accountants.

How It Works

Markup and Margin Formulas

Markup Mode: Selling Price = Cost × (1 + Markup%); Margin Mode: Selling Price = Cost ÷ (1 − Margin%)

When calculating from markup, the selling price equals cost multiplied by one plus the markup percentage. When calculating from margin, the selling price equals cost divided by one minus the margin percentage. Both formulas produce a selling price from which you can derive the other metric.

Markup is calculated as (Selling Price − Cost) ÷ Cost. It expresses profit relative to what you paid for the item.

Margin is calculated as (Selling Price − Cost) ÷ Selling Price. It expresses profit relative to the revenue you receive.

The same transaction always has a higher markup percentage than margin percentage because markup divides by the smaller number (cost) while margin divides by the larger number (selling price).

For example, a $25 cost with a 50% markup produces a $37.50 selling price and a 33.3% margin. The same $25 cost with a 50% margin produces a $50.00 selling price and a 100% markup.

Converting between them: Margin = Markup ÷ (1 + Markup); Markup = Margin ÷ (1 − Margin).

Important Notes:

  • This calculator handles single-item pricing. For bundled products or tiered pricing, apply the formulas to each item or tier separately.
  • Markup and margin calculations assume a single cost figure. If your cost varies by order size or supplier, use your average or expected cost.
  • Margin percentage must be less than 100% because a 100% margin would mean the product has zero cost, which is not realistic for physical goods.
  • This tool does not account for volume discounts, promotional pricing, or competitive market positioning, which may require you to adjust the final selling price.
  • In accounting, gross margin refers specifically to revenue minus cost of goods sold divided by revenue, while net margin includes all operating expenses.

Worked Example

A small business owner buys a product for $25 and wants to apply a 50% markup. They want to see the selling price, profit, and what the equivalent margin percentage is.

Inputs:

  • cost:25
  • calculation Mode:markup
  • percentage Value:50

Result:

With a 50% markup on a $25 cost, the selling price is $37.50 and the profit per unit is $12.50. The equivalent profit margin is 33.3%. This means one-third of each sale is profit when expressed as a margin.

Who Is This Calculator For?

  • small business owners
  • retail managers
  • ecommerce sellers
  • procurement professionals
  • accounting students

Frequently Asked Questions

Markup is profit expressed as a percentage of cost. Margin is profit expressed as a percentage of the selling price. For the same transaction, markup is always a higher percentage than margin because cost is a smaller number than selling price. For example, buying at $10 and selling at $15 gives a 50% markup but only a 33.3% margin.
Because markup and margin use different denominators. Markup divides profit by cost (the smaller number), producing a larger percentage. Margin divides profit by selling price (the larger number), producing a smaller percentage. The dollar amount of profit is identical in both cases.
It depends on the context. Retailers and wholesalers often use markup because it directly relates to cost. Financial analysts, accountants, and investors typically use margin because it relates profit to revenue. The important thing is to be consistent and know which one you are using when setting prices.
Use the formula: Margin = Markup ÷ (1 + Markup). For example, a 50% markup (0.50) converts to 0.50 ÷ 1.50 = 0.333, or 33.3% margin. This calculator does the conversion automatically.
Use the formula: Markup = Margin ÷ (1 − Margin). For example, a 40% margin (0.40) converts to 0.40 ÷ 0.60 = 0.667, or 66.7% markup. This calculator does the conversion automatically.
It depends on your industry. Grocery stores often operate on 25-35% markup (20-26% margin). Clothing retail typically uses 50-100% markup (33-50% margin). Restaurants aim for 300% markup on food (75% margin). Software and digital products can have margins above 80%. The key is that your margin must cover all operating costs and leave enough profit.

Related Tools

Related Calculators

Guides & Comparisons

Last updated: April 11, 2026