What Is Cost Per Share?
Cost per share is the average price paid for a single share of stock. It is one of the most fundamental metrics for investors, serving as the foundation for tracking cost basis, calculating capital gains or losses, and making informed buy or sell decisions. Whether you are building a long-term portfolio or evaluating a recent trade, understanding your cost per share ensures you have an accurate picture of your investment performance. You can also use the average cost calculator to find weighted averages across different types of purchases.
The Formula
The calculation is straightforward:
[
\text{Cost Per Share} = \frac{\text{Total Cost of Shares}}{\text{Number of Shares Purchased}}
]
Where:
- Total Cost of Shares is the full amount spent on the purchase, including any brokerage commissions or fees
- Number of Shares Purchased is the total count of shares acquired in the transaction
Calculation Example
You invest $4{,}800 to purchase 150 shares of a stock. What is your cost per share?
[
\text{Cost Per Share} = \frac{4{,}800}{150} = 32
]
Your cost per share is $32.00.
Here is another example with fees included. You buy 200 shares at $25 each and pay a $10 commission. The total cost is $5{,}010:
[
\text{Cost Per Share} = \frac{5{,}010}{200} = 25.05
]
Your adjusted cost per share is $25.05, reflecting the impact of the commission on your cost basis.
Why Cost Per Share Matters
Knowing your cost per share is critical for several reasons:
- Tax reporting -- Your cost basis determines whether you realize a capital gain or loss when you sell. Accurate cost per share calculations prevent errors on tax filings.
- Performance evaluation -- Comparing your cost per share against the current market price tells you exactly how much your investment has gained or lost.
- Dollar-cost averaging -- If you invest a fixed amount at regular intervals, your cost per share reflects the weighted average across all purchase prices. This strategy can reduce the impact of market volatility over time.
- Transaction comparison -- When you buy the same stock at different prices across multiple trades, calculating the overall cost per share helps you see the true average entry price.
For a broader look at how cost metrics apply across different scenarios, the cost per "X" calculator provides a flexible framework for any unit-based calculation.
Weighted Average Cost Per Share
When you purchase shares at different prices over time, a simple average does not account for the varying quantities at each price point. Instead, you need the weighted average cost per share:
[
\text{Weighted Average CPS} = \frac{\text{Total Amount Spent on All Purchases}}{\text{Total Shares Acquired}}
]
For example, suppose you make two purchases:
- 100 shares at $30 each = $3{,}000
- 50 shares at $36 each = $1{,}800
[
\text{Weighted Average CPS} = \frac{3{,}000 + 1{,}800}{100 + 50} = \frac{4{,}800}{150} = 32
]
Your weighted average cost per share is $32.00, even though the two purchase prices were $30 and $36. This method gives a more accurate cost basis than simply averaging the two prices. The contribution margin calculator can further help you evaluate profitability once you know your per-unit costs.
Practical Tips
- Include all fees -- Brokerage commissions, regulatory fees, and any other transaction costs should be added to the total cost for an accurate cost basis.
- Track each lot separately -- If you use specific identification for tax purposes, maintain records of each purchase date, quantity, and price.
- Recalculate after reinvested dividends -- Dividend reinvestment plans add shares at varying prices, which changes your overall cost per share.
- Monitor over time -- Regularly updating your cost per share helps you respond to market changes and rebalance your portfolio with confidence.
Understanding your cost per day of holding an investment can also provide perspective on carrying costs and opportunity costs over time.
Related Calculators
- Average Cost Calculator
- Cost Per X Calculator
- Contribution Margin Calculator
- Cost Per Day Calculator
- Cost Per Hour Calculator
You might also like: Reverse Sales Tax Calculator, Rent Increase Calculator, or Rent Split Calculator.