Skip to content
Average Price Calculator

Average Price Calculator

Calculate your weighted average entry price and cost basis when adding to a position or dollar-cost averaging.

Free — no signup, no ads, instant results

Buy Entries

$
$
$

Results

Average Price

$0.00

Total Quantity

0.00

Total Cost

$0.00

Break-Even Price

$0.00

Total Fees

$0.00

Who Is This For?

Traders and investors who buy at multiple price levels and need to know their weighted average entry price. Perfect for DCA (dollar-cost averaging) strategies and scaling into positions.

What Is Dollar-Cost Averaging?

Dollar-cost averaging (DCA) is an investment strategy where you buy a fixed dollar amount of an asset at regular intervals, regardless of the current price. This reduces the impact of volatility on your overall cost basis by spreading purchases over time.

Your average price is the weighted mean of all your buy entries, factoring in both the price paid and the quantity purchased at each level. This is also your break-even price -- the price the asset must reach for your position to become profitable.

Combine DCA with GrandAlgo indicators to time your entries at optimal support levels. Track your trades in our trading journal and manage risk with the position size calculator.

Average Price Formula

The weighted average price formula is: Weighted Average = Total Cost / Total Quantity

Example: you buy 10 shares at $50 ($500 total), then 15 shares at $40 ($600 total). Total cost = $1,100, total shares = 25. Average price = $1,100 / 25 = $44.00.

This is a weighted average, not a simple average. Because you bought more shares at $40 than at $50, the average price is pulled closer to $40. Buying more at lower prices pulls the average down faster, which is the core advantage of dollar-cost averaging.

How to Use This Calculator

1. Enter each purchase

Input the price per unit and quantity bought for each individual purchase you made.

2. Add as many entries as needed

Use the add button to include every purchase. The more entries you add, the more accurate your weighted average will be.

3. Read your results

The calculator displays your weighted average price, total quantity held, and total investment. Your average price is also your breakeven point.

4. Evaluate your cost basis

Compare your average price to the current market price to see if your position is profitable, and use it to plan future entries or exits.

Worked Example

Buy 1: 100 shares at $50 = $5,000

Buy 2: 200 shares at $45 = $9,000

Total cost: $5,000 + $9,000 = $14,000

Total shares: 100 + 200 = 300

Average price: $14,000 / 300 = $46.67 per share

Assumptions & Edge Cases

  • Calculates weighted average by quantity — not by dollar amount.
  • Trading fees (flat or percentage) are included in the break-even price calculation.
  • Works for any asset (stocks, crypto, forex).

Frequently Asked Questions

Dollar-cost averaging is an investment strategy where you buy a fixed dollar amount of an asset at regular intervals regardless of price. When prices are low, you buy more units. When prices are high, you buy fewer. Over time, this smooths out your average entry price and reduces the impact of volatility on your overall position.

Divide your total investment by the total number of units purchased. If you bought 100 shares for $5,000 total across multiple purchases, your average price is $50 per share. This calculator handles the math automatically when you enter each individual purchase.

It depends on context. DCA into a fundamentally sound asset during a drawdown can improve your average entry and eventual returns. But averaging down on a losing trade without a thesis is a common mistake that turns a small loss into a catastrophic one. Only average down if your original investment thesis is still valid and you're managing overall position risk.

The exact price your asset must reach for your total position value to equal your total cost basis, including any fees paid.

Yes. Enter your fee per trade (flat dollar amount or percentage) and the calculator adds total fees to your cost basis, giving you the true break-even price.