Free Stock Average Calculator
Add each buy and get your average share price, total shares and total cost, with the sum written out. Average down mode tells you how many shares at a price you choose bring the average to your target.
Your buys, averaged
Average price per share $43.75
- Average price per share
- $43.75
- Total shares
- 200
- Total cost, fees included
- $8,750.00
The arithmetic
Total cost: 100 × $50.00 + 50 × $40.00 + 50 × $35.00 = $8,750.00
Total shares: 100 + 50 + 50 = 200
Average: $8,750.00 ÷ 200 = $43.75
This is the average purchase price of your shares. It is not tax-lot cost basis and not tax advice.
Primo Trade gives AI-generated analysis for information and education. It is not financial advice. Markets carry risk; do your own research before you trade.
How to Average Your Share Price in Three Steps
Three steps, nothing to set up
Enter each buy
The shares and the price you paid for each purchase, and the fee if your broker charged one.
Read the average
Average price, total shares and total cost update as you type, with the sum written out.
Plan a target
Switch to average down and see how many shares at a given price bring the average to your target.
Why Use This Calculator
Arithmetic you can check
Free, no account
No sign-up and no limit. The arithmetic runs in your browser, so the numbers you type are not sent anywhere.
Any number of buys
Add a row for every purchase, with whole or fractional shares and prices down to a fraction of a cent.
The sum written out
Every result shows the multiplication and division behind it, so you can follow it line by line.
Average down to a target
Enter what you hold, a price and a target average to see the whole shares to buy, or why the target is out of reach.
Who Uses a Stock Average Calculator
Who it is for and what they use it for
Investors who bought in more than once
Several buys at different prices leave one number that matters for comparing with today's price: the average you paid per share.
Anyone weighing another buy
See what a buy at a lower or higher price would do to your average before you decide, and whether a target is reachable at all.
Primo Trade users
Read the AI's view in the app of a stock you hold, from its ticker or a chart photo, then check here what one more buy would do to your average.
Frequently Asked Questions
Questions people ask
How do you calculate the average price of a stock?
Multiply the shares of each buy by its price, add the results and any fees to get the total cost, then divide by the total shares. For 100 shares at $50, 50 at $40 and 50 at $35, the total cost is $8,750 and the total is 200 shares, so the average price is $8,750 ÷ 200 = $43.75.
How does the average down calculator work?
It solves for the shares x at a price P that bring S shares at an average A to a target T: x = (S × A − S × T) ÷ (T − P), plus any fee in the first bracket. Holding 100 shares at $50 and buying at $40 with a $45 target gives ($5,000 − $4,500) ÷ $5 = 100 shares. A fractional answer is rounded up to whole shares so the average reaches the target.
Why does the calculator say my target cannot be reached?
Each new buy moves your average toward the price you pay, never past it. A target can only be reached when it sits between your current average and the buy price: with an average of $50, a buy at $40 can bring it to $45 but never to $35, and never exactly to $40.
Are broker fees included in the average?
Yes, if you enter them. Each buy has an optional fee, which is added to the total cost, so it raises the average price slightly. In average down mode the fee on the new buy is counted when the shares to buy are worked out.
Is the average price the same as cost basis?
Not always. This calculator gives the average purchase price across all your buys. Cost basis for taxes can be counted per lot, for example first in, first out, and can change with sales or wash sale rules, so your broker's figure may differ. The calculator is not tax advice.
Is the stock average calculator free?
Yes. There is no account, no sign-up and no limit. It runs in your browser, so the buys you enter are not sent to a server.
Can I enter fractional shares or prices under a dollar?
Yes. Shares can be fractional, such as 0.5, and prices can go below a cent, such as 0.0035. A comma that groups thousands, as in 1,250, is read as a separator; any other comma, as in 12,50, is read as a decimal point.
Does averaging down lower my risk?
No. It lowers your average price, not your risk: it puts more money into a stock that has already fallen, and the price can keep falling. The calculator shows the arithmetic only; whether another buy fits your plan is your own decision.
Loved the Stock Average Calculator? Get the App.
Search a ticker or photograph a chart and get an AI read with a signal, a Primo Score and a strategy idea. Free on iOS and Android.
Get the App