Short answer: cost ₹100, sell ₹125 → profit ₹25, margin 20%, markup25%. The margin is a share of the sale, the markup is a share of the cost.
Why the two numbers disagree
Both describe the same ₹25. Dividing by the price gives 20%, dividing by the cost gives 25%. A business that prices everything at "cost plus 30%" earns a 23% margin; one that promises a "30% margin" must charge a 43% markup. Quoting the wrong one is a real pricing error, not a rounding difference.
Worked example
A retailer buys at ₹1,250 and wants a 35% margin. Price = cost ÷ (1 − 0.35) = ₹1,923.08, so the markup is 53.8%. Selling at ₹1,923 instead while quoting a 35% "markup" would leave only ₹673 of profit — a 26% margin — which is the error this page exists to prevent.