Stock Average Calculator
Enter each stock purchase — shares bought and price paid — to calculate your average cost per share and total investment.
Purchase Lots
$
Used to calculate unrealized gain / loss.
Enter at least one purchase to see your average cost.
Average Cost Per Share
$0.00
Total Shares
Total Invested
$0.00
Purchases
0
Unrealized Gain / Loss
Market Value
$0.00
Gain / Loss
$0.00
Cost Basis
Market Price: $0.00
Purchase Breakdown
| # | Shares | Price | Amount | Weight |
|---|
Summary
Enter each stock purchase — shares bought and price paid — to calculate your average cost per share and total investment.
How it works
- Enter the number of shares and the price per share for your first purchase.
- Click "Add Purchase" to add more buy lots at different prices.
- Results update automatically as you type.
- The average cost per share is your total cost divided by total shares.
- Enter the current market price to see your unrealized gain or loss.
- Click the trash icon to remove any purchase row.
Use cases
- Tracking the blended cost basis after dollar-cost averaging into a stock.
- Calculating how a new purchase changes your average price.
- Determining break-even price after buying a dip.
- Comparing average cost against current market price to gauge profitability.
- Planning how many shares to buy at what price to reach a target average.
- Tax planning — knowing your average cost basis for capital gains calculations.
Frequently Asked Questions
Related tools
Last updated: 2026-05-23 ·
Reviewed by Nham Vu