← All blog posts

Product Pricing formula explained simply

WhiteUI · A plain-English guide to pricing calculator

The formula behind the Pricing Calculator looks short, but each part earns its place. Read it slowly once, and the calculator stops being a black box.

The formula is: Markup: price = cost × (1 + markup%). Margin: price = cost ÷ (1 − margin%). Profit = price − cost, and margin = profit ÷ price × 100. Markup and margin describe the same sale two ways: markup divides profit by cost, margin divides it by price.

Worked example: A unit costing ₹500 with a 40% markup sells for ₹500 × 1.40 = ₹700, a profit of ₹200. The margin on that price is ₹200 ÷ ₹700 = 28.57% — the same sale, described two different ways.

A second example: a unit costing ₹800 with a 25% markup sells for ₹800 × 1.25 = ₹1,000, a profit of ₹200 and a margin of ₹200 ÷ ₹1,000 = 20.00%. A third check: to earn a 30% margin on a ₹700 cost, the price must be ₹700 ÷ (1 − 0.30) = ₹1,000, giving a profit of ₹300.

The most useful check is direction, not precision: when you raise an input, does the answer move the way you expect? If it moves the other way, you have usually swapped two inputs.

Frequently asked questions

Which part of the formula matters most?

The part you are most likely to mistype: the rate, the amount or the time period. Check that one first when a result surprises you.

Do I need to memorise the formula?

No. Understand what each input does and the calculator does the arithmetic.

What if my result looks wrong?

Re-read each field and its unit first. Most wrong results come from a mistyped number or a wrong unit, not from the calculator itself.

More guides on the Pricing Calculator

Try it yourself

Set a price from cost with a markup or a target margin, and see the profit on each sale.

Open the Markup Calculator