Profit Margin Calculator

Work out margin and markup together, or the price that hits the margin you want. 100% free, no signup. Everything runs in your browser.

100% free No sign-up Private by design Works on any device
Profit Margin CalculatorRuns locally

Buy at ten, sell at fifteen. That is a fifty percent markup and a thirty three percent margin, and those two numbers describe the same five pounds of profit. Confusing them is the most expensive mistake in retail pricing, because someone asks for a forty percent margin, someone else applies a forty percent markup, and the business quietly loses money on every sale. This calculator shows both at once, from the same inputs, so the difference is impossible to miss. It also works backwards: switch to the second tab, enter the margin you need, and it tells you what to charge. Everything runs in your browser.

How to use

  1. Enter what the item costs you. Use the price you actually pay your supplier, before anything else.
  2. Enter what you sell it for. If you would rather work the other way round, switch to the second tab and enter the margin you want instead.
  3. Add any other costs per unit: packaging, the shipping you absorb, the payment processing fee, a per unit share of anything else. This is the number people leave out, and it is usually where the margin goes.
  4. Set how many units you expect to sell to see the total rather than the per unit figure.
  5. Read both percentages. Margin is profit as a share of the price. Markup is the same profit as a share of the cost.

Why use our profit margin calculator?

Showing margin and markup side by side is the entire point. Suppliers and wholesalers usually quote in markup, because it makes the number look bigger. Accountants, investors and marketplaces work in margin, because it is the share of revenue you keep. A forty percent markup is a twenty nine percent margin, and if you price a whole range believing those are the same you have given away eleven points of revenue without noticing. The two figures update together here so the gap is visible at every price you try.

The other costs field matters more than people expect. On a small basket, payment fees and packaging can be a larger share of the price than the item's own margin. Adding them turns a comfortable looking thirty percent into a realistic eighteen, which is the number to make decisions with. When the profit goes negative the figures turn red and say plainly how much each sale loses, because that situation is easy to arrive at by accident with free shipping and a discount code running at the same time.

Who is this tool for?

Anyone setting prices for a shop uses this constantly: when a supplier raises a cost, when deciding how deep a sale can go before it stops making sense, and when a marketplace changes its commission. Being able to enter the target margin and get the price is the faster direction for most of those jobs.

It is equally useful for freelancers and service businesses working out an hourly or project rate that survives their own costs. For the platform specific side of the same question, our Shopify fee calculator shows what payment processing actually takes out of each order, and the percentage increase calculator is handy for expressing a price change to a customer.

Frequently asked questions

What is the difference between margin and markup?

Both measure the same profit against a different base. Margin divides profit by the selling price and answers what share of revenue you keep. Markup divides profit by the cost and answers how much you added on top. Cost 10, price 15: margin is 33.3 percent, markup is 50 percent.

How do I work out the price for a margin I want?

Divide the cost by one minus the margin as a decimal. For a 40 percent margin on a cost of 12: 12 divided by 0.6, which is 20. The second tab does this for you, including any other costs you have entered.

Why can I not have a margin of 100 percent?

Because margin is a share of the selling price, and reaching 100 percent would mean the cost is zero. As you approach it the required price rises towards infinity. Markup has no such limit, which is another reason the two get confused.

Should payment fees go in cost or other costs?

Other costs, so your supplier cost stays clean and comparable across products. It also makes it obvious how much of your margin the payment processor is taking, which is easy to forget on low value items.

Is this gross or net margin?

Gross, unless you include everything in the two cost fields. Gross margin covers the direct costs of the item. Net margin also carries rent, salaries, software and advertising, which are not per unit costs and belong in a full profit and loss rather than here.

What is a good margin?

It varies enormously. Grocery runs on a few percent, clothing often sits between 50 and 60, and software can exceed 80. The useful comparison is against your own previous prices and your own category, not against a general rule.

Related tools