Average cost calculator

1. Your buys of one asset

One line per buy. Quantity takes up to 8 decimal places. Amount paid is the total for the buy in dollars, before the fee. A line left blank is skipped.

LineQuantityAmount paidFee
2. Fees and a price to compare with

Average cost

Each buy, with its cost per unit

The page divides total cost by total quantity. It does not match sales to lots: for that, the capital gains worksheet works through an export of buys and sales lot by lot. It is not a tax form and it does not say what to report.

Average cost calculator by Mathproven. It works in this browser and sends nothing anywhere. It calculates and checks numbers; it is not legal, tax, or medical advice.