Stock average price calculator
Enter the quantity and price of each purchase. The calculator returns your average price per share, the total cost and, with a current price, the open profit or loss and the move needed to break even.
- Up to four purchases
- Works for stocks and crypto
- Free, no sign-up
For education only, not financial advice. Results depend on the numbers you enter, and trading carries a risk of loss.
How to use the stock average price calculator
Enter your first purchase
Type the number of shares or coins in Purchase 1 quantity and the price you paid in Purchase 1 price. Fractional quantities are fine.
Add the later purchases
Fill in Purchase 2 to Purchase 4 for each extra buy. To test an average down before you place it, enter the order you are considering as the next purchase.
Enter the current price
This field is optional. With it, the calculator shows what the position is worth now, the open profit or loss and how far the price must move to reach your average.
The formula
- Total cost = sum of quantity × price for every purchase
- Average price = total cost ÷ total quantity
- Total cost
- The money paid across every purchase: each quantity multiplied by its price, added together.
- Average price
- The total cost divided by the total quantity. It is the price at which the whole position breaks even, before fees.
- Move needed to break even
- How far the current price must rise, in percent, to reach the average price. Negative means you are already above it.
Worked example
You bought 100 shares at $50.00, then another 100 at $42.00 after the price fell. The stock now trades at $45.00.
- Total cost = 100 × $50.00 + 100 × $42.00 = $9,200.
- Total quantity = 100 + 100 = 200 shares.
- Average price = $9,200 ÷ 200 = $46.00.
- Value at the current price = 200 × $45.00 = $9,000, an open loss of $200 or 2.17%.
- Move needed to break even = ($46.00 − $45.00) ÷ $45.00 = 2.22%.
The second purchase pulled the break-even from $50.00 down to $46.00. At $45.00 the position is $200 under water and needs a 2.22% rise to get back to level, instead of the 11.11% the first purchase alone would need.
The calculator above opens with these numbers, so you can change one input and see what moves.
How to calculate the average price of a stock
The average price is weighted by quantity. Add up what you paid for every purchase and divide by the total number of shares. It is not the average of the prices themselves.
The difference shows when the purchases are different sizes. Buy 100 shares at $50.00 and 300 at $40.00 and the simple average of the two prices is $45.00, but you own far more shares at the lower price. The true average is $17,000 ÷ 400 = $42.50.
What averaging down does, and what it costs
Buying more after a fall lowers your average price, so a smaller recovery gets you back to break-even. That part is arithmetic and it always works.
The cost is that you now have more money in a position that is going against you. If the price keeps falling, the loss grows faster than before. The table starts from 100 shares bought at $50.00 with the price now at $40.00, and shows both sides of adding at $40.00.
| Shares added at $40 | Average price | Total invested | Rise needed to break even | Loss if the price falls to $36 |
|---|---|---|---|---|
| 0 | $50.00 | $5,000 | 25.00% | $1,400 |
| 50 | $46.67 | $7,000 | 16.67% | $1,600 |
| 100 | $45.00 | $9,000 | 12.50% | $1,800 |
| 200 | $43.33 | $13,000 | 8.33% | $2,200 |
| 400 | $42.00 | $21,000 | 5.00% | $3,000 |
Averaging down versus buying on a schedule
Buying a fixed amount at regular intervals, often called dollar-cost averaging, is decided in advance and does not depend on whether the last purchase is in profit. The total amount is planned from the start.
Averaging down on a trade is different. It adds to a position because it is losing, usually beyond the size first planned. If the original trade had a stop loss, adding below it means the plan has been replaced by a new, larger trade. Size that new trade deliberately, with its own exit.
Averaging up on a winning position
Adding to a position that has risen raises your average price. Buy 100 shares at $50.00 and 100 more at $60.00 and the average becomes $55.00. A pullback to $55.00 now takes the whole position back to break-even, where the first purchase alone would still show a $5.00 gain per share.
FAQs
Average price questions
How do I calculate my average stock price?
Multiply each purchase's quantity by its price, add the results together and divide by the total number of shares. For 100 shares at $50.00 and 100 at $42.00, that is ($5,000 + $4,200) ÷ 200 = $46.00 per share.
How many shares do I need to buy to average down to a target price?
Multiply your current shares by the gap between your current average and the target, then divide by the gap between the target and the new purchase price. With 100 shares at $50.00, a price of $40.00 and a target average of $45.00, that is 100 × 5 ÷ 5 = 100 more shares.
Does averaging down reduce my risk?
No. It lowers the price at which you break even, but it raises the amount of money in the position. If the price keeps falling you lose more than you would have without the extra purchase. It reduces the recovery you need, not the risk you carry.
Does the average price include fees?
Not in this calculator. The result is the average of the prices you enter. To include commissions, add each order's fee per share to its purchase price before you type it in, or use the break-even price calculator to see the exit price that covers your costs.
Can I use the calculator for crypto?
Yes. The quantity fields accept fractions, so 0.05 of a coin at one price and 0.12 at another work the same way as whole shares. The arithmetic is identical: total cost divided by total quantity gives the average entry price for the holding.
What is the difference between average price and break-even price?
The average price is your break-even before costs. The break-even price is slightly further away because it also has to cover the fees on the way in and out. On a position with small fees the two are close. On a small position with fixed commissions they can differ noticeably.
Free trading journal and analytics
Plan the trade here. Review it in TraderWaves.
Every calculator on this site is also inside the app, next to a journal that records what you actually did and analytics that show whether it worked.

