Calqura
All tools

Margin & Markup Calculator

Convert between cost, price, gross margin, and markup. Set a target margin and see the exact selling price, or check the margin on a price you already charge.

Margin and markup calculator
$
$
Selling price$100.00Profit $40.00
Gross margin40%of the price
Markup66.67%on the cost

Margin = profit ÷ price. Markup = profit ÷ cost. The same sale always has a higher markup than margin.

Two ways to measure the same profit

Profit is the selling price minus the cost. Gross margin divides that profit by the price, so it tells you how much of each sales dollar is kept. Markup divides the profit by the cost, so it tells you how much you added on top of what you paid. Because price is larger than cost, margin is always the smaller percentage.

The conversion formulas

Markup = margin ÷ (1 − margin), and margin = markup ÷ (1 + markup). A 25% markup is a 20% margin. A 100% markup is a 50% margin. A 300% markup is a 75% margin. Memorizing a couple of these pairs helps you catch the most common pricing mistake, which is treating the two as interchangeable.

Pricing from a margin target

To hit a given margin, divide cost by (1 − margin). For a $12 cost and a 35% margin the price is 12 ÷ 0.65 = $18.46. The calculator does this in its target-margin mode and also shows the equivalent markup, so you can speak to both finance and sales.

What margin does not include

Gross margin counts only direct costs, such as materials, goods sold, and direct labor. It does not cover rent, marketing, salaries, or taxes. A healthy gross margin still has to be large enough to fund those, which is where the break-even calculator helps.

Typical ranges

Margins vary widely by industry. Grocery and fuel retail run on thin margins and high volume, while software and branded goods often carry much higher gross margins. Compare against your own sector rather than a generic target, and revisit prices when supplier costs change.

Frequently asked questions

What is the difference between margin and markup?▾

Both describe profit, but against different bases. Gross margin is profit as a percentage of the selling price. Markup is profit as a percentage of the cost. A product that costs $60 and sells for $100 has a 40% margin and a 66.67% markup.

How do I price a product for a target margin?▾

Divide the cost by one minus the margin. For a 40% margin on a $60 cost: $60 ÷ (1 − 0.40) = $100. Do not simply add 40% to the cost, which would give $84 and a margin of only 28.6%.

How do I price for a target markup?▾

Multiply the cost by one plus the markup. A 100% markup on a $50 cost gives $50 × 2 = $100. That same sale is a 50% margin.

Why is markup always larger than margin?▾

They share the same profit in the numerator, but the cost in the markup denominator is smaller than the price in the margin denominator. Markup = margin ÷ (1 − margin), so a 20% margin equals a 25% markup and a 50% margin equals a 100% markup.

Which should I use, margin or markup?▾

Use margin for comparing profitability across products, reading financial statements, and setting targets as a share of revenue. Use markup when you build prices up from costs, which is common in retail. Just never mix the two when quoting numbers.

Guides that use this calculator

Related calculators