Stock Average Calculator
Your real average price — and what it takes to average down or up.
Shares to reach your target
Purchase by purchase
How this was calculated
Results are estimates for general information and planning, not financial advice. Banks and institutions may calculate differently (rounding, fees, rate changes). Confirm figures with your lender or a qualified adviser before deciding.
About the Stock Average Calculator
Bought the same share several times at different prices? Your average buy price is the total you paid — including brokerage and other charges — divided by the number of shares you hold. It is the price the stock has to get back to before the holding stops showing a loss.
Add each purchase with its quantity, price and (optionally) the charges you paid, and enter today’s price to see your gain or loss. The planner answers the two questions behind averaging: what your new average would be after a purchase you are considering, and how many shares you would need to buy at today’s price to bring your average down (or up) to a target. It works the same way for ETFs, mutual-fund units (with NAVs) and crypto.
How to use it
- Enter each purchase: the quantity, the price per share or unit and, if you want an exact cost, the charges you paid on it (brokerage, taxes, fees). Use 0 as the price for bonus shares.
- Enter today’s price to see what the holding is worth and your unrealised gain or loss.
- In the planner, choose Planned buy to see the average after buying a quantity, or Target average to find how many shares to buy to reach an average price.
- Leave Whole shares only ticked for shares and ETFs; untick it for mutual-fund units or crypto, which can be bought in fractions.
- Copy the summary or download every purchase with the running average as CSV.
Examples
100 shares at ₹1,500 (₹20 charges), 50 at ₹1,350, 50 at ₹1,200 · today ₹1,250 · target average ₹1,300
Average ₹1,387.60 (₹1,387.50 without charges) · loss ₹27,520 · buy 351 shares (₹4,38,750) for a new average of ₹1,299.95
350.4 shares would land exactly on ₹1,300; a whole number of shares takes the average just below it.
The same 200 shares, plus 100 more at ₹1,250
New average ₹1,341.73 on 300 shares
10 shares at ₹100 · buy at ₹150 · target average ₹120
Buy 7 shares — the average becomes ₹120.59
Common uses
- Check the average price your broker shows, with or without charges.
- Work out how many shares to buy in a dip to reach a price you can live with.
- See what a planned top-up does to your average before you place the order.
- Average mutual-fund NAVs across SIP instalments or crypto bought on several exchanges.
The formulas
Average price = Σ (quantity × price + charges) ÷ Σ quantity — the weighted average cost.
After buying n more at price P (with charges of c%, so each costs P′ = P × (1 + c ÷ 100)): new average = (C + n × P′) ÷ (Q + n), where Q is the quantity you hold and C its total cost.
To reach a target average T, solve that for n: n = (T × Q − C) ÷ (P′ − T). With whole shares the calculator rounds n up, so the average lands at the target or just past it.
Why a target can be out of reach
Each purchase pulls the average towards the price you pay, but never all the way to it: buying at ₹1,250 can bring an average of ₹1,387.60 down to ₹1,300, ₹1,260 or even ₹1,251, but never to ₹1,250. A target below the buying price — or one on the wrong side of your current average — cannot be reached, and the calculator says which range is possible. The closer the target is to the buying price, the more shares it takes: the number grows without limit as the target approaches it.
Before you average down
Averaging down lowers the price the stock needs to recover to, but it also puts more money into a position that has fallen. A lower average does not make a loss smaller — the holding is still worth quantity × today’s price. Decide on the investment itself, not on the average.
Limitations
- Sales are not handled: enter only the purchases of the shares you still hold.
- Charges on the planned purchase are a percentage of its value; a flat brokerage fee per order can be entered as the equivalent percentage.
- This is the weighted-average cost of your holding. The cost used for capital gains tax can differ (for example when the oldest units are treated as sold first, or for shares bought before 1 February 2018 in India) — use the capital gains tax calculator for a sale.
- Corporate actions other than bonus shares (splits, rights issues, mergers) are not adjusted automatically; enter the adjusted quantities and prices.
Privacy
Everything happens in your browser. What you enter or open here is not uploaded or stored by MySmartCoPilot.
Frequently asked questions
Should I include brokerage and other charges in the average?
Yes, if you want the real cost of each share: the calculator adds the charges you enter to the purchase cost and shows the average both with and without them, so you can compare either figure with the one your broker shows.
How many shares do I need to buy to average down?
Enter your purchases, choose Target average, and enter the price you would buy at and the average you want. The calculator uses n = (T × Q − C) ÷ (P − T) and rounds up to whole shares. For example, 200 shares costing ₹2,77,520 need 351 more at ₹1,250 to bring the average below ₹1,300.
Why can I never average down to today’s price?
Because your existing shares cost more: however many you buy at today’s price, the expensive ones are still part of the average. The average gets closer and closer to the buying price but never reaches it.
How do bonus shares and stock splits change the average?
A 1:1 bonus doubles your shares at no cost, so the average halves — add the bonus shares as a purchase at a price of 0. For a split, enter the new quantity and the old price divided by the split ratio.
Can I use it for mutual funds or crypto?
Yes. Enter units and NAVs (or coins and prices), untick Whole shares only, and choose your currency. Quantities can have up to eight decimals.