How to calculate Product Pricing - worked example
The best way to trust a calculator is to work one example all the way through by hand, then confirm the calculator agrees. Here is that example, step by step, with nothing skipped.
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.
Step by step: 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.
Now repeat it with your own numbers. Change one input at a time and watch the answer move — that is how you learn what each input actually does.
Pricing by markup or by target margin — which to pick
The examples above price by markup, but many sellers start from the margin they want to keep, and the two routes give different prices. Take a unit that costs ₹2,000 with a 25% markup: the price is ₹2,000 × 1.25 = ₹2,500, the profit is ₹500, and the margin is ₹500 ÷ ₹2,500 × 100 = 20.00%. If instead you want to keep a 40% margin on that same ₹2,000 cost, the price must be ₹2,000 ÷ (1 − 0.40) = ₹3,333.33, giving a profit of ₹1,333.33. Same cost, two honest prices — ₹2,500 by markup, ₹3,333.33 by margin — and the difference is what “keeping 40%” actually costs the customer. Pick the markup route when you know what the market will pay and want to check the margin it leaves you; pick the margin route when you know the margin you need and want the price that delivers it.
One warning: the margin route is sensitive. Aiming for a 40% margin and settling for 35% does not cost 5% of the price — on a ₹2,000 cost it moves the price from ₹3,333.33 to ₹3,076.92, a drop of ₹256.41. Small changes in the target margin move the price a lot, so set the target deliberately and check the resulting price against what customers will actually pay before you commit.
Mistakes that quietly shrink the profit
The first mistake is the one this guide keeps coming back to: treating markup and margin as the same number. A 40% markup on a ₹500 cost gives a price of ₹700 and a margin of 28.57%, not 40%. If you plan your month on a 40% margin and actually earn 28.57%, the shortfall shows up in the bank balance, not in the calculator. The second mistake is leaving costs out of the cost. Packaging, delivery, payment gateway fees and returns all come out of the same profit, and a ₹50 courier charge on a ₹700 sale is 7% of the price gone before you start.
The third mistake is rounding the price down without noticing. Pricing at ₹699 instead of ₹700 feels like good psychology, and it is — but it also takes ₹1 off every sale, which is ₹1,000 across a thousand units. Round deliberately, not by habit. And remember that the tool this guide points to is the Markup Calculator, since the pricing tool itself has been folded into it: the formula, the examples and the checks above all work exactly the same way there.
Frequently asked questions
Why work through an example by hand?
Because a hand-worked example gives you a number you trust. Once you have one, you can test the calculator against it and spot any input slip at once.
Should the calculator match my hand calculation exactly?
Yes, apart from rounding to two decimal places. A larger gap means an input differs.
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
- Product Pricing formula explained simply
- Product Pricing basics explained
- Product Pricing FAQs answered
- Product Pricing cheat sheet
- Product Pricing calculator vs doing it by hand
- The complete guide to Product Pricing
- Product Pricing tips and tricks
- Product Pricing case study: a real example
- Product Pricing common mistakes to avoid
Set a price from cost with a markup or a target margin, and see the profit on each sale.