Stock Average Calculator. A little maths. A lot of clarity.
See your new average, total shares and remaining budget.
Work out how many whole shares fit within your budget, then see your updated share count, total cost, average cost and cash remaining.
Your result will appear here.
Enter your current position and proposed purchase, then calculate to see the complete cost breakdown.
Calculated using your entered price.
See how this is calculated ↓Keep this calculation
Saved in this browser on this device. Clearing browser data can remove records. Export a backup.
Apply it to your portfolio
This is separate from saving a scenario and always asks for confirmation.
Portfolio changes always require a separate confirmation.
From 100 shares to 141 shares.
Suppose you own 100 shares with a total cost of PKR 10,000. You have a PKR 5,050budget, the new share price is PKR 120, and the fixed purchase fee is PKR 50.
The calculator buys 41 whole shares. Their price is PKR 4,920; with the fee, the spend is PKR 4,970, leaving PKR 80. You then hold 141 shareswith a total cost of PKR 14,970 and an average cost of PKR 106.17 per share.
Whole shares, fixed fee, exact inputs.
New shares = floor((budget − purchase fee) ÷ new share price).
Purchase spend = new shares × price + fee. If no whole share can be bought, the fee is not charged.
New total cost = existing total cost + purchase spend.
New average cost = new total cost ÷ total shares.
Calculations retain Decimal precision internally and display money to two decimal places.
Enter comparable cost figures.
- Enter the whole shares you own and their total cost, including earlier purchase fees.
- Enter the cash budget, proposed share price and fixed purchase fee.
- Calculate, review the result, and save the scenario locally if useful.
What the result does not include.
- The price and fee come from you; there is no live market or broker feed.
- Only whole shares are purchased. Fractional shares are not modeled.
- The fixed fee must fit inside the entered budget.
- Taxes, future price changes, dividends and sell-side charges are excluded.
Keep cost, price and budget separate.
Enter your historical total cost, not the current market value. Use a per-share price for the proposed purchase, and do not add the fixed fee to the budget twice—the calculator already deducts it.
Before relying on the estimate.
Does this use a live stock price?
No. The proposed price is entered manually by you.
Why are fewer shares bought than budget divided by price?
The fixed purchase fee is reserved inside the budget before the whole-share quantity is calculated.
What happens when no whole share is affordable?
No new shares are added and the purchase fee is not charged.
Is the new average a profit or loss forecast?
No. It is a cost-basis calculation, not a prediction or investment recommendation.
