Markup and Margin Calculator

Calculate markup and profit margin correctly and find the ideal selling price. Understand the difference between the two concepts and price your products without mistakes.

Markup and Margin Calculator

Markup % is applied on top of cost. It differs from margin, which is calculated on the selling price.

Wrong pricing is the silent cause of losses in many businesses

One of the most common mistakes among new entrepreneurs, and even established companies, is confusing markup with profit margin. The two look alike but are calculated on different bases: markup is calculated on cost, while margin is calculated on the selling price. That difference in base means equal percentages produce completely different amounts. Pricing with a 50% markup when the goal was a 50% margin can turn profit into a loss.

This calculator works in both directions: from cost and desired markup to find the selling price, or from cost and the price you charge to find the real margin. For a full picture, add taxes and fixed expenses to arrive at the minimum survival price before deciding on a profit margin.

The classic mix-up: 100% markup ≠ 100% margin

Imagine a product that costs $100. With a 100% markup, the selling price is $200. The margin on the selling price is (200 − 100) ÷ 200 = 50%. Now, if the goal was a 100% margin, the price would have to be infinite, which is mathematically impossible, because a 100% margin would mean the cost is zero. Margins above 80% only exist in products with a marginal cost close to zero, such as software and digital content.

The equivalence table is: 20% margin = 25% markup; 25% margin = 33% markup; 33% margin = 50% markup; 50% margin = 100% markup; 67% margin = 200% markup. Memorizing this equivalence, or keeping a calculator handy, is essential for anyone who works with pricing.

Absorption pricing: including every cost in the price

Correct pricing does not start with the cost of the product alone. It starts with every cost needed to run the business: cost of goods sold (COGS), variable expenses (commissions, shipping, packaging, sales taxes) and a share of fixed expenses allocated per product (rent, salaries, utilities, software). Only after covering all of that does any remaining percentage become real profit margin.

A practical tool for this is the divisor markup: Price = Cost ÷ (1 − percentage of all charges and expenses). If taxes + variable expenses + fixed expenses represent 40% of the selling price, the divisor is 0.60. A product that costs $60 must sell for at least $100 to cover all costs without making a profit. The profit margin only enters as an additional percentage in the numerator.

E-commerce pricing: marketplaces, shipping and installments

Selling on online marketplaces comes with specific costs that need to be part of the math. Marketplaces typically charge a commission that, depending on the category, can range from roughly 8% to 20% of the sale price, plus payment processing fees. Add sales tax or VAT, shipping and packaging, and many popular products end up with a net margin of only 5% to 10%.

Offering interest-free installment plans deserves special attention: it has a real cost that depends on your payment processor, while the money is tied up and exposed to cancellations and chargebacks. Pricing needs to consider the expected mix of payment methods. If most sales are paid in installments, the financial cost must be built into the price.

Break-even point and contribution margin

The break-even point is the sales volume needed to cover all fixed costs. Its formula is: BE = Total Fixed Costs ÷ Contribution Margin per Unit. If monthly fixed costs are $10,000 and each product sold contributes $25 after variable costs, you need to sell 400 units per month to avoid a loss. Every sale beyond that generates profit.

Knowing the break-even point changes how you manage: in bad months, you know how much you need to sell to survive; in good months, you can calculate exactly how much you are earning beyond what is needed. Analyzing contribution margin per product also reveals which items in the portfolio really sustain the business and which only take up inventory and working capital.

Frequently asked questions

What is the difference between markup and profit margin?

Markup is the percentage added to cost to reach the selling price: Markup% = (Price − Cost) ÷ Cost × 100. Margin is the percentage of profit relative to the selling price: Margin% = (Price − Cost) ÷ Price × 100. A product that costs $50 and sells for $100 has a markup of 100% but a margin of only 50%. Confusing the two is a serious accounting mistake that can push a business into losses.

Why is a 50% markup not the same as a 50% margin?

To get a 50% margin you need a 100% markup, not 50%. Example: a cost of $100 with a 50% markup gives a selling price of $150, with a margin of 33.3% (50 ÷ 150). To get a 50% margin, the selling price must be $200 (a 100% markup). The confusion between markup and margin is one of the main causes of wrong pricing in small businesses.

How do I calculate the right markup to cover taxes and fixed expenses?

The ideal markup must cover the product cost, taxes on the sale (sales tax, VAT or similar, depending on where you operate), proportional fixed expenses (rent, staff, utilities) and still leave a profit margin. The divisor markup formula is: Price = Cost ÷ (1 − (Taxes% + Fixed Expenses% + Margin%) ÷ 100). For example, with 15% taxes, 20% fixed expenses and a desired 15% margin, the divisor is 1 − 0.50 = 0.50, so the price is the cost divided by 0.50 (the same as multiplying by 2).

What is a healthy profit margin for e-commerce?

Net margin in e-commerce varies widely by segment. Marketplaces charge a commission on the sale value, often between 8% and 20%, plus payment fees. Adding shipping, packaging, taxes and product cost, it is common for the real net margin to land between 5% and 15%. Higher value-added niches (cosmetics, private-label electronics) can reach 20%–40%. Margins below 5% leave the business highly vulnerable to any cost fluctuation.

What is contribution margin and how does it differ from gross margin?

Gross margin is the difference between the selling price and the direct cost of the product (COGS). Contribution margin goes one step further and also subtracts variable selling expenses (commissions, shipping, sales taxes). The result shows how much each product "contributes" to covering fixed expenses and generating profit. If a product's contribution margin is negative, every unit sold increases the loss, and it is better to stop selling it than to try to make up for it in volume.

How can pricing psychology increase sales without cutting margin?

Charm pricing (prices ending in .99 or .97) takes advantage of the fact that we read prices from left to right: $99.99 is perceived as "in the $90s". Anchor pricing places a higher reference price (struck through) next to the real price, creating a perception of discount even without changing the margin. The "entry price" technique offers a cheaper option to attract customers and, by contrast, makes mid-range and premium options look better, a strategy known as decoy pricing.