Home › All Tools ›

Stock Average Calculator

Use Stock Average Calculator online for free at FreeToolZones — no sign-up, no watermark.

Loading tool...

The Stock Average Calculator works out the average price you paid per share across two purchases, and shows whether your holding is currently in profit or loss. Investors often buy the same stock more than once, at different prices. The first purchase might be at a high price, the second at a lower price after a fall, a strategy often called averaging down. Knowing the blended average cost is essential, because it is the break-even price: the stock must rise above your average cost for the holding to be profitable. The Stock Average Calculator on FreeToolZones computes that average instantly, along with the total shares, total invested, current value, profit or loss, and the gain needed to break even. It is free, runs entirely in your browser, and needs no sign-up.

The tool’s value lies in replacing rough mental arithmetic with exact figures. Averaging two purchases is not simply taking the mean of the two prices, unless the quantities are equal. A large purchase at one price weighs more heavily than a small purchase at another, and the correct average is weighted by quantity. The calculator applies the weighted formula, so the result reflects the actual money invested at each price. It also compares the average with the current price to show the profit or loss in money and percentage terms, and states the percentage gain needed to break even when the current price is below the average. The results are estimates for guidance only and are not financial advice. Brokerage, fees, and taxes are not included, as the tool’s own note states, and past prices do not predict future prices.

What Is the Stock Average Calculator?

The Stock Average Calculator is a free online tool that averages the cost of two purchases of the same stock and evaluates the holding against the current price. You enter the quantity and price per share for a first buy, the quantity and price per share for a second buy, and the current price per share. The tool calculates the total shares as the sum of the two quantities, the total invested as the sum of each quantity multiplied by its price, and the average price per share as the total invested divided by the total shares. The current value is the total shares multiplied by the current price. The profit or loss is the current value minus the total invested, shown with its percentage relative to the invested amount.

The break-even price is the average price itself. If the current price equals the average, the holding breaks even before fees and taxes. If the current price is above the average, the holding is in profit. If it is below, the holding is in loss. The gain-needed figure quantifies the recovery required: when the current price is below the average, it shows the percentage rise needed for the current price to reach the average. When the current price is already above the average, the tool states that the holding is already above average cost, rather than showing a meaningless negative figure.

The tool models exactly two purchases, as its note states. That covers the common case of an initial buy plus one averaging purchase, and it keeps the interface simple. If you bought the same stock three or more times, you can combine purchases by adding quantities and amounts, or run the calculation in stages, but the tool itself accepts only two buy entries. The quantities and prices can include decimals, so fractional shares and precise prices are supported.

A currency symbol field, accepting up to three characters, lets you display results in the currency of your choice. Amounts are shown with two decimal places and thousands separators. All calculations happen locally in your browser, so your holdings stay private.

How to Use the Stock Average Calculator

The default values already describe a complete example, so press Calculate Average first to see a result, then change the figures to match your own purchases.

  1. Enter the First buy: quantity and the First buy: price per share. The defaults are 10 shares at 100 per share. Both must be zero or more.
  2. Enter the Second buy: quantity and the Second buy: price per share. The defaults are 10 shares at 80 per share. Both must be zero or more. To model a single purchase, set the second quantity to zero.
  3. Enter the Current price per share. The default is 95. It must be zero or more. Use the latest traded price or the price you want to test.
  4. Enter a Currency symbol of up to three characters, such as $. The default is $. It is used only for display.
  5. Press Calculate Average. The results show the average price per share, total shares, total invested, and current value, plus a table with profit or loss, break-even price, and gain needed to break even.
  6. Optionally press Copy Result to copy a short text summary of the average price, total shares, and profit or loss.

If any input is invalid, the tool shows an error asking for valid quantities and prices. The total quantity must be greater than zero; entering zero for both purchases produces an error, because there is nothing to average. Correct the figures and calculate again.

Key Features of the Stock Average Calculator

The headline feature is the quantity-weighted average cost. The formula divides the total money invested by the total shares, which correctly weights each purchase by its size. A purchase of 100 shares at $50.00 influences the average ten times more than a purchase of 10 shares at $100.00, and the tool reflects that. A simple mean of the two prices would be wrong in such a case, and the difference can be large. The weighted average is the only figure that correctly represents your cost basis for the holding.

The profit and loss display is the second key feature. It shows the gain or loss in money terms and as a percentage of the amount invested, so you can judge both the absolute and relative performance. A $100.00 gain on $1,800.00 invested is 5.56%, which is modest. The same $100.00 gain on $500.00 invested would be 20%, which is substantial. Showing both figures prevents the money amount alone from misleading you about the quality of the investment.

The break-even and gain-needed figures add decision support. The break-even price tells you the target the stock must reach for the holding to be whole. The gain-needed percentage tells you how far away that target is in relative terms. A stock 5% below your average needs a modest recovery. A stock 50% below your average needs to double, which is a far more demanding prospect. That perspective helps you judge whether holding for a recovery is realistic, or whether the capital would be better deployed elsewhere. The tool does not make that judgement for you, but it gives you the numbers on which to base it.

The tool’s honesty about its scope is also a feature. The note beneath the results states that it averages only these two purchases, and that brokerage, fees, and taxes are not included. Those costs reduce real returns, sometimes materially for small trades, so the profit shown is a gross figure. Knowing that limitation prevents overconfidence in a small paper gain that fees would erase.

Worked Examples

Example 1: the default purchases. A first buy of 10 shares at $100.00 and a second buy of 10 shares at $80.00, with a current price of $95.00, gives a total of 20 shares and a total invested of $1,800.00, which is $1,000.00 plus $800.00. The average price per share is $90.00. The current value is $1,900.00, which is 20 shares at $95.00. The profit is $100.00, or 5.56%. The break-even price is $90.00, and because the current price of $95.00 is above the average, the gain-needed line states that the holding is already above average cost. The second purchase at the lower price pulled the average down from $100.00 to $90.00, turning what would have been a $100.00 loss on the first purchase alone into a $100.00 gain overall. That is averaging down working as intended.

Example 2: a holding still in loss. A first buy of 50 shares at $200.00 and a second buy of 50 shares at $150.00, with a current price of $160.00, gives a total of 100 shares and a total invested of $17,500.00. The average price is $175.00. The current value is $16,000.00, so the loss is $1,500.00, or 8.57%. The break-even price is $175.00, and the gain needed to break even is 9.38%, which is the rise from $160.00 to $175.00. The averaging purchase reduced the loss substantially compared with holding only the first purchase, but the holding remains underwater. The gain-needed figure frames the recovery honestly: nearly a ten percent rise is required just to break even.

Example 3: unequal quantities. A first buy of 100 shares at $50.00 and a second buy of 10 shares at $100.00 gives a total invested of $6,000.00 and 110 shares, for an average of $54.55. A simple mean of the two prices would give $75.00, which is badly wrong, because the expensive purchase involved only ten shares. The weighted average of $54.55 correctly reflects that most of the money went in at $50.00. This example shows why the weighted formula matters, and why guessing the average from the two prices alone is dangerous when the quantities differ.

Example 4: a single purchase. Setting the second quantity to zero models a single buy. For example, 25 shares at $40.00, a second buy of zero, and a current price of $44.00 gives an average of $40.00, a total invested of $1,000.00, a current value of $1,100.00, and a profit of $100.00, or 10%. The tool handles this case cleanly, so it works as a simple profit calculator for a single purchase as well as an averaging tool for two.

Practical Use Cases

Deciding whether to average down is the primary use. When a stock you own falls, buying more lowers your average cost, but it also increases your exposure to a falling asset. The calculator shows the new average and the new break-even point for any proposed second purchase, before you commit the money. If the new average is still far above the current price, the recovery required may be unrealistic, and the money might be better held back. The numbers support a cooler decision than the emotional urge to catch a falling price.

Reviewing a portfolio holding is a second use. Periodically checking the average cost, current value, and profit or loss for each holding keeps your view of the portfolio grounded in cost basis rather than in remembered purchase prices. The profit percentage, in particular, allows fair comparison between holdings of different sizes. A holding that looks profitable in money terms may be underperforming in percentage terms, and vice versa.

Planning a sale is a third use. Knowing the break-even price tells you the minimum sale price that avoids a loss before fees and taxes. If you need to sell at a particular price, the calculator shows the gain or loss at that price, by entering it as the current price. That what-if testing supports limit orders and exit planning, though the actual sale proceeds will be reduced by brokerage and taxes, which the tool does not model.

Learning about weighted averages is a fourth use. The tool is an excellent teaching aid for the concept that averages must be weighted by quantity. Students can enter the worked examples, compare the weighted average with the simple mean, and see the difference. The unequal-quantities example above is particularly instructive, because the gap between $54.55 and $75.00 is too large to ignore.

Tips and Best Practices

Enter the actual prices you paid, including any per-share charges if you want a fuller cost basis. The tool does not add brokerage or fees automatically, but you can approximate their effect by raising the price per share slightly to reflect the cost per share. For precise tax reporting, use your broker’s statements and a qualified adviser’s guidance, not this calculator’s gross figures.

Do not average down blindly. Lowering your average cost feels like progress, but it concentrates more money in a single stock that may be falling for good reason. Before adding to a losing position, ask whether the investment case has genuinely improved at the lower price, or whether you are trying to recover a loss quickly. The calculator shows the arithmetic of averaging; it cannot judge the quality of the company behind the stock.

Use the gain-needed figure to stay realistic. A stock that needs a 50% rise to break even requires an exceptional recovery. A stock that needs 5% requires only a modest one. Framing the recovery as a percentage, rather than as a price target alone, helps you compare the hope of recovery with the opportunity of investing the remaining capital elsewhere. Past prices do not predict future prices, and a stock can fall further after any purchase.

Keep records of every purchase. The tool models two purchases, so for holdings with more trades, keep a running record of total shares and total invested, and enter combined figures. Your broker’s statements are the authoritative source. Accurate records make tax reporting easier and prevent the common error of remembering only the most recent purchase price as the cost basis.

Remember that profit shown here is unrealised. Until you sell, the gain or loss is a paper figure that can change with the market. The calculator’s profit line is a snapshot at the current price you enter, not money in the bank. Decisions to hold or sell should consider your overall portfolio, your goals, and your risk tolerance, not a single holding’s paper profit in isolation.

Limitations

The Stock Average Calculator averages only two purchases, as its note states. Holdings built through three or more purchases must be combined manually before entry. Brokerage, fees, and taxes are not included, so the profit and loss figures are gross. The tool does not account for stock splits, bonus shares, dividends, or corporate actions, all of which affect the true cost basis and return. It does not fetch live prices; the current price is whatever you enter, and it may be stale or hypothetical.

The gain-needed figure is a simple percentage rise from the current price to the average, and it does not predict whether such a rise will occur. The tool provides no investment recommendation and no assessment of a stock’s prospects. Results are estimates for guidance only, not financial advice.

Frequently Asked Questions

What is the average price per share?

It is the total amount invested divided by the total number of shares, across the two purchases. It is the quantity-weighted average cost, and it equals the break-even price before fees and taxes. In the default example, $1,800.00 invested for 20 shares gives an average of $90.00.

Why is the average not the simple mean of the two prices?

Because the quantities may differ. The weighted average accounts for how many shares were bought at each price. A large purchase weighs more heavily than a small one. Only when the quantities are equal does the weighted average equal the simple mean of the two prices.

Can I model more than two purchases?

Not directly. The tool accepts two buy entries. For more purchases, combine them into two groups by adding quantities and invested amounts, or run the calculation in stages. For precise records, use your broker’s statements, which track every trade.

What does the gain needed to break even mean?

It is the percentage rise from the current price to your average cost, shown when the current price is below the average. A figure of 9.38% means the price must rise by that percentage for the holding to break even. When the price is already above the average, the tool states that the holding is already above average cost.

Does the calculator include brokerage and taxes?

No. The note beneath the results states that brokerage, fees, and taxes are not included. Real sale proceeds will be lower, and real gains may be taxable. Use the gross figures for planning, and consult your broker’s statements and a qualified adviser for exact net figures.

Is averaging down a good strategy?

It can be, if the investment case remains sound at the lower price, but it increases exposure to a single stock and can deepen losses if the price keeps falling. The calculator shows the arithmetic, not the wisdom, of averaging down. Consider the company’s prospects, your portfolio concentration, and your risk tolerance, and seek qualified advice for significant decisions.

Related Tools

Explore more investment and calculation tools on FreeToolZones. The CAGR Calculator measures annualised growth. The Mutual Fund Return Calculator projects fund returns. The Lumpsum Calculator projects one-time investments. The Average Calculator finds the mean of any numbers, and the Percentage Calculator handles percentage gains and losses. Return to the FreeToolZones homepage to browse the full collection.

Browse More Tools