Formula: Stock Average Financial Formula
- sharesLot1: Shares Lot1 (shares)
- priceLot1: Price Lot1 (currency)
- sharesLot2: Shares Lot2 (shares)
- priceLot2: Price Lot2 (currency)
Find your blended cost basis per share when averaging down or scaling into a position.
Because the calculation weights each price by its share count. There are 150 shares at 120 and only 100 at 150, so the lower price counts for more. The simple midpoint of the two prices is 135, which is what you get only when both lots hold the same number of shares, as the 150-share Lot 1 scenario shows.
No. The form has no field for the current price, so the rise line measures from the Lot 2 price. In the default it is the 10% rise from 120 to the 132 average. If the market has moved since your second purchase, compare the blended average with the live price yourself to get an up-to-date figure. The blended cost itself does not depend on the current price at all.
Merge the earlier ones into one lot. Add up their total cost and total shares, divide cost by shares to get their average price, and enter that average with the combined share count as Lot 1. Put the most recent purchase in Lot 2. The blended result for the whole position will match what a three-lot calculation would give.
If you want a true break-even, yes. The calculator only averages the prices you type, so it leaves fees out. Add each purchase's fee to that lot's cost, divide by the lot's share count, and enter the result as the price. The blended average will rise slightly and reflect what you actually paid.
When Lot 2 cost more than your blended average, no rise is needed from that price, so the line switches to Lot 2 Price Is Above Your Average By and shows a positive percentage. Ten shares at 40 and ten at 50 average $45.00, and the line reads 10%. It measures how far the price could fall from the Lot 2 level before reaching break-even.
No. It is shares times price for each lot, added together, so $33,000.00 in the default. Fees, taxes, dividends reinvested through a separate plan, and currency conversion costs are not included. If any of those apply to you, adjust the inputs or the result by hand before relying on the figure.
No. It only shows how a second purchase changes the average cost and the break-even point. A lower average does not make a stock more likely to recover, and adding to one holding increases your exposure to it. The page gives no recommendation to buy, hold or sell. Talk to a licensed adviser about whether a trade suits you.
With no shares in either lot there is nothing to average, and a purchase at a price of zero is not a real trade. Both would also make the percentage line impossible to calculate. The form asks for a share total above zero and a price above zero in each lot, and shows a check-inputs message until those are entered.
A split multiplies the share count and divides the price by the same factor, so cost stays the same. If a split occurred between your two purchases, convert the earlier lot to post-split shares and price before entering it. Mixing pre-split and post-split figures gives an average that matches neither.
Not necessarily. Some tax systems allow or require an average cost method, while others track each lot separately and match sales to specific purchases. The calculator shows only the arithmetic average. Check the rules for your country and account type, or ask a tax professional, before using the figure for reporting.
No. The currency setting only changes the symbol shown next to the results. The prices you type are treated as being in that currency, and no exchange rate is applied. If your two lots were bought in different currencies, convert them to one currency first, using the rates you actually paid.
The form starts with two purchases of the same stock. Lot 1 is 100 shares bought at 150 each. Lot 2 is 150 shares bought later at 120 each.
The calculator adds the cost of each lot, adds the share counts, and divides one by the other. Together the two lots hold 250 shares and cost $33,000.00, so the blended average cost is $132.00 a share. That figure is your break-even price on the whole position before fees: if the stock trades at $132, the combined holding is worth exactly what you paid for it.
Notice that $132 is not the midpoint of 150 and 120, which would be 135 a share. The blended figure sits closer to 120 because more shares were bought at that price. This is what weighted means in practice, and it is the single most common thing people get wrong when they average two prices in their head.
The third supporting line reads Rise Needed from the Lot 2 Price to Break Even: 10 %. It answers one narrow question. If the stock is still at the Lot 2 price of 120, how far must it rise to reach the blended cost of 132? The rise is 12 on a base of 120, which is 10%.
The wording matters because the calculator has no field for today's market price. It treats the Lot 2 price as the current price. If the second purchase was weeks ago and the stock has moved since, the 10% is out of date. To get a current figure, compare the $132.00 average with the live quote yourself, or temporarily set the Lot 2 price to today's price only if you are modelling a purchase you have not made yet.
Keep the direction in mind too. The percentage is measured up from the lower price, so it is always smaller than the percentage fall that got you there. The stock dropped 20% from 150 to 120, but the combined position needs only a 10% rise from 120 to break even, because the second lot pulled the average down. Without the second lot, a single 100-share position bought at 150 would need a 25% rise from 120 to get back to even.
The scenario runs change only the first lot and leave Lot 2 at 150 shares for 120 each.
With 60 shares in Lot 1, the total is 210 shares costing $27,000.00. The blended cost drops to $128.57, and the rise needed from 120 is 7.14%. The smaller the original position, the more the second lot dominates and the closer the average sits to the second price.
With 150 shares in Lot 1, matching the second lot share for share, the total is 300 shares costing $40,500.00 and the average is $135.00. That is exactly the midpoint of the two prices, because with equal share counts the weighting is even. The rise needed grows to 12.5%.
The pattern is worth seeing once. The average is always somewhere between the two prices, and it slides toward whichever lot holds more shares. Doubling the second lot does not halve the gap; it moves the average part of the way, by a share of the distance set by the share counts.
Changing Lot 2 instead shows the other side. Keep Lot 1 at 100 shares for 150 and raise the second lot to 300 shares at 120 each. The average falls by only about four and a half dollars from the default $132.00, even though twice as many extra shares were bought. Each additional share at the lower price moves the average less than the one before it.
The formula on the page multiplies each share count by its price, adds the products, and divides by the total shares. That is the same as total money spent divided by total shares owned, which is the figure most brokers report as average cost.
Some people try to average by the money in each lot instead, for example by assuming two equal dollar purchases. That gives a different answer only if the dollar amounts differ from the share counts, and it is easy to confuse the two. Enter shares and prices, not amounts invested, and let the calculator do the multiplication.
A worked check with small numbers helps. Ten shares at 50 and ten shares at 25 give 20 shares and an average of $37.50, the midpoint because the counts match. Make the second lot 30 shares at 25 and the total is 40 shares with an average of $31.25, much nearer the lower price.
The same check works in reverse when you read a broker statement. Take the total cost it reports, divide by the total shares, and compare that with the average cost line. If the two disagree, the broker is probably including fees in the cost, or using a different method for shares already sold, and the calculator's pure price average will differ by that amount.
Nothing stops the Lot 2 price from being above the Lot 1 price, and that case is just as common as buying lower. The arithmetic does not change. Ten shares at 40 followed by ten at 50 gives an average of $45.00.
The third line then changes its label to Lot 2 Price Is Above Your Average By, and shows 10% in that example. The number is always positive; the label tells you which side of the average the Lot 2 price sits on. Read it as how far the price could fall from the Lot 2 level before the whole position is back at break-even.
Setting both prices the same is a quick sanity check. With Lot 2 at 150, the average stays $150.00 whatever the share counts, and the rise needed is 0%.
The result is a pure price average. It ignores commissions, exchange fees, currency conversion costs and taxes on each purchase. If you paid fees, your true break-even is a little above $132.00 in the default. One simple way to include them is to add the fee for each lot to that lot's cost and divide by its share count before entering the price.
Dividends received are also outside the model. Some investors subtract them from cost basis to see a net figure; others keep them separate. The calculator does neither, so decide which view you want and adjust by hand.
A stock split changes both shares and price in proportion, so the total cost stays the same. If a split happened between your two purchases, restate the earlier lot in post-split terms before entering it, or the blend will mix two different share units and come out wrong.
Tax rules on cost basis vary by country and sometimes by account type. Some systems use an average cost method; others track each lot separately when you sell. This page shows the arithmetic average only, so check the method that applies to you before using it for a tax return.
Only two lots fit on the form. If you bought in three or more tranches, combine the earlier ones first: total their cost and shares, work out their average, and enter that as Lot 1. The result for the full position will then be correct.
Setting Lot 2 to zero shares is a fair way to look at a single purchase. With 100 shares at 150 and nothing in Lot 2, the average is $150.00 and the rise line shows 25%, the climb from 120 back to 150 a share. The Lot 2 price still needs to be filled in, because it is the reference point for that percentage.
The form stops two entries that would make no sense. If both lots hold zero shares there is no position, so it asks for a share total above zero instead of showing a result. A price of zero in either lot is also refused, since no real purchase happens at zero and a percentage rise from zero cannot be calculated. If you see the check-inputs message after clearing the form, one of these is the reason.
A lower average cost can feel like progress, but it only describes what you paid. It says nothing about what the stock is worth or whether it will reach that price. Adding a second lot at a lower price also increases the amount of money tied to one company: in the default, total capital rises to $33,000.00, more than double what the first lot alone cost.
This page does not recommend buying more, holding, or selling. It shows the break-even arithmetic so you can see exactly where the position stands. Decisions about adding to a falling holding involve risk, diversification and your own circumstances, and a licensed financial adviser is the right person to discuss those with.
Used that way, the calculator is a quick check of the numbers on a broker statement or a planning sheet, and a way to see how much each lot moves the average.