How is the buy average calculated for Equity?

How is the buy average calculated for Equity?

The Buy Average helps you understand the average price at which you've acquired shares of a particular stock over time. On FYERS, this value is calculated using the FIFO (First In First Out) method, which is also aligned with tax-reporting norms.

What is Buy Average?

Buy Average is the weighted average cost per share based on your executed delivery trades. It helps you track how much you've invested per unit in a specific stock over time—excluding intraday trades.

FYERS uses FIFO to compute Buy Average. FIFO means the shares bought first are considered to be sold first.

How FIFO works – Example

Let’s look at an example from Mr. Mani's FYERS account:

DateSymbolTypeQuantityRate (₹)
12th SeptemberHDFC BankBuy101490
15th SeptemberHDFC BankBuy51380
29th SeptemberHDFC BankSell81540
30th SeptemberHDFC BankBuy101365

On 29th September, Mr. Mani sells 8 shares. Using FIFO, these 8 are adjusted from the earliest buy (i.e., 10 shares bought on 12th September), leaving 2 shares from that lot.

Updated Buy Average:

After the sell transaction, the holdings are:

  • 2 shares @ ₹1490 (from 12th Sept)
  • 5 shares @ ₹1380 (from 15th Sept)
  • 10 shares @ ₹1365 (from 30th Sept)

Buy Average = [(2×1490) + (5×1380) + (10×1365)] / (2 + 5 + 10) = ₹1384

What If...

ScenarioExplanation
I did intraday tradesThese are excluded from Buy Average. Only delivery trades are considered.
I bought and sold shares on the same dayThese are treated as intraday and don’t impact holdings or Buy Average.
I did BTST tradingFIFO applies even to BTST (Buy Today, Sell Tomorrow) transactions.
Use the FYERS Holdings tab to view your current Buy Average. If you notice unexpected changes, check for recent sell transactions or FIFO adjustments.

Last updated: 28 Jun 2025

    • Related Articles

    • How is the average price calculated for Options positions?

      At FYERS, the average price for Options trades is calculated using a combination of FIFO (First In, First Out) and intraday adjustment logic to maintain accurate tracking of cost and realized profit/loss. How the average price is computed Intraday ...
    • How to calculate the Average cost in intraday trading?

      The Average cost is useful when you trade the same stock multiple times. It helps you determine the overall average price of your buy and sell positions, allowing you to assess your profit or loss more accurately. Example: You buy a share of ‘M Ltd’ ...
    • Why does my recently transferred shares to FYERS Demat A/c show the Buy Average as Zero?

      If you've transferred shares from another broker into your FYERS Demat Account, you may notice that the Buy Average appears as zero. This happens because the original purchase price of those shares isn't available to FYERS—the shares were not bought ...
    • What happens if my intraday equity short position isn't closed by end of day?

      If you initiate an intraday short sell in equity and fail to square it off before market close, it can result in short delivery—a situation where the exchange must intervene to fulfill the trade. What is short delivery? You sell shares without ...
    • What is Periodic Call Auction?

      Periodic call auctions are mechanisms introduced by exchanges to improve price discovery in illiquid stocks — those with very low trading volumes. These auctions occur at specific intervals during the day and are designed to ensure fair and ...