Skip to content

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.

Version 1

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

Purchases

Number of shares or fund units bought in the first purchase.

TRY

Price per share in this purchase (excluding commission).

Quantity bought in this purchase; leave at 0 if unused.

TRY

Price per share in this purchase (excluding commission).

Quantity bought in this purchase; leave at 0 if unused.

TRY

Price per share in this purchase (excluding commission).

Quantity bought in this purchase; leave at 0 if unused.

TRY

Price per share in this purchase (excluding commission).

Quantity bought in this purchase; leave at 0 if unused.

TRY

Price per share in this purchase (excluding commission).

Commission and current price

Commission your broker charges on purchases (e.g. 0.2). Leave at 0 if none.

TRY

Optional: the stock's current price, used for profit or loss.

After the first calculation, the result updates automatically when you change a value.

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

  1. Enter the quantity and unit price of each purchase (up to 5; leave unused rows at 0).
  2. Enter your broker's buy commission rate (e.g. 0.2%).
  3. Optionally enter the current price to get market value and unrealised profit or loss.
  4. 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

4 questions
  1. 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.

Next step

Related tools to continue your calculation.

All tools in Investment Profitability