Calculate stock double-down average price after buying more shares, find shares needed for a target average, or estimate a budget-based average down.
Calculator Functions
| Function | What it does | What it requires |
|---|---|---|
| New average price | Finds the average cost per share after buying more shares | Requires the original shares and their average price, and the additional shares and their price |
| Original shares | Finds how many shares were held before the new purchase | Requires the original average price, the additional shares and price, and the new average price |
| Original average price | Finds the average price of the shares held before the new purchase | Requires the original shares, the additional shares and price, and the new average price |
| Additional shares | Finds how many shares to buy at a set price to reach a new average | Requires the original shares and price, the additional price and the new average price |
| Additional share price | Finds the purchase price that brings the position to a new average | Requires the original shares and price, the additional shares and the new average price |
| Shares for target average | Finds the shares to buy at the current price to hit a target average, with purchase fees counted | Requires the original shares and price, the purchase price and the target average |
| Budget-based average | Finds the shares a fixed budget buys and the average cost that results | Requires the original shares and price, the purchase price and the purchase budget |
| Multi-lot average | Finds the average cost across up to 100 separate purchases | Requires one line per purchase, written as shares, price |
Prices are in US dollars per share, and fractional shares are allowed. Shares for target average and Budget-based average have optional purchase fees: a fixed fee per purchase and a fee per share, both zero when left blank. The other functions take no fee input, so any earlier fees have to be included in the prices entered. Every result lists the total shares, the total purchase cost and the average cost per share.
Double Down Stock Formulas
(N + Q) [1]
| A | New average cost ($ per share) |
| N | Original number of shares |
| P | Original average price ($ per share) |
| Q | Additional shares bought |
| C | Price paid for the additional shares ($ per share) |
Doubling down means adding to a position already held, usually after the price has fallen, which pulls the average cost per share toward the new price. The average is the total cost of all the shares divided by the total number of shares [1]. It always lands between the two prices, closer to whichever purchase has more shares.
New average price
The main formula applies directly. Holding 100 shares at $20 and buying 50 more at $15 gives (100 ร 20 + 50 ร 15) รท 150 = $2,750 รท 150 = $18.33 per share.
Original shares
With an original price of $20, 50 shares added at $15 and a new average of $18, the original holding was 50 ร 3 รท 2 = 75 shares. If the original price equals the average there is no single answer, and the calculator says so.
Original average price
With 100 original shares, 50 added at $15 and a new average of $18, the original price was (18 ร 150 โ 750) รท 100 = $19.50.
Additional shares
To bring 100 shares at $20 down to an $18 average by buying at $15 takes 100 ร 2 รท 3 = 66.67 shares. The target has to sit between the two prices, or the result would be negative and is rejected.
Additional share price
With 100 shares at $20 and 50 more to buy, an $18 average needs a purchase price of (18 ร 150 โ 2,000) รท 50 = $14.
Shares for target average
(T โ C โ f)
T is the target average, F is the fixed fee for the purchase and f is the fee per share. The fees are counted as part of the cost of the new shares, which matches how purchase costs such as commissions are added to the basis of stock [1]. With no fees this is the Additional shares formula. With 100 shares at $20, a $15 purchase price, an $18 target, a $1 fixed fee and $0.005 per share, the answer is (200 + 1) รท 2.995 = 67.11 shares.
Budget-based average
B is the amount available, fees included. The whole budget is spent, so the share count can be fractional. A $1,000 budget at $15 with no fees buys 66.67 shares, and added to 100 shares at $20 that gives an average of $3,000 รท 166.67 = $18.00. The new average is then found with the main formula, with the fees added to the total cost.
Multi-lot average
ฮฃ shares
Each line is one purchase of the same stock in the same currency. Lots of 100 at $20, 50 at $15 and 25 at $12 cost $3,050 for 175 shares, an average of $17.43. The result also lists each lot with its cost.
Limits of This Estimate
- A lower average cost is not a gain. Buying more shares raises the amount at risk in one stock, and the calculator makes no forecast of future prices, dividends or profit.
- The average cost here is not a tax basis. For United States federal tax, the IRS allows the average basis method only for mutual fund shares and certain dividend reinvestment plan shares; for other stock, the shares sold are the ones identified or, failing that, the earliest bought, and the average price per share cannot be used to figure gain or loss (IRS Publication 550 for 2025 returns) [1].
- Fees are counted only in Shares for target average and Budget-based average, and only for the new purchase. The example fee setting of $1 plus $0.005 per share is an illustration, not a broker quote.
- Taxes, stock splits, dividends and currency differences are not modeled.
Sources
- Internal Revenue Service, Publication 550 (2025), Investment Income and Expenses: cost basis of stock including purchase costs, the average basis calculation, and which shares may use it
