Stock Average Calculator Guide: Work Out Your Average Purchase Price After Averaging Down
When you buy shares in the same company more than once, at different prices, you no longer have a single purchase price. You have several, and the question that matters for later decisions is: what did you pay on average per share? That average, properly weighted by the number of shares in each purchase, tells you the price at which you would break even on the shares themselves, before fees and taxes, and it is the figure a stock average calculator produces. It sounds like simple arithmetic, and the arithmetic is simple, but the decisions around it are not, because lowering an average by buying more of a falling share, known as averaging down, can be sensible or reckless depending on why the share fell and whether the investment case still holds.
This guide explains the calculation, works through an example with every step shown, and explains the limits of the average as a decision tool. The content is educational only, not financial advice. Investment decisions should reflect your own circumstances, risk tolerance, and, where needed, advice from a qualified financial adviser. Share prices can fall as well as rise, past performance does not predict future results, and an average price is a record of what you paid, not a forecast of what the shares are worth.
The weighted average formula
Average price equals total cost divided by total shares. Total cost is the sum, over all purchases, of shares bought multiplied by price per share in that purchase. Total shares is the sum of shares bought across all purchases. The weighting matters: a purchase of 500 shares affects the average five times as much as a purchase of 100 shares, which is why a simple average of the prices, adding the prices and dividing by the number of purchases, is wrong whenever the purchases are of different sizes. A simple average treats a tiny purchase and a huge purchase as equals, and it will misstate your break-even price, sometimes by a large amount.
Fees, commissions, and taxes complicate the picture. A calculator that uses only share prices gives the average price of the shares themselves. A calculator that includes fees gives the average cost including fees, which is higher, and which is the figure that matters for a true break-even after costs. Be clear about which figure you are looking at, and be consistent: if you include fees for one purchase, include them for all. Dividends received, if any, are a separate return and should not be subtracted from the purchase cost in an average-price calculation, though they do affect overall profit. Mixing dividends into the average price creates a hybrid number that is neither an average price nor a total return, and it confuses later decisions.
Worked example with sample values
Suppose a sample investor first buys 100 shares at 50 per share, and later buys 50 shares at 40 per share, using clearly labelled sample values in a single currency. First compute the cost of each purchase. The first purchase costs 100 times 50, which equals 5,000. The second purchase costs 50 times 40, which equals 2,000. Total cost is 5,000 plus 2,000, which equals 7,000. Total shares are 100 plus 50, which equals 150 shares. Average price is total cost divided by total shares: 7,000 divided by 150 equals 46.67, rounded to two decimal places, because 150 times 46 is 6,900, leaving 100, and 100 divided by 150 is 0.67. So the average purchase price is 46.67 per share.
Check the result for sense. The average must lie between the two purchase prices, 40 and 50, and it must lie closer to 50, because the larger purchase was at 50. The result, 46.67, satisfies both checks: it is between 40 and 50, and it is closer to 50 than to 40. Compare it with the simple average of the prices, which would be 50 plus 40 divided by 2, which equals 45. The simple average understates the true average by 1.67 per share, because it gives the smaller, cheaper purchase equal weight. Over 150 shares, that error totals 1.67 times 150, which is about 250, a material difference when deciding whether a later sale price represents a profit or a loss. The weighting is not a refinement; it is the calculation.
What the average does and does not tell you
The average price tells you your break-even price before fees and taxes: if the share price rises above the average, the holding shows a gain on purchase cost, and if it falls below, it shows a loss. That is useful for record-keeping and for understanding a position, but it is not a reason to buy or sell. The market does not know your average price, and it does not care about it. A share trading at 45 when your average is 46.67 is not "due" to rise to your average, and a share trading at 60 when your average is 46.67 is not "due" to fall. Decisions should rest on the investment case: the company's prospects, its valuation relative to alternatives, and your portfolio needs, not on the distance between the current price and your average.
Averaging down deserves particular caution. Buying more of a falling share lowers the average and reduces the price rise needed to break even, which feels like progress. But it also increases exposure to the very investment that is already losing money, and if the fall reflects a genuine deterioration in the business, averaging down concentrates risk in a worsening position. The discipline that helps is to re-examine the investment case before each additional purchase, as if it were a new investment, and to ask whether you would buy the share today at today's price if you owned none of it. If the answer is no, averaging down is driven by the desire to repair the average, not by the merits of the investment, and that is a warning sign. Position limits, decided in advance, also help: a maximum share of the portfolio for any single holding prevents averaging down from quietly dominating the portfolio.
Using the calculator well
Record every purchase as it happens, including date, shares, price, and fees, because reconstructing purchases months later from bank statements is error-prone, especially after stock splits, bonus issues, or corporate actions, which change share counts and prices and must be handled separately. If you sell part of a holding, the average price of the remaining shares does not change under the average-cost method, because selling removes shares at the average price, but tax treatment of sales varies by jurisdiction and may use different cost methods, so keep records that allow the tax calculation to be done correctly rather than assuming the calculator's average is the tax figure.
Use the calculator before a purchase to model its effect, not only after. If you hold 150 shares at an average of 46.67 and consider buying 150 more at 40, the new total cost would be 7,000 plus 6,000, which equals 13,000, and the new total shares would be 300, giving a new average of 13,000 divided by 300, which equals 43.33. Modelling the effect in advance shows exactly how much the average would fall and how much new money would be committed, which are the two numbers that should drive the decision, alongside the investment case. A purchase that barely moves the average but commits a large sum deserves more scrutiny than one that moves it a great deal for a small sum.
Common mistakes to avoid
The first mistake is using a simple average of prices instead of a weighted average, which misstates break-even whenever purchases differ in size. The second is forgetting fees and taxes, which makes break-even look lower than it really is. The third is treating the average as a target the market must return to, which is a cognitive trap, not a market force. The fourth is averaging down without re-examining the investment case, which can turn a small loss into a large concentrated one. The fifth is reconstructing purchase history from memory after corporate actions, splits, or partial sales, which introduces errors that propagate into every later decision. The sixth is using the average price as the sole criterion for selling: tax, portfolio balance, and the availability of better opportunities all belong in a selling decision, and none of them appear in the average. Keep the average as a record, use it to understand a position, and make buy and sell decisions on the merits of the investment and the needs of the portfolio.
Try it next
Try the Stock Average Calculator Guide tool with your own numbers, then explore the Average Calculator and the Compound Interest Calculator for related calculations. For a companion read, see /blog/average-calculator-guide/, which applies the same measure-carefully habit to a different problem.