Finance calculator
FreeShares Needed for Target Cost Basis
How many shares to buy at the current price so your blended cost basis lands exactly on your target, with the total cost shown before you commit.
Your numbers
Results update as you change the inputs.
How to use this tool
What this tool is for
This calculator answers the averaging question exactly: how many shares to buy at a given price so that your blended cost basis lands on the target you name. It shows the total cost of the required purchase before you commit, and it handles the impossible cases plainly.
How to use it
- Enter the shares you hold and your current cost basis per share.
- Enter the price you would buy at.
- Enter the target basis per share you want to end at.
- Read the share count and its total cost. If the target cannot be reached at that buy price, the tool says so and why.
The fields
- Shares held
- How many shares you own before this purchase.
- Cost basis per share ($)
- Your current average cost for the shares you hold.
- Buy price per share ($)
- The price of the new purchase. To pull a basis down, this price must sit below the target; to lift one up, above it.
- Target basis per share ($)
- The blended average cost you want after the purchase. It must lie between your current basis and the buy price.
The averaging-down (or up) question, answered exactly: name the basis you want, and the tool names the share count. Edge cases handled explicitly.
The Investor Stats Cheat Sheet
A free three-page PDF: breakeven win rates, stop-loss sizing, volatility drag, reverse valuation, and how to tell a real track record from noise. Plus new tools as they ship.