Average price calculator

Add purchases with quantity and unit price. The average price, total quantity, and invested amount update instantly.

Purchases

1 -
2 -

Average price formula

Average price = sum of all invested amounts ÷ sum of all quantities bought.

Quick example

If you own 10 units at $20 and buy 5 more at $26, the new average price is $22.

When to use this calculator

Perfect for investors using dollar cost averaging (DCA) to build a position in stocks, ETFs, index funds, or crypto over time. Also useful for inventory cost tracking and comparing entry points. The calculation does not include taxes, brokerage fees, or currency conversion — use the result as guidance and check your actual transaction costs.

Frequently asked questions

Does the calculator work for stocks and crypto?

Yes. The math is the same for stocks, crypto, ETFs, index funds, goods, or any asset bought in different quantities.

Does the result include fees?

No. To include brokerage fees, add those costs to the total amount invested before calculating the average price.

Is average price investment advice?

No. This tool only calculates numbers you enter and does not replace professional financial advice.

How do I calculate average price manually?

Multiply each quantity by the purchase price and sum all results. Then divide by the total number of units. Example: (10 × $20) + (5 × $26) = $330 ÷ 15 = $22.

What is DCA and how does this help?

Dollar cost averaging (DCA) means buying an asset at regular intervals to reduce the impact of price swings. This calculator tracks each purchase so you always know your current cost basis.

Does buying at a lower price reduce my average?

Yes. If you hold shares at $30 and buy more at $20, the new average falls between those two prices, lowering your break-even point.

How many rows can I add?

There is no set limit. Click 'Add row' as many times as you need.

How to use

  1. Enter the quantity and unit price of each purchase.
  2. Click 'Add row' to include more purchases.
  3. The average price, total cost, and quantity update automatically.
  4. Use the currency selector to format values in your preferred currency.

See also