How share price is calculated in bse

How is a stock’s price calculated in the BSE? Is it purely based on trade transactions on the exchange?

On the BSE, share prices are determined by the last traded price, which is set by supply and demand in the market.