← All blog posts

The complete guide to Product Pricing

WhiteUI · A plain-English guide to pricing calculator

This guide covers pricing from start to finish: what it means, the formula, a worked example, the common mistakes and the everyday uses.

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.

A mistake to avoid — confusing markup with margin. A 40% markup is not a 40% margin. On a ₹500 cost at 40% markup the price is ₹700 and the margin is ₹200 ÷ ₹700 = 28.57%, because margin divides by the price, not the cost.

A mistake to avoid — setting a margin of 100%. A 100% margin would need a price with zero cost in it, which is impossible while the cost is positive. The calculator caps margin below 100% because the formula divides by zero there.

Read the everyday examples and the tips guides next for more situations, and use the calculator whenever a new set of numbers comes up.

Frequently asked questions

Where do I start?

Start with the formula and the worked example, then try your own numbers in the calculator.

What should I read next?

The tips guide for habits, the mistakes guide for slips to avoid, and the case study for a full scenario worked through.

Do I need to create an account to use the calculator?

No. Everything runs in your browser, nothing is sent anywhere, and there is no sign-up.

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