Stock Average Calculator — Average Down and Cost Basis
Average cost per share across multiple purchases, with break-even and unrealised return
Calculate the average share price across multiple buys. See total cost, break-even level, and unrealised gain or loss at the current price.
What this tool does
Buying the same share more than once at different prices produces a blended cost that none of the individual trades show on their own. This calculator takes up to three purchase lots — shares and price for each — plus the current market price, then computes the average cost per share, the total invested, the holding's value at today's price, and the unrealised gain or loss in both currency and percentage terms. The average cost is also the break-even price: the level the share needs to reach for the whole position to be worth what it cost. The tool covers averaging down after a fall, averaging up into strength, and any mix of the two. It is for educational illustration only.
Quick answer: with the default values, the result is $45.00 (Average Cost Per Share). Adjust the values below for your own figures.
Enter Values
People also use
Investing
CAGR Calculator — Compound Annual Growth Rate
Calculate compound annual growth rate (CAGR) between a start and end value over any period. See the smoothed yearly rate behind the total change.
Investing
Investment Return Comparison Calculator
Compare two investments' final values over the same horizon at different expected returns, and see the gap the rate difference produces.
Investing
Sequence of Returns Calculator
Calculate sequence-of-returns risk in retirement withdrawals: the same average return, but bad early years shrink the pot more than late ones do.
Formula Used
Disclaimer
Results are estimates for educational purposes only. They do not constitute financial advice. Consult a qualified professional before making financial decisions.
How the average price is worked out
The average cost per share is the total amount spent divided by the total shares bought. Two lots — 100 shares at 50 and another 100 at 40 — cost 9,000 for 200 shares, an average of 45.00 per share. The average always sits between the highest and lowest purchase price, pulled toward whichever lot carries more shares. Buying 50 shares at 120 and then 30 at 95 gives 8,850 across 80 shares, an average of 110.63 — closer to 120 than to 95 because the first lot is larger. Price alone does not set the average; the share count behind each price does just as much work.
The average is the break-even price
A position's break-even is simply its average cost. In the 200-share example above, the share trading at exactly 45.00 makes the holding worth precisely the 9,000 it cost. At the entered current price of 48, the position shows an unrealised gain of 600, or 6.67% on the money invested. This is why a second purchase at a lower price moves the break-even down: the same recovery in the share price crosses the break-even line sooner. What the second purchase does not do is shrink the loss already sitting on the first lot — those shares still cost what they cost.
Averaging down, stated plainly
Averaging down means buying more of a share after its price has fallen. The arithmetic is genuinely favourable in one narrow sense: the blended cost drops, so a partial recovery — not a full one — returns the position to break-even. In the two-lot example, the first purchase at 50 needs the price back at 50 to break even on its own; after the second lot at 40, the whole position breaks even at 45. The trade-off is equally plain: the position size doubles, so every further fall in the price now hits twice as many shares. Averaging down concentrates more capital in the position that has been falling, and whether that fall reflects a temporary markdown or a deteriorating business is a judgement the arithmetic cannot make. A price can keep falling below any average.
Averaging up works the same way in reverse
Adding to a position after a rise pulls the average cost upward. Buying 100 at 40 first and 100 at 50 later produces the identical 45.00 average as the reverse order — the arithmetic is order-independent. Position builders who add into strength accept a higher break-even in exchange for holding more of something that has been rising. The calculator handles both directions with the same three lots; only the sequence of prices differs.
Fees, partial sales, and fractional shares
The calculation here is fee-free. Trading commissions and transaction taxes raise the true cost of each lot, which nudges the real average slightly above the computed one — the effect is small for low-cost brokers and larger for markets with percentage-based transaction duties. Partial sales complicate cost basis in ways that differ by jurisdiction: some tax systems match sales against specific lots, others mandate an average-cost method, and the method changes the taxable gain. This tool reports the simple blended average of what is currently held, which is the figure relevant for break-even; records for tax purposes follow whatever method the local rules require. Fractional shares work fine — the share fields accept whole numbers, so positions with fractional shares can be scaled up (for instance, entering 25 shares for a 2.5-share holding and reading the per-share figures, which are unaffected by scale).
Reading the result alongside other measures
Average cost describes the position, not the investment case. A holding can sit below break-even while the underlying business improves, or above it while the business weakens. The Dollar Return Calculator adds dividends received into the return picture, and the CAGR Calculator converts a multi-year outcome into an annual rate once a position is eventually closed.
Across these purchases the average cost per share works out to $45.00.
Inputs
| Total Shares | 200 |
|---|---|
| Total Invested | $9,000.00 |
| Value at Current Price | $9,600.00 |
| Unrealised Gain | $600.00 |
| Return at Current Price | 6.67% |
This example uses sample figures for illustration. Adjust the inputs above to match a specific situation and see how the result changes.
Sources & Methodology
Methodology
The average cost per share is total cost divided by total shares: each lot's share count multiplied by its price, summed across lots, divided by the sum of all shares. This blended figure is also the position's break-even price, since the holding valued at the average cost equals exactly what it cost to build. Value at current price multiplies total shares by the entered market price; the unrealised gain or loss is that value minus total cost, also expressed as a percentage of the amount invested. The calculation is order-independent — the same lots produce the same average regardless of purchase sequence — and excludes commissions, transaction taxes, and dividends received. Cost-basis rules for tax reporting vary by jurisdiction and may differ from this simple average. Results are estimates for educational illustration.
References
Frequently Asked Questions
How do I calculate my average share price?
Does averaging down reduce my loss?
What is my break-even price after averaging down?
Does the order of my purchases change the average?
Can I use this for funds, ETFs, or crypto?
Do fees change my real average cost?
Related Calculators
More Investing Calculators
Investing
100 Minus Age Asset Allocation Calculator
Calculate stock-vs-bond allocation using the 100-minus-age rule of thumb: see the percentage split the rule produces for any age you put in.
Investing
Active vs Passive Investing Calculator
Compare an active fund against an index tracker over any horizon, and see the gross return active needs just to break even after charges.
Investing
Annualized Return Calculator — Any Holding Period
Convert any holding-period return into an annualized rate. Enter start value, end value, income, and months held — including periods under a year.
Investing
Annuity Present Value Calculator
Calculate the present value of an ordinary annuity from regular payments, periodic rate, and the number of periods until the stream ends.
Investing
APR to APY Calculator
Convert a stated annual rate to its effective annual yield at any compounding frequency, with the gap in percentage points and the continuous ceiling.
Investing
Asset Allocation Calculator
Model a stock, bond and cash split from age and risk tolerance using the 110-minus-age rule, and see the amounts each allocation implies.
Explore Other Financial Tools
Startup & VC
Venture Capital Return Calculator
Calculate venture capital fund expected returns using power-law distribution. Enter fund size to see using failure rate and average winner multiple.
Green & Sustainable Finance
Carbon Offset Calculator
Annual and lifetime cost of offsetting your CO2 emissions, based on volume, market price per tonne, and any reduction efforts you're already making.
Major Purchases
Air Fryer vs Oven Calculator
Work out how long an air fryer takes to pay back its price in energy savings, from per-meal kWh for each appliance and your own electricity rate.
Spotted something off?
Calculations or display — let us know.