StockAvg

Average Cost Basis Calculator

The cost basis used for taxes and profit.

Your trades never leave your browser — all math runs locally.

Try: Lots (shares, price, fee)=100,50,0,100,55,0 → 200.0000, $10,500, $0, $53

How to use

Cost basis is total spent (price × shares plus fees) divided by shares. The calculator returns it directly.

FAQ

Which cost method do brokers use?

Many use average cost for mutual funds; specific shares or FIFO for stocks — check your broker.

Related calculators