Share calculator
Stock Average & Break-Even Calculator for India
Add each buy of the same share with its charges. You get the weighted average price, the average after charges and the price you must sell at to get your money back.
Q = total shares C = Σ(shares × price) + Σ buy charges weighted average = Σ(shares × price) ÷ Q average after charges = C ÷ Q break-even = (C + S) ÷ [Q × (1 − r)] S = fixed sale charges, r = sale charge rate
Reading the result
-
Weighted average price
When you buy the same share more than once, a simple average of the prices is wrong, because each buy has a different size. The weighted average multiplies each price by its number of shares, adds them up and divides by the total shares. It is the figure most broker apps show as your average price, and it leaves charges out.
-
Break-even after charges
Your real cost also includes what you paid in charges, and selling costs money too. The break-even price adds your buy charges and fixed sale charges to the cost and allows for charges taken as a percentage of the sale. Sell above it and you are in profit after every charge you entered.
-
Worked example
You buy 100 shares at ₹250 with ₹20 of charges, then 200 shares at ₹275 with ₹35 of charges. You hold 300 shares and have invested ₹80,055. The weighted average is ₹266.67 and the average after buy charges is ₹266.85. If selling costs a fixed ₹25 plus 0.10% of the sale value, the break-even price is ₹267.21. Selling all 300 shares at ₹270 leaves a net profit of ₹839.00.
Common questions
Are fees included?
Yes, if you enter them. Buy charges go into the average after charges, and both fixed and percentage sale charges go into the break-even price. Fields you leave blank count as zero, so the weighted average alone never includes charges.
Does it work for multiple buys?
Yes. Start with two rows and add as many buys as you need. Each row has its own share count, price and charges, and the calculator needs at least one complete row.