Margin

Margin Calculator

Details

How to use Margin Calculator

What the tool does, how to run it, and what to expect from the result.

How to calculate profit margin and markup

Enter what a unit costs you and what you sell it for. The tool subtracts to get profit, divides profit by price to get margin, and divides the same profit by cost to get markup.

Seeing both percentages side by side is the point. They describe the same sale and they are never the same number, and pricing decisions made with the wrong one are how businesses quietly lose money.

  • Enter the unit cost in the Cost field. It starts at 40.
  • Enter the selling price in the Selling price field. It starts at 100.
  • Read the Profit line for cash profit per unit.
  • Compare the Margin line, which is profit over price, against the Markup line, which is profit over cost.
  • To hit a target margin, adjust the price until the margin line reads the number you want, or compute price = cost / (1 - margin).
Tips

Getting a better result out of Margin Calculator

Specific settings and thresholds, not general advice.

  • Margin and markup come off the same two inputs but are different numbers. Margin is profit / price, markup is profit / cost. On the defaults, cost 40 and price 100, margin is 60% and markup is 150%.
  • Confusing them is the classic pricing error. If you want a 40% margin and instead mark cost up by 40%, you land on a 28.6% margin, and the gap comes straight out of your profit.
  • To convert, price = cost / (1 - margin). A 40% margin on a 60 cost needs a 100.00 price, which is a 66.7% markup. In general markup = margin / (1 - margin).
  • Margin can never reach 100%, but markup has no ceiling. Any margin above 50% implies a markup above 100%.
  • A price of 0 makes the margin line show 0% and a cost of 0 makes the markup line show 0%. Those are divide-by-zero guards, not real answers.
Limits

What Margin Calculator does not do

The honest boundary, so you do not lose time finding it yourself.

  • Gross margin only. No overheads, shipping, payment-processor fees, or returns.
  • No net or operating margin, and no volume analysis. Use the Break-Even Calculator for that.
  • No reverse mode. It cannot take a target margin and give you the price to charge.
  • Single product only. No blended margin across a catalogue and no product mix.
At a glance

Who Margin Calculator is for

A quick way to understand who this helps, what it solves, and where it connects next.

Best fit

Shoppers, students, freelancers, and anyone who needs a quick, private calculation.

Ideal for

Fast everyday math without a spreadsheet, app install, or sign-up.

FAQ

Common questions

Short answers for the questions people usually have before trying a utility like this.

Is the margin calculator free?

Yes. It is completely free to use, with no signup, no account, and no paywall.

Can I use it on my phone?

Yes. The page works in any modern mobile or desktop browser, with nothing to install, so you can run a quick calculation wherever you are.

Does it stay local?

Yes. The numbers you enter are processed entirely in your browser and never leave your device.

I want a 40% margin. What markup does that mean?

A 66.7% markup. The conversion is markup = margin / (1 - margin), so 0.4 / 0.6 = 0.667. A 60 cost has to be priced at 100 to yield a 40% margin, and marking that same 60 up by 40% would give you 84, which is only a 28.6% margin.

Why can margin never exceed 100%?

Because it is profit as a fraction of the selling price, and profit can never exceed the price it is a part of. Markup uses cost as the denominator instead, and profit can be many multiples of cost, which is why a 500% markup is possible and a 500% margin is not.

Does the margin include PayPal or Stripe fees?

Only if you build them into the cost field. The tool computes gross margin from the two numbers you give it. A 2.9% plus 0.30 processor fee on a 100 sale is 3.20, so adding that to a 40 cost drops the margin from 60% to 56.8%.

Is this gross margin or net margin?

Gross. It compares selling price to the direct cost of the unit and ignores rent, salaries, marketing, and every other operating expense. Net margin is a whole-business figure and this tool does not attempt it.

How do I set a price from a target margin?

Divide the cost by 1 minus the target margin as a decimal. For a 60 cost and a 35% target, that is 60 / 0.65 = 92.31. Enter that price back into the tool to confirm the margin line reads 35%.

Recommendations

You Might Also Like

Nearby tools from the catalog that fit the same job or workflow.

Cleanor app

Do it all on your device

Cleanor puts these tools in one app: compress and convert images, video, and audio, work with PDFs, and scan text right on your device. Plus free up storage and clear inbox clutter with Email Cleaner. Start with a free trial.

  • iPhone
  • Android
  • Macsoon
  • Windowssoon