Stock Average Cost Calculator
Calculate stock average cost from your own entered figures.
Loading calculator…
Currency: Amounts are calculated in the currency you select; this site does not convert between currencies and does not use live exchange rates.
What this tool does
Calculate stock average cost from your own entered figures. Fees and commissions are excluded unless you fold them into each lot's price; this is a cost-basis average, not a tax-lot record.
How to use the Stock Average Cost Calculator
- Enter or select purchase lots (one per line: shares@price).
- Read the calculated result; change any measurement to compare alternatives.
Formula
average cost = Σ (shares × price) ÷ Σ shares across all purchase lots
- lots
- Purchase lots (one per line: shares@price)
Fees and commissions are excluded unless you fold them into each lot's price; this is a cost-basis average, not a tax-lot record.
Worked example
For stock average cost calculator, the following measurements illustrate the exact method: Purchase lots (one per line: shares@price): 100@50 50@40.
Inputs
- Purchase lots (one per line: shares@price)100@50 50@40
Result
- Average cost per share$46.67
- Total shares150
- Total cost basis$7,000.00
Results explained
- Average cost per share
- Average cost per share from the formula above. Fees and commissions are excluded unless you fold them into each lot's price; this is a cost-basis average, not a tax-lot record.
- Total shares
- Total shares from the formula above. Fees and commissions are excluded unless you fold them into each lot's price; this is a cost-basis average, not a tax-lot record.
- Total cost basis
- Total cost basis from the formula above. Fees and commissions are excluded unless you fold them into each lot's price; this is a cost-basis average, not a tax-lot record.
Frequently asked questions
average cost = Σ (shares × price) ÷ Σ shares across all purchase lots
Fees and commissions are excluded unless you fold them into each lot's price; this is a cost-basis average, not a tax-lot record.
No. All numbers are entered by you or come from the dated reference table shown on this page; calculations run locally.
This is an estimate, not financial, tax or legal advice. Verify the inputs and output with official sources and a qualified professional.
Check period consistency, currency, percentage inputs and the assumptions: Fees and commissions are excluded unless you fold them into each lot's price; this is a cost-basis average, not a tax-lot record.