Stock average price calculator

Combine several purchases of shares, funds, cryptocurrency or another asset and include transaction fees in the average cost.

Add your purchases

Purchase 1

Purchase 2

Planned purchase preview

Test how another purchase would change the average without adding it to the current lots.

Fees are added to the cost basis. Entering a current price is optional and only affects profit estimates.

Average price per unit

$110.3333

Total quantity

15

Total invested

$1,655.00

Current profit or loss

$220.00

Current return

13.3%

Average after planned purchase

$105.25

Planned amount

$450.00

Tax cost-basis rules may use FIFO, LIFO or other methods instead of a simple weighted average.

How weighted average price is calculated

The cost of every purchase, including its fee, is added together. The total cost is then divided by the total number of asset units.

Weighted average stock or crypto purchase price

A weighted average uses both price and quantity, so a larger purchase affects the result more than a smaller one. Fees can be added to cost basis, and a current price can estimate unrealized profit or loss.

The planned-purchase preview shows how another lot would change the average without mixing it into the completed transactions.

Calculate an average entry price

1. Add each lot

Enter quantity, unit price and any transaction fee for every completed purchase.

2. Add the current price

This optional value calculates current market value and unrealized profit or loss.

3. Test an additional purchase

Use the preview fields to see the new average and cash required before placing another order.

Weighted average price formula

Average price = Σ(quantity × price + fee) ÷ Σ(quantity)

Every lot contributes its full cost and quantity. Fees increase cost basis but do not increase units.

The preview applies the same formula to completed lots plus the proposed purchase.

Average-down example

Buying 10 shares at $100 and five at $130 with a $5 fee creates a $110.3333 average cost per share. A proposed purchase below that average lowers it; a purchase above it raises it.

What average price does not decide

Investment quality

A lower average cost does not make an asset safer or improve its future return. Evaluate the investment separately.

Tax accounting

Tax reporting may use specific-lot, FIFO or other rules rather than a simple pooled average.

Fees and fractional units

Include fees consistently and keep enough decimal precision for fractional shares or crypto assets.

What an average purchase price can and cannot tell you

Ranking pages explain weighted average cost, break-even price, and averaging strategies. The calculation is an accounting summary of purchases; it does not prove that buying more of a falling asset is a sound decision.

Weight every lot by quantity

A simple average is only correct when every purchase contains the same number of units. Multiply each price by its quantity, total the costs, and divide by total units. Include transaction fees in lot cost if you need a true cost basis rather than an execution-price average.

Distinguish DCA from averaging down

Dollar-cost averaging follows a preset schedule regardless of price. Averaging down is a new decision after a decline and can increase concentration in a weak position. Recheck the investment thesis and portfolio limit before adding another lot.

Break-even includes friction

Selling at the displayed average may still produce a loss after commissions, spreads, and taxes. Model several future prices and calculate the new position size as well as the new average. Risk grows with exposure even when the average price falls.

Before adding a lot

  • Enter price and quantity for each trade.
  • Choose how fees are treated.
  • Check the resulting position size.
  • Stress-test a further decline.

How to compare scenarios

Save a baseline, then change only one input at a time: amount, rate, term, or recurring payment. Record the supporting outputs as well as the headline result—contributions, interest, total cost, remaining balance, or target date. This isolates the assumption that actually changes the decision instead of hiding it inside several simultaneous edits.

Do not tune every assumption until the calculator produces a preferred answer. Start with a cautious case, follow with a central case, and treat the favorable case as an upside scenario. A calculator result is not a lender quote, market forecast, or tax determination; actual dates, rounding, fees, contract rules, and required payments must be checked in primary documents.

Keep enough precision in the inputs and round only the output used for a decision. If the estimate supports a transaction, loan, tax calculation, or long-term plan, repeat it with figures from the contract or official statement. Any difference helps identify the assumption that still needs verification.

Average purchase price questions

Can I use this for cryptocurrency?

Yes. The weighted-average math works for any asset measured in units.

Should fees be included?

Include purchase fees when you want the result to reflect total economic cost.

Does the planned purchase change my saved lots?

No. It is a separate preview used only for the projected average.

Is this the same as my tax cost basis?

Not always. Tax-lot rules vary by jurisdiction and account.

Updated: July 28, 2026