Stock Average Calculator

Calculate the weighted average purchase cost per share across trades, including fees.

Result
—

How to calculate

Multiply each lot size by its price per share and add its fee. Divide all acquisition costs by the number of shares purchased.

Worked example

Use Shares, price per share, and optional fee on each line 20, 10, 2 / 30, 15, 3. The result is 13.10 USD/share.

Input and result notes

This is the average cost of the shares you enter. It does not allocate cost to sales.

Related calculators