Stock Average Calculator
Calculate average cost basis across multiple purchases for stocks and crypto
| # | Price | Qty | Cost | Fee | Total | Weight |
|---|---|---|---|---|---|---|
| 1 | $100.00 | 10 | $1,000.00 | $0.00 | $1,000.00 | 40.0% |
| 2 | $80.00 | 15 | $1,200.00 | $0.00 | $1,200.00 | 60.0% |
| Total | $88.00 | 25 | $2,200.00 | $0.00 | $2,200.00 | 100% |
What is Cost Basis?
Cost basis is the total amount you paid for an investment, including the purchase price and any associated fees such as commissions, transaction fees, or gas fees (for crypto). When you make multiple purchases of the same asset at different prices, your average cost basis is the weighted average price per share or coin across all your buys.
For example, if you bought 10 shares of a stock at $100 and later bought 20 more shares at $80, your average cost basis is ($1,000 + $1,600) / 30 = $86.67 per share. This number is essential for determining your profit or loss when you eventually sell, and for tax reporting purposes.
Dollar Cost Averaging vs Averaging Down
Dollar Cost Averaging (DCA) is a systematic strategy of investing a fixed dollar amount at regular intervals, regardless of the current price. DCA naturally builds a cost basis that reflects the average market price over your investment period, reducing the impact of volatility and timing risk.
Averaging Down is the specific practice of buying more of an asset after its price has dropped to lower your average cost basis. While this can be an effective strategy for fundamentally sound assets experiencing temporary declines, it is dangerous with speculative investments. Averaging down on a failing company or worthless token simply increases your exposure to a losing position.
The key difference: DCA is a disciplined, emotion-free strategy executed on a schedule. Averaging down is often driven by the emotional desire to "make back" losses, which can lead to catastrophic concentration risk.
Tax Implications of Cost Basis
Your cost basis directly determines your taxable gain or loss when you sell. In the United States, the IRS requires you to choose a cost basis method for reporting capital gains:
FIFO (First In, First Out): The default method. Your earliest purchases are considered sold first. In a rising market, this typically results in higher taxable gains because your oldest (cheapest) shares are sold first.
LIFO (Last In, First Out): Your most recent purchases are sold first. This can reduce taxable gains if you bought at higher prices recently.
Specific Identification: You choose exactly which lots to sell, giving maximum control over tax outcomes. This is particularly useful for crypto traders who make frequent purchases at varying prices.
The average cost basis shown in this calculator uses a simple weighted average, which is the method most commonly used for mutual funds and is accepted by many crypto tax platforms.
Why Average Down?
Averaging down can be a powerful strategy when done correctly. If you believe an asset is fundamentally undervalued, buying more at a lower price reduces your break-even point and increases your potential upside if the price recovers.
Consider an investor who bought Bitcoin at $60,000. If BTC drops to $30,000 and they buy an equal amount, their average cost basis drops to $45,000. Now they only need BTC to reach $45,000 (a 50% recovery) instead of $60,000 (a 100% recovery) to break even.
However, averaging down should only be done with conviction in the asset's long-term value, never out of desperation or an emotional need to lower the average price. Doubling down on a bad investment just doubles your losses.
Common Mistakes
1. Ignoring fees: Transaction fees, gas fees, and exchange spreads all increase your cost basis. Crypto traders frequently underestimate fees, especially on decentralized exchanges where gas costs can be significant.
2. Emotional averaging: Buying more of a losing position purely because "it is cheaper now" without reassessing the fundamental thesis. Prices can always go lower.
3. Concentration risk: Continually averaging down can lead to an outsized position in a single asset, violating basic portfolio diversification principles.
4. Not tracking cost basis: Many crypto investors fail to track their cost basis accurately across multiple wallets and exchanges, leading to incorrect tax reporting and potential penalties.
5. Forgetting about wash sale rules: In the US stock market, selling at a loss and repurchasing within 30 days triggers the wash sale rule, disallowing the loss deduction. Note that crypto is currently not subject to wash sale rules, but this may change in the future.