Javatpoint Logo
Javatpoint Logo

Stock average calculator Excel

What is the typical price per share?

  • You always want to pay less and make more money as an investor. However, you cannot accurately forecast the share price and returns in the stock market. Like everyone else, you end up purchasing the stock during its peak and then holding onto it until the ideal moment to sell. In this case, careful price averaging can be beneficial. You will ultimately incur a loss if you use a simple average to determine the average price of a stock.
  • Continual characteristics of a stock market are volatility and unpredictability in share prices. As a result, price fluctuations in securities are common, and you should aim to purchase a stock at a fair price.

The weighted average from different shares is the average share price. The weighted average cannot be calculated by default in Excel. Thus, we will demonstrate in this tutorial how to compute the weighted average for the shares or compute the average share price using Excel.

The Weighted Average: What Is It?

One elegant method for calculating the average of things with varying prices and quantities is using the weighted average. For instance, you paid $2.5 for four apples and $3 for six oranges while purchasing them. The weighted average for these two charges will then be your average cost.

Two Simple Methods for Computing the Average Share Price Using Excel

In this tutorial, we'll go over two efficient methods for figuring out the average share price using Excel. To begin with, we will complete the work using the SUMPRODUCT function. The weighted average formula will then be manually inserted to determine the average share price.

1. Employing the SUMPRODUCT Function

The values in the specified ranges or arrays are multiplied by the SUMPRODUCT function, which then adds the resultant values and returns them. This technique will use the function to determine the average share prices.


  • First, choose cell D5 and enter the formula below.
= SUMPRODUCT(B5:B10,C5:C10)/B11
  • Press Enter after that.
    Stock average calculator Excel
  • As a result, we will know the average share price for every share.
    Stock average calculator Excel

2. Using the Formula Manually

The weighted average algorithm will be manually applied to determine the average price of shares. In this case, the weighting element will be the number of shares.


  • First, choose cell D5 and enter the formula below:
  • Press the Enter key after that.

Stock average calculator Excel
  • Consequently, we will possess the mean share value of the shares.
    Stock average calculator Excel

How to Determine the Average Price of Trading

The mean trade price represents the verb Third-person singular simple present indicative form of representing Report Word the mean of all the prices of trades carried out over a given time frame. One can get the average trade price by summing the prices of all transactions made during a given time frame and dividing the result by the total number of trades.

The Average Trade Price is computed as follows:

Average Trade Price = ∑(Prices)/Number of Trades

The average trade price on a few trades will be determined using this procedure.


  • To begin, choose the cell D5 and enter the formula below:
  • Next, press Enter.
    Stock average calculator Excel
  • We are thus going to have the average trading price for all transactions.
    Stock average calculator Excel

Variables that may affect the average price of stocks

The averaging for a stock price is dependent upon four elements.

1. The foundations of a stock

Only firms with strong fundamentals, a favourable market sector, and prices significantly below peak are suitable candidates for averaging. Otherwise, if you wind up purchasing or selling a fundamentally bad stock, it could become even more stressful and turn into a liability with growing losses.

2. Volatility

The share average may seem appealing when a fundamentally good stock exhibits significant price movements and becomes volatile.

3. The movement towards futurism

Any company that shows a growing trend into the future, such as equities of IT and digitization companies, is a good candidate for price averaging. In the stock market, an appropriate average may be key to determining a reasonable stock price that would yield higher returns. For this reason, average pricing may be the most sensible approach to making long-term purchasing and selling decisions.

4. To rectify errors in stock selection

To favourably minimize the price for your entire holding in both the purchase and sell sides is the fundamental rationale and necessity for averaging. This suggests that a stock bought at its peak and quickly declined in value may benefit from future averaging.


In this tutorial, we've covered two methods for using Excel to determine the average share price in this tutorial. Using these techniques, users can obtain the average share prices for various shares and, because the average is weighted, determine which share has the highest weight.

Youtube For Videos Join Our Youtube Channel: Join Now


Help Others, Please Share

facebook twitter pinterest

Learn Latest Tutorials


Trending Technologies

B.Tech / MCA