Welcome to Stock Management
Calculate the average after selling and buying shares.
Strategy Illustration
- Selling below the old average creates a realised loss on the sold quantity.
- Buying again at a lower price can reduce the final average price after the new purchase.
- The average after sale remains the old average for the remaining shares.
- The new average after buying is calculated using the weighted average formula.
- This is an illustration calculation and not investment advice.
Enter Sale and Purchase Details
← Return to Stock ManagementPortfolio Calculation Tool
This tool demonstrates how your average cost can change after selling and repurchasing shares on a later trading day.
Jio Finance Example
Previous average price: ₹257.14 per share
Total shares held: 1,067 shares
Shares sold: 400 shares at ₹231 per share
1. Previous Investment
2. Sale Calculation
The cost of the 400 sold shares was:
3. Remaining Shares
After selling 400 shares:
Remaining cost:
4. Buy Back Shares
On the next trading day, buy 400 shares at ₹230:
New total shares:
New Average Cost
The average price comes down from ₹257.14 to approximately ₹246.97.
Average price reduction: ₹257.14 − ₹246.97 = ₹10.17
New Average Price = (Remaining Cost + New Purchase Cost) ÷ Total Shares
(₹1,71,512.38 + ₹92,000) ÷ 1,067 = ₹246.97