Tivolio Support us Add to Chrome Quiz

Stock average calculator: your new average price

Short answer

Your average price is the total you paid divided by the number of shares you own. Buying more below your average pulls it down, and buying above it pulls it up. The calculator below does both sums for you.

Average price calculator

Fill in what you own now and the buy you are planning. Everything is worked out in your browser.

$72.50 New average price 80 shares, $5,800.00 in total
Cost of this buy$1,800.00
Change in your average−$7.50 (−9.4%)
Price needed to break even$72.50, down from $80.00

How many shares to reach a target average?

Say you'd like your average to be $70. This works out how many shares you need to buy at today's price to get there.

50 Shares to buy Costs $3,000.00 at $60.00 a share

The formula

New average = (old shares × old average + new shares × new price) ÷ (old shares + new shares)Fees count too: add them to what you paid if you want the exact number.

A worked example

SharesPriceCost
You own50$80$4,000
You buy30$60$1,800
Together80$72.50$5,800

$5,800 ÷ 80 shares = $72.50. To reach a target average, the number of shares to buy is: shares owned × (old average − target) ÷ (target − today's price). Here that's 50 × (80 − 70) ÷ (70 − 60) = 50 shares.

Averaging down: what it does and doesn't do

Selling doesn't change your average

When you sell some shares, the average price of the shares you keep stays the same (the "average cost" method, which many brokers and apps use). Your realized gain is the sale price minus that average, times the shares sold. Some countries and brokers use first-in, first-out (FIFO) instead, which can give a different gain for tax.

This article is for education only and isn't financial advice. Examples use made-up numbers.