Share Average Calculator
Buying shares at different prices is routine – whether you’re building a position gradually or averaging down during a dip. But keeping track of your true cost per share manually quickly becomes messy. A share average calculator gives you the exact weighted average price in seconds, including any commissions.
Use the calculator to enter each transaction: number of shares, price per share, and optional commission.
What Is a Share Average Calculator?
A share average calculator (also called a stock average calculator or cost basis calculator) takes multiple buy orders for the same security and returns the average price you’ve actually paid per share. Instead of guessing or using a rough average of the prices alone, it weights each price by the number of shares bought in that transaction.
For example, if you buy 10 shares at $50 and later 20 shares at $40, your average is not simply ($50+$40)/2 = $45. The calculator correctly weighs the 20-share lot more heavily, giving an average cost of $43.33. This is your cost basis per share – the number you need to calculate profit or loss accurately.
How to Calculate the Average Share Price
The formula behind every share average calculator is straightforward:
Weighted average price = (Total cost of all purchases) ÷ (Total number of shares purchased)
If you track costs manually, follow these steps:
- For each purchase, multiply shares × price per share.
- Add any commission or fee paid on the trade to that cost.
- Sum the costs of all purchases to get the total invested.
- Sum all shares acquired.
- Divide total cost by total shares.
The calculator above does all that instantly, even when you have 10 or more separate lots. Just enter the shares, price, and commission for each transaction.
Why Averaging Down Matters
Averaging down is a common strategy: you buy more of a stock as its price declines, lowering your overall average cost. If the price recovers to just above your new average, you break even or profit sooner than if you’d held the original shares alone.
However, averaging down increases your exposure to the same stock. If the price keeps falling, your total loss grows in dollar terms. That’s why knowing your exact average price is critical – you need to set realistic exit targets and stop-loss levels based on real data, not approximations.
How the Calculator Handles Commissions and Fees
Brokerage fees eat into returns, and they must be part of your cost basis. The share average calculator includes a commission field per transaction. When you enter a commission, it adds that fee to the total cost of that purchase before computing the average.
For example, a $100 purchase with a $5 commission becomes a $105 investment. The average price per share will be slightly higher than if fees were ignored. This precision matters when you’re calculating capital gains for tax purposes or comparing strategies.
Example: Averaging Down With Multiple Purchases
Assume you buy shares of a company three times as the price falls:
| Purchase | Shares | Price per share | Commission | Total cost |
|---|---|---|---|---|
| 1 | 50 | $100 | $5 | $5,005 |
| 2 | 30 | $90 | $5 | $2,705 |
| 3 | 20 | $80 | $5 | $1,605 |
| Total | 100 | $9,315 |
Total cost = $9,315, total shares = 100. Average price per share = $93.15. If you simply averaged the three prices without weighting or commissions you’d get $90 – a $3.15 per share error that could mislead your sell decisions.
The share average calculator eliminates this guesswork. Enter the three rows, and it immediately displays the correct $93.15 figure.
This article is for informational purposes only and does not constitute financial advice.