Stock Average Cost Calculator (Averaging Down)
Calculates the weighted average cost of up to 5 purchases at different prices, including commission, plus total cost and profit or loss at the current price.
Things to keep in mind:
- Sell commission, withholding and taxes are not included in the average cost; use the share trading gain tool for the net gain.
- After bonus issues, splits or dividend price adjustments, enter adjusted quantities and prices.
- For tax purposes cost may be calculated with a different method under the law (e.g. first-in-first-out); this tool shows the weighted average.
- Results are not investment advice.
Calculator
Result
Enter the values and press Calculate to see the result here.
About this tool
When you buy a stock or fund at different times and prices, you end up with one "cost price": the weighted average cost. An investor averaging down on a falling stock or building a position in steps wants to know the new average and the break-even price. This tool combines up to five purchases.
Formulas
- Purchase amount = Σ (quantityᵢ × priceᵢ)
- Commission = purchase amount × commission rate ÷ 100
- Total cost = purchase amount + commission
- Average cost = total cost ÷ total quantity
- Market value = total quantity × current price
- Unrealised profit/loss = market value − total cost; return (%) = profit/loss ÷ total cost × 100
Example
100 shares bought at 50 TL, then 50 more at 40 TL after the price fell:
- Purchase amount = 100 × 50 + 50 × 40 = 7,000 TL; total quantity 150
- Average cost = 7,000 ÷ 150 = 46.6667 TL
- At a current price of 45 TL the market value is 6,750 TL, a loss of −250 TL (−3.57%)
The second purchase lowered the average from 50 TL to 46.67 TL; the position turns profitable once the price rises above 46.67 TL.
How to read the result
The average cost is your break-even price including buy commissions (excluding sell commission and taxes). Buying more lowers the average but also increases risk, because more money is committed to the same stock. To see the net gain and withholding after a sale, use the share trading gain tool.
How to use
- Enter the quantity and unit price of each purchase (up to 5; leave unused rows at 0).
- Enter your broker's buy commission rate (e.g. 0.2%).
- Optionally enter the current price to get market value and unrealised profit or loss.
- Use the average cost as your break-even price.
Notes
Purchase amount and commission are each rounded to the cent; total cost is their sum. Average cost and total quantity are shown with 4 decimals. One commission rate applies to all purchases; extra items such as BSMV or exchange fees can be included in that rate. With a current price of 0, profit/loss is not calculated.
Sources
Frequently asked questions
Add up quantity × price for each purchase plus commissions and divide by the total quantity. With 100 shares at 50 TL and 50 at 40 TL the average cost is 7,000 ÷ 150 = 46.67 TL.
Enter different quantities in the second or third row to see how the average changes. The more you buy at the current price, the closer the average moves to it, but your position and risk grow as well.
Yes in this tool: buy commission is added to the total cost, so the average shows your real break-even price. Commission paid when selling is not included.
Yes. The quantity field accepts fractions up to 4 decimals, so the same weighted average formula works for fund units or assets bought in fractions.
Next step
Related tools to continue your calculation.
- Calculate
Share Trading Gain and Tax Calculator
Calculate your share trading gain after commissions, any withholding tax, net profit and return.
- Calculate
Dividend Yield Calculator (Gross and Net Dividend Yield)
Calculates gross and after-withholding net dividend yield from the gross dividend per share and share price, your total net dividend and the payout ratio.
- Calculate
Return on Investment (ROI) Calculator
Calculate an investment's net profit, return on investment (ROI), benefit/cost ratio and the compound annualised return for your holding period.
- Calculate
Gross to After-Tax and Real Return Calculator
Convert a gross return to an after-tax net return, a real return after inflation, or find the gross rate needed for a target net return.