IPO Profit Calculation
IPO profit is the difference between the listing price and the issue price. If you sell on listing day, Short Term Capital Gains (STCG) tax applies.
Use the GMP as an estimator, but real profit is known only on listing. Check What is IPO for tax implications.