← All blog posts

Profit Margin Calculator formula — how it actually works

WhiteUI · A plain-English guide to profit margins

The whole calculator is one formula: Margin = (selling price − cost) ÷ selling price × 100; profit = selling price − cost. Every field on the page feeds exactly one part of that formula, and nothing else is going on behind the scenes. Knowing that makes the result checkable, not mysterious.

Worked example: Sell at ₹1,200 with a cost of ₹800: the profit is ₹400, and the margin is ₹400 ÷ ₹1,200 = 33.33%. You can follow that example by hand with a pocket calculator. If your hand calculation gives a different answer, compare each input one by one — the formula rarely goes wrong, but a mistyped input goes wrong often.

A useful hand check is to try a round-number version first. Round numbers make the arithmetic easy to follow, and they confirm you understand the method before you trust it with your real figures. Once the method checks out, the real figures are just a second run.

One limit of the formula: Margin and markup are not the same number: the same sale has a markup of ₹400 ÷ ₹800 = 50%, but a margin of 33.33%. The formula is correct for what it covers, and silent about what it does not. Read the result with that limit in mind.

Frequently asked questions

What does each symbol in the formula mean?

Each symbol is one field on the tool page, in the same order. The formula page on the tool itself names them, and the worked example shows them substituted with real numbers.

Can I check the result by hand?

Yes, and you should try it once with round numbers. The worked example on the tool page is designed to be checkable with a pocket calculator.

Does the formula include tax, fees or other charges?

Only what the formula says. Anything outside it — tax, fees, charges, or real-world variation — sits outside the result, so read the result with that in mind.

More guides on the Profit Margin Calculator

Try it yourself

Enter a selling price and a cost to see the profit and the margin in one go.

Open the Profit Margin Calculator