Toolstia / Profit margin calculator

Profit margin and markup calculator

Pricing mistakes often come from mixing up two figures that sound alike. Margin is the share of the selling price that is profit, and markup is profit as a share of the cost. This calculator shows both side by side, along with cost, selling price and profit, so you can see exactly what a number means before you commit to a price list.

Pick what you know: cost and selling price, cost and the margin you want, cost and the markup you want, or selling price and the margin you want. Enter the two numbers and the other three figures appear. Changing the starting choice clears the boxes, so numbers from one question do not leak into the next.

It suits shop owners, freelancers, resellers and anyone quoting a job. It does not include tax, shipping, ad costs or fees unless you include them in the cost you type in.

Enter the two numbers to see the result.

How it works

  1. Choose what you already know.
  2. Enter the two numbers.
  3. Read the cost, price, profit, margin and markup.

Margin versus markup

Margin is profit as a share of the selling price. Markup is profit as a share of the cost. If you buy for 60 and sell for 100, the profit is 40, the margin is 40% and the markup is about 66.7%.

Why they get mixed up

A 50% markup is not a 50% margin. Adding 50% to a cost of 100 gives a price of 150, and the margin on that is only 33.3%. Using the wrong one can leave you with less profit than you planned.

Margin limits

A margin must be below 100%, because the cost cannot be below zero. A markup can be any size. A negative result means you are selling at a loss.

What is not included

This works with the numbers you enter. Add tax, delivery and fees to the cost if you want the real profit. For VAT or GST use the VAT calculator.

Worked example: pricing from a target margin

You buy an item for 40 and want a 30 percent margin. Choose 'Cost and the margin I want' and enter 40 and 30. The price is 40 / (1 - 0.30) = 57.14, the profit is 17.14 and the markup is 42.86 percent.

Compare that with 'Cost and the markup I want' for 40 at a 50 percent markup. The price is 60, the profit is 20, and the margin is only 33.33 percent. Same cost, different method, a very different price.

Converting between margin and markup

The two are linked: margin = markup / (1 + markup) and markup = margin / (1 - margin), with the percentages written as fractions. A 25 percent markup is a 20 percent margin, 50 percent markup is 33.3 percent margin, and a 100 percent markup (doubling the price) is a 50 percent margin.

The gap widens as the numbers grow. Retailers who say they 'keep 50 percent' mean margin, while a wholesaler who says 'we double it' means a 100 percent markup. Confirm which is meant before you compare prices.

Working back from a selling price

If a product sells for 99 and you need a 35 percent margin, choose 'Selling price and the margin I want' and enter 99 and 35. The highest cost you can pay is 99 x 0.65 = 64.35, which leaves a profit of 34.65. That is a markup of 53.85 percent.

This is the version to use when a supplier or marketplace sets the price and you are deciding whether a purchase is worth it.

Selling at a loss

When the price is below the cost, the results turn negative. A cost of 100 sold for 80 gives a profit of -20, a margin of -25 percent and a markup of -20 percent. The margin is larger in size than the markup because it is measured against the lower selling price.

A markup is shown as 'Not defined' when the cost is zero, since there is nothing to divide by. A selling price of zero is rejected, and so is any negative cost or price.

Costs that the calculator cannot see

A 40 percent margin on paper can disappear once card fees, returns, packaging and delivery are subtracted. Include them in the cost field if they apply to each unit, for example 12 of purchase cost plus 1.50 of packaging is a cost of 13.50.

The result is gross margin on the numbers you give it. It is not net profit, and it does not allow for overheads such as rent or salaries.

Questions

Which currency is used?

Any. The tool just does the maths with your numbers.

How do I get a 30% margin?

Choose "Cost and the margin I want" and enter 30. The price is the cost divided by 0.7.

Can I get a negative margin?

Yes, if the price is below the cost. It shows the loss.

Is anything uploaded?

No. Your numbers stays in your browser and is never sent anywhere.

Which is better to track, margin or markup?

Margin is easier to compare across products and with industry figures because it relates to revenue. Markup is handy for pricing from a cost. Track whichever your business already uses.

Why can't I enter a margin of 100 percent or more?

A 100 percent margin would need a cost of zero and a higher margin would need a negative cost. The tool rejects those.

How do I double my money on a purchase?

Use a 100 percent markup. The price is twice the cost, and the margin is 50 percent.

Does it work with tax-inclusive prices?

Only if you enter all amounts the same way. Convert prices to before-tax figures with the VAT calculator first, because tax is not profit.

How accurate are the percentages?

They are shown to two decimals from unrounded values, so a 30 percent margin target shows as 30.00 percent.