Trade Analysis

Stock average calculator

Average price per share across all your buys, plus how many shares to buy to average down to a target.

Free · no sign-up · Runs in your browser · Last updated 24 November 2026

The short version

Average price = total cost ÷ total shares. To reach a target average: shares to buy = shares held × (average − target) ÷ (target − buy price).

Works for stocks, ETFs, crypto and fractional shares. Add up to 20 buys.

    $
    $
    Average price per share
    —
    Total shares
    —
    Total cost
    —
    Break-even incl. fees
    —
    Value at current price
    —
    Unrealised P&L
    —
    Move to break even
    —

    What is a stock average calculator?

    A stock average calculator works out the average price you paid per share across several buys: total cost divided by total shares. Buying 100 shares at $50 and 50 more at $40 gives an average of $46.67. It also works the other way: to bring a $50 average down to $45 by buying at $40, you need 100 more shares, which costs $4,000 and doubles the position.

    The formula

    Cost of each buy
    shares × price
    Average price
    total cost ÷ total shares
    Break-even
    (total cost + fees) ÷ total shares
    Shares to reach a target
    held × (avg − target) ÷ (target − buy price)

    Weight every buy by its size. Averaging the prices themselves only works when every buy was the same number of shares.

    Worked example: averaging down

    Shares held100 at $50.00
    Money in the stock$5,000
    Price now$40.00
    Target average$45.00
    Shares to buy100 × (50 − 45) ÷ (45 − 40) = 100
    Cost of the buy$4,000
    New position200 shares at $45.00

    The break-even drops from $50 to $45, but the money at risk nearly doubles, from $5,000 to $9,000. Decide the most you will put into one stock before the first buy, not after it falls.

    Stock average questions

    How do you calculate the average price of a stock?

    Multiply the shares in each buy by the price you paid, add those amounts up, and divide by the total number of shares. 100 shares at $50 ($5,000) plus 50 shares at $40 ($2,000) is $7,000 for 150 shares, so the average is $46.67. A simple average of the two prices, $45, would be wrong because the buys were different sizes.

    How many shares do I need to buy to average down?

    Shares to buy = shares you hold × (current average − target average) ÷ (target average − buy price). Holding 100 shares at a $50 average and buying at $40, reaching a $45 average takes 100 × 5 ÷ 5 = 100 shares. The target has to sit between the buy price and your current average: you can never average below the price you are buying at.

    Should I include commissions in my average cost?

    For your break-even, yes. The calculator shows the average price per share before fees and a separate break-even that adds commissions, which is the price you need to sell at to come out even. Brokers usually include buy commissions in the cost basis they report for tax.

    Is averaging down a good idea?

    It lowers your break-even, but it also makes the position bigger at the moment the trade is going against you. In the example above the buy takes the money in the stock from $5,000 to $9,000, so a further 10% drop costs $1,800 instead of $1,400. It works when it is part of a plan made before the first buy, with a total position size and a stop that still fit your risk limits. It hurts when it is a way to avoid taking a loss.

    Does it work for averaging up and for crypto?

    Yes. Buying above your average raises it, and the target mode handles that too. Shares can be fractional, so it works for crypto and fractional shares: 0.5 BTC at $60,000 plus 0.25 BTC at $48,000 averages $56,000.

    Read the full guide →

    The average is the easy half. The hard half is knowing whether averaging down has ever paid you.

    TradeReview tracks every buy and sell with its fees, so you can see how trades you added to actually finished compared with the ones you didn't. Free forever, no card.