Home » Tools » Stock Average Calculator
Stock Average Calculator
This stock average down calculator finds your average cost per share across multiple stock purchases, plans how many shares you need to buy to average down to a target price, and computes your break-even price and unrealized profit or loss. Everything runs in your browser — no data leaves your device.
Average Cost Per Share
Enter every purchase lot below — this stock lot calculator average cost view supports up to 10 lots (shares × price, plus commission). Fractional shares are allowed.
Per-lot table
Tip: enter a current market price above to add live value and P/L columns to this table.
Average-Down Planner
An average down stock calculator in both directions: shares needed for a target average, or the new average from a planned purchase.
A — Shares needed for a target average
B — New average from a planned purchase
Averaging down lowers your break-even but doubles down on the same position — the arithmetic is neutral; the decision is not financial advice.
Break-Even Price & Unrealized P/L
Break-even price after averaging, plus unrealized profit/loss against the current market price.
How the math works
In short, a cost averaging calculator stocks page is just weighted-average arithmetic. With lots of (sharesi, pricei) and optional per-lot commissions feei:
To find how many new shares at price X pull an average A on S shares down to target Y:
Break-even including a sell commission c% and flat sell fee F on total cost C:
Unrealized P/L against current price P:
Worked example
You buy 100 shares at $50 and later 100 shares at $30 — the average purchase price across your stock lots is ($5,000 + $3,000) / 200 = $40.00 per share, on a cost basis of $8,000. To average down to $35.00 by buying at $30.00, you need 200 × (40 − 35) / (35 − 30) = 200 more shares ($6,000 new money). If the stock now trades at $35.00, your unrealized P/L is ($35 − $40) × 200 = −$1,000 (−12.5%).
All figures above are recomputed by the page's own engine — try them in the tabs. The formulas are exactly what an average purchase price calculator stocks sites embed; the arithmetic is identical.
Frequently asked questions
- What is a stock average calculator?
- A stock average calculator computes your average cost per share across multiple purchases of the same stock. Because each purchase (lot) can have a different price and size, the answer is a weighted average: total money invested divided by total shares owned. For example, buying 100 shares at $50 and 100 shares at $30 means $8,000 invested for 200 shares, so the average cost is $40.00 per share. An average cost per share calculator is the same tool under a different name. Educational math only, not financial advice.
- How to calculate average stock price across multiple purchases?
- Add up everything you paid (shares times price for each lot, plus any commissions), then divide by your total share count. With 100 shares at $50 ($5,000) and 100 shares at $30 ($3,000), the math is ($5,000 + $3,000) / 200 shares = $40.00 per share. An average share price calculator - more precisely a weighted average stock price calculator - does this weighting for you, giving the average stock price multiple buys result in one number. The calculator's Average Cost tab does this for up to 10 lots, including per-lot commissions, and shows a per-lot breakdown table.
- Average down calculator: how many shares do I need to buy to reach a target price?
- Use the average-down planner: with 200 shares at a $40.00 average, to reach a $35.00 target by buying at $30.00 you need 200 more shares. The formula is N = S x (avg - target) / (target - buy price) = 200 x (40 - 35) / (35 - 30) = 200 shares. Check: ($8,000 + 200 x $30) / 400 shares = $14,000 / 400 = $35.00. The average down calculator how many shares question has a closed-form answer, and it is the core skill behind how to average down stocks. This is arithmetic, not a recommendation to buy.
- What is the average down formula?
- Shares needed = S x (A - Y) / (Y - X), where S is your current share count, A is your current average cost per share, Y is the target average, and X is the price of the new purchase. It only works when the target is below your current average (Y < A) and the new buy price is below the target (X < Y); otherwise the calculator reports the goal as impossible, because no number of shares can pull the average to a price you never actually paid.
- What is my break-even price after averaging down?
- Your break-even price per share equals your average cost per share, including commissions. After averaging down to $40.00 per share on 200 shares, the stock must reach $40.00 for the position to break even before selling costs. If your broker charges a 1% selling commission, the break-even rises to $8,000 / (200 x 0.99) = $40.40. A break even stock price calculator applies the same idea; the Break-Even tab computes this with your own commission figures.
- Do trading fees and commissions change my average cost?
- Yes. Commissions are part of your cost basis, so they raise the average. Buying 100 shares at $50 and 100 shares at $30 with a $10 commission per lot costs $8,020 total, giving an average of $8,020 / 200 = $40.10 per share instead of $40.00. A stock cost basis calculator - also called an average cost basis calculator - folds commissions into the average. Enter each lot's commission in the fee field and the calculator folds it into the average, the break-even price, and the per-lot table.
- How do I calculate unrealized profit or loss against the current price?
- Subtract your average cost from the current price and multiply by your share count. With 200 shares at a $40.00 average and the stock now at $35.00: ($35.00 - $40.00) x 200 = -$1,000, which is -12.5% of the $8,000 invested. Unrealized means the loss only becomes real if you sell; the same subtraction an unrealized profit loss calculator stocks page performs; the P/L tab shows the dollar amount, the percentage, and the current market value side by side.
- Why can't I just take a simple average of the purchase prices?
- A multiple stock purchases average calculator - a stock averaging calculator - weights each lot by its size, because a simple average ignores lot sizes. Buying 100 shares at $50 and 300 shares at $30 gives a weighted average of ($5,000 + $9,000) / 400 = $35.00 per share, while the simple average ($50 + $30) / 2 = $40.00 is wrong: three-quarters of your money went in at $30, so the true average must sit closer to $30. The simple average is only correct when every lot has exactly the same share count.
- What is the difference between cost basis and average cost per share?
- Cost basis is the total: everything you paid, including commissions. Average cost per share is the cost basis divided by your share count. In the running example the cost basis is $8,000 and the average cost is $40.00 per share on 200 shares. Brokers usually report both; taxes are generally figured on the total basis, while break-even thinking uses the per-share average. If you are asking what is my average cost per share, a per share cost calculator divides the basis by the share count.
- When is averaging down mathematically impossible?
- Two cases. First, if your target average is at or above your current average, you already beat the target and no purchase is needed. Second, if the new buy price is at or above your target average, the goal is impossible: every new share costs at least the target, so the average can never fall below it. The planner flags both cases instead of returning a nonsense number. If you are learning how to average down a stock position, practice with these two cases first.
- Does this calculator handle stock splits, dividends, or DRIP purchases?
- No. A stock split changes your share count and per-share price retroactively, and dividends or DRIP purchases are separate lots with their own tax treatment. For a split, adjust your historical prices and share counts first (for example, after a 2-for-1 split, halve every old price and double every old share count), then enter the adjusted lots here. Dividend-focused math belongs in a dedicated dividend calculator.
- Is this stock average calculator financial advice?
- No. It is an educational math tool that applies weighted-average arithmetic to the numbers you type. It knows nothing about the company, the market, your taxes, or your risk tolerance, and averaging down a losing position can increase losses rather than fix them. Treat every result as an estimate for learning and planning, and talk to a licensed financial advisor before making real investment decisions.
Free tool by NRTechStudio