1. Add each lot
Enter quantity, unit price and any transaction fee for every completed purchase.
Investing
Combine several purchases of shares, funds, cryptocurrency or another asset and include transaction fees in the average cost.
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.
Calculation method
The cost of every purchase, including its fee, is added together. The total cost is then divided by the total number of asset units.
Detailed guide
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.
Enter quantity, unit price and any transaction fee for every completed purchase.
This optional value calculates current market value and unrealized profit or loss.
Use the preview fields to see the new average and cash required before placing another order.
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.
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.
A lower average cost does not make an asset safer or improve its future return. Evaluate the investment separately.
Tax reporting may use specific-lot, FIFO or other rules rather than a simple pooled average.
Include fees consistently and keep enough decimal precision for fractional shares or crypto assets.
Decision guide
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.
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.
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.
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.
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.
Yes. The weighted-average math works for any asset measured in units.
Include purchase fees when you want the result to reflect total economic cost.
No. It is a separate preview used only for the projected average.
Not always. Tax-lot rules vary by jurisdiction and account.
Updated: July 28, 2026