How is a share price calculated at any given time?

Prat had an interesting question on how a share price is calculated on the stock exchange at any given point, and his question had more to do with the mechanics of share price calculation, and not on value or demand and supply etc. which is what is commonly talked about.

So, when you see that the price of Infosys is Rs. 2,850 – how was the price calculated at that given time?

The calculation of prices is completely automated, software driven, and anonymous at both BSE and NSE, and the price is calculated by electronically matching bids and offers for a particular share recorded an electronic limit order book (ELOB).

When you place an order to buy a share at a certain price that is called your “bid” and when you place an order to sell your shares at a certain price that’s called your “ask”.

The ELOB contains all the bid – asks for a particular share and the system matches the best bids and asks to execute an order. The price at which a transaction is executed is called the last traded price (LTP) and that’s what you see on TV screens.

From the NSE’s website – let’s take a look at an example ELOB to understand this process.

An example of an order book for a stock at a point in time is detailed below:

































If you look at the above table, the left side are the bids and the right side are the asks. As it stands – there can’t be any transaction because the highest price that the buyers are willing to pay is lower than the lowest price at which the sellers are willing to sell. However, if you come in and put up a market order to buy 3,000 shares – your order will be executed and you will get 2,000 shares at Rs. 4.00 and the remaining 1,000 shares at Rs. 4.05.

Similarly if you wanted to sell 2,000 shares – the first 1,000 will be sold at Rs. 3.50 and the second thousand will be sold at Rs. 3.40.

The exchange gets you the best price that is available at that given time whether you are a buyer or seller and if you have placed limit orders then those orders will not be executed as long as someone matches that on the other side of the transaction.

At a high level, matching the bids and asks on a stock based on the volume at that time determines the stock price. I’m sure there are a lot of intricacies in this system, but I’m unable to write about them because I’m not familiar with them myself. If you have a link that goes deeper than this then please do leave a comment.

This post was from the Suggest a Topic page.

50 thoughts on “How is a share price calculated at any given time?”

  1. Great article. One question though. At the juncture explained above – assuming there is no Market orders coming through (Say after trading bell) – what will be the market price displayed to traders ? Will it be 3.5 or 4.0 ?

  2. What do you think if the price is 1$ and one person sell it with the price 1000$ and buy it himself, is the price 1000$ per share

  3. Excellent piece of apt information. Moreover explained in a language even the beginner would understand. Thank you?

  4. Sir Please solve the question-

    An investor is considering the purchase of a share of XYZ Ltd. If his required rate of return is 10%, the year-end expected dividend is Rs. 5 and year-end price is expected to be Rs. 24, Compute the value of the share.

  5. A really nice article. I searched the whole net but there was no other site that had explained the calculation part of share prices. Thanks a lot!!!!

Leave a Reply

Your email address will not be published. Required fields are marked *