HomeLearnGlossaryAverage Price

What is the average price in trading?

Edited by Dan Mitchell
Average price definition

Let’s say you run a coffee shop and need to purchase coffee beans for your best-selling blend. You buy 1 lb on Monday at $8 and a further 3 lb on Friday at $10. Because you acquired the beans at two different prices, you calculate the average cost of $9 per pound, which tells you the break-even point for your blend. This illustrates how cost averaging works.

So, what is ‘average price’ in trading? It’s the weighted average cost of a position, calculated by dividing the total cost by the total number of units. Knowing your average price allows you to evaluate profit or loss and understand the performance of your trades more clearly.

What is average price?

Average price represents a central value. Imagine you purchase five different items, each at a distinct price. By calculating the average price, you obtain a single representative figure that reflects all those items. This principle is widely applied – in personal budgets, economic analysis and trading.

Average price smooths out short-term fluctuations, giving a clearer view of an asset’s typical cost. For instance, if a share trades at $10 one day and $12 the next, the average price of $11 offers a balanced indication of its underlying value.

How is average price defined in trading?

As mentioned earlier, average price shows the typical price you paid for an asset. This asset could be shares or a commodity. It’s often also called the average traded price and is particularly relevant when you buy the same asset on multiple occasions.

Shares are a good example. You rarely buy all shares in one go. You might buy 100 shares today at $50 and a further 50 next week at $52. The average price takes both purchases into account, giving you a single figure that represents your overall cost per share.

Average price is calculated for an entire position – that is, the total number of shares you hold. It considers both the price and quantity of each trade. However, it isn’t a simple average of the prices; it’s a weighted average, in which larger transactions have greater influence. Let’s look at an example.

Want to practise calculating average price? Try it in a demo account to see how it works in real time.

What can the average price tell traders?

Average price is one of the most important metrics for traders. It helps in several ways.

First, it helps assess the cost basis. A trader needs to know the true cost of their position, including fees, spreads, and slippage. The average price provides this comprehensive view of costs, forming a clear benchmark.

Second, it informs decision-making. Knowing the average price is essential for evaluating profit or loss. A trader can easily see whether their position is profitable: if the current market price exceeds the average traded price, the position shows an unrealised gain; if it’s below, an unrealised loss. This comparison is the first step in measuring performance.

Third, it supports risk management. The average price can guide the placement of stop-loss orders. For example, setting a stop-loss just below the average price may help limit losses if the market moves unfavourably.*

Fourth, it tracks position adjustments. When a trader adds to a position, the average price updates. Purchasing more units at a lower price reduces the average – a technique known as averaging down – which lowers the break-even point. Conversely, buying at a higher price increases the average, offering a clear measure of overall exposure.

In short, the average price provides an objective cost basis, a consistent reference for profit and loss, a guide for risk control, and a dynamic measure of position changes.

*Standard stop-loss orders are not guaranteed. Guaranteed stop-loss orders (GSLOs) incur a fee if activated.

How do you calculate the average price in trading?

It is quite simple to learn how to calculate average price in trading. It is a weighted average calculation.

Here is the step-by-step process:

  • 1. Determine the total cost:
    For each purchase, multiply the number of units (shares) by the price paid per unit, and include any applicable commissions or spreads. This gives the total cost for that trade.

    Cost of trade = (number of shares × price per share) + spreads and fees
  • 2. Sum the total costs:
    Add up the costs of all individual purchases. This is the total amount invested in the position.

    Total investment = sum of all purchase costs (including spreads and fees)
  • 3. Sum the total units:
    Add up the total number of units (shares) purchased. This is your total position size.

    Total units = sum of all units purchased
  • 4. Calculate the average price:
    Divide the total investment by the total number of units.

    Average price = total investment ÷ total units

This calculation shows how to work out the average price of a stock.

FAQs

What is average share price?

Average share price is the total amount invested in a stock – including trading fees and spreads – divided by the total number of shares purchased. It’s the effective cost per share for a trader’s entire position and serves as a key reference point for assessing profit or loss.

How do you calculate the average price of a stock?

The formula to calculate the average price of a stock is:

  1. Calculate the total investment by multiplying the shares bought in each transaction by their price, plus any trade costs.
  2. Sum these costs to get the total investment.
  3. Sum the total number of shares bought.
  4. Divide the total investment by the total number of shares.

This gives the weighted average price.

Why does average price matter in trading?

Average price indicates the overall cost basis for a position. Traders use it to assess whether a position is currently showing a profit or loss, helping them evaluate performance and manage risk in a consistent way.

What is the difference between average price and market price?

Average price is the amount paid for an asset over multiple trades, including any related costs. Market price is the current value at which the asset is traded on an exchange. Comparing the two shows unrealised profit or loss: if the market price exceeds the average price, the position shows an unrealised gain; if it’s lower, it shows an unrealised loss.