Turn a cost and a selling price into the numbers that actually matter for pricing. Enter what an item costs you and what you sell it for, and the calculator returns the profit per unit, the markup percentage (profit as a share of cost) and the gross margin percentage (profit as a share of price). People often confuse markup and margin, and mixing them up can seriously distort a pricing decision, so seeing both side by side keeps you honest. This is useful for setting prices, checking a supplier quote, or understanding a competitor. It works in any currency because it only deals with the numbers you enter. Results update instantly and are computed locally in your browser.
Markup is profit as a percent of cost, while margin is profit as a percent of the selling price. Margin is always the smaller number for the same profit.
It is profit divided by price, times 100, where profit is price minus cost.
It is profit divided by cost, times 100, showing how much you added on top of your cost.
Turn a cost and a selling price into the numbers that actually matter for pricing. Enter what an item costs you and what you sell it for, and the calculator returns the profit per unit, the markup percentage (profit as a share of cost) and the gross margin percentage (profit as a share of price).
Yes. Markup / Margin Calculator is completely free, with no sign-up and no usage limits.
Yes. Markup / Margin Calculator runs in any modern web browser. There is nothing to download or install.
Yes. Markup / Margin Calculator runs entirely on your device in your browser, so nothing you enter is uploaded to a server.
Link this tool from a README, doc or site. The badge links back to this page.
[](https://yourhack.ai/margin-calculator)