Use a stock average or cost basis calculator to blend multiple purchase lots into an average cost basis, break-even price.
Last updated
Stock average calculator Use this stock average or cost basis calculator to average multiple purchase lots into a blended cost basis, include optional per-lot fees, and see both your current break-even price and how another purchase would change it. This is a planning tool, not tax or brokerage reporting.
Purchase lot 1
Purchase lot 2
Purchase lot 3
Result
$103.08 /share
Average cost basis across 125 shares including $15.00 in fees.
Total shares
125
Total cost basis
$12,885.00
Principal only
$12,870.00
Break-even sale price
$103.08
Lot breakdown
Lot
Shares
Price
Fee
Total cost
Share weight
1
50
$120.00
$5.00
$6,005.00
40%
2
35
$98.00
$5.00
$3,435.00
28%
3
40
$86.00
$5.00
$3,445.00
32%
Value at your current check price
Market price
$102.00
Position value
$12,750.00
Unrealized return
-$135.00 (-1.05%)
Next purchase plan
Buying 25 more shares at $80.00 would move your average cost to $99.23 per share.
New total shares
150
New total cost basis
$14,885.00
Important limitations
This calculator estimates blended average cost basis from the lots you enter. Real brokerage and tax reporting can differ if your account uses specific-lot identification, FIFO, wash-sale adjustments, dividend reinvestment, or jurisdiction-specific average-basis rules.
Stock average calculator guide: average cost basis, averaging down
A stock average calculator helps investors answer a practical question after buying the same position at multiple prices: what is the blended cost per share now, and what price is needed to break even? That also makes it a useful cost basis calculator for investors who want a quick blended basis estimate before thinking about averaging down or up. It is still not the same thing as tax-lot accounting for every brokerage or tax situation.
What a stock average price really measures
The simplest stock average formula is a weighted average. Each purchase lot contributes shares multiplied by purchase price, the cash totals are added together, and that total cost is divided by the total shares owned. If you also paid commissions or platform fees, those costs increase the effective average cost basis because they raise the total cash committed to the position.
That is why a plain arithmetic average of the purchase prices is usually wrong. Buying 10 shares at one price and 200 shares at another does not give both prices the same weight. The lot with more shares has more influence on the final blended cost basis.
Average cost per share = (Sum of lot costs + fees) / Total shares owned
This calculator uses a weighted average across the share counts entered for each lot.
Break-even sale price = Total cost basis / Total shares
Before taxes and future selling fees, the break-even price is the same as the blended average cost per share.
Averaging down versus averaging up
Investors often use a stock average calculator while averaging down after a price drop. Buying more shares below the current average cost can pull the blended price lower, which reduces the break-even sale price. That is mathematically true even if the market value of the position is still below the new average cost.
Averaging up works in the opposite direction. Buying more shares above the existing average cost lifts the blended basis, but the trade may still make sense if the investor is adding to a winning position with a strong thesis. The calculator is not telling you whether buying more is wise; it is only showing how another lot changes the arithmetic.
Worked example: three lots and a new averaging-down plan
Suppose an investor bought `50` shares at `120`, `35` shares at `98`, and `40` shares at `86`, with a small fee on each trade. The blended cost basis lands between the highest and lowest purchase prices, but closer to the larger positions by share count. If the investor then models another `25` shares at `80`, the blended cost per share falls again because the new purchase adds more lower-cost inventory to the position.
That is the main planning value of a stock average calculator. It lets you test how much a lower-priced or higher-priced next purchase would move the break-even level before any real trade is placed.
Why a planning average is not always your tax basis
For planning, a blended average cost basis is intuitive and useful. For tax reporting, the rules can be different. In the United States, ordinary stock sales often depend on specific-lot identification or FIFO if shares are not identified. The IRS generally allows average basis only in narrower cases such as certain mutual-fund or DRIP holdings, not for every common-stock sale.
Brokerage statements can also diverge from a simple calculator if there are dividend reinvestments, stock splits, return-of-capital adjustments, wash-sale deferrals, or differing lot-relief methods. That is why this page should be used to understand position arithmetic, not to replace brokerage statements, Form 1099-B reporting, or tax advice.
What this stock average calculator does not cover
This page does not forecast whether the stock will recover, tell you whether averaging down is a good risk decision, or incorporate taxes, slippage, margin interest, or future selling commissions unless you add them manually into your planning assumptions. It is also not a portfolio optimizer or a substitute for diversification analysis.
Use it for position sizing and break-even planning only. If you are using the output to make a real investing or tax decision, compare it with your broker's cost-basis record and the tax rules that apply to your account type and jurisdiction.
Frequently asked questions
How is the stock average price calculated?
It is a weighted average, not a simple average of the prices. Multiply each lot's shares by its price, add any entered fees, add those lot costs together, and divide by the total shares owned.
What is averaging down in stocks?
Averaging down means buying additional shares at a price below your current average cost basis. That lowers the blended cost per share and reduces the break-even sale price, although it also increases the size of the position and the risk tied to that single holding.
What is the difference between average cost and break-even price?
For a simple pre-tax position with no future selling fee, they are effectively the same number. The break-even price is the sale price that would recover the total amount invested, while the average cost is that total amount invested divided by the total shares held.
Can I include trading fees or commissions?
Yes. This calculator lets you add a fee to each purchase lot so the blended average cost includes more of the real cash committed to the position. That usually raises the average cost slightly compared with a fee-free assumption.
If I buy more at a lower price, how many shares do I need to lower my average meaningfully?
The answer depends on both the size of your existing position and the size of the price gap. A small extra lot often moves the average only slightly, while a larger lot bought far below the current basis can move it materially. That is why the next-purchase planner is useful: it shows the specific effect of the lot you are considering.
Does this calculator tell me whether averaging down is a good idea?
No. It shows the arithmetic impact on average cost and break-even price only. Averaging down may or may not be rational depending on valuation, diversification, balance-sheet risk, liquidity needs, and whether the original investment thesis is still intact.
Is average cost basis the same as tax basis for stocks?
Not always. For US tax reporting, ordinary stock sales often depend on specific-lot identification or FIFO if the sold shares are not identified. Average basis is generally a special rule used in more limited cases such as certain mutual fund or DRIP holdings.
Why might my broker show a different cost basis?
Because brokers may incorporate lot selection, reinvested dividends, stock splits, return-of-capital adjustments, wash-sale deferrals, or account-level tax rules that a simple planning calculator does not automatically reproduce.
Can I use this calculator for ETFs, mutual funds, or crypto?
It can still be useful as a blended purchase-price planner whenever you buy the same asset in multiple lots. But the official reporting rules can differ across asset types, jurisdictions, and account structures, so do not assume the planning average here is your reportable basis.
What if I want to know profit or loss at the current market price?
Enter the current market price in the price-check field. The calculator will estimate the current position value, unrealized gain or loss, and the unrealized return percentage against the blended cost basis.