Stock Average Cost Calculator - Calculate Return, Yield & Portfolio Risk

Calculate your weighted average price per share across multiple stock buy orders with our free Stock Average Cost Calculator.

Stock Average Cost Calculator | Investment & Portfolio Return
Total Shares Owned
Total Capital Invested
Weighted Average Cost Per Share

History — Stock Average Cost Calculator | Investment & Portfolio Return

# Time Tranche 1 Shares Tranche 1 Price Tranche 2 Shares Tranche 2 Price Total Shares Avg Cost/Share Action
Formula And Content By Gourav Mishra Gourav Mishra Build By Sohail Anwar Sohail Anwar Code Reviewed By Saeed Ahmed Saeed Ahmed

Weighted Average Cost Formula

\(\text{Total Capital Invested} = (N_1 \times P_1) + (N_2 \times P_2)\) \(\text{Weighted Average Cost} = \frac{\text{Total Capital Invested}}{N_1 + N_2}\)

Where $N$ represents share count and $P$ represents price per share for each purchase.


Dollar-Cost Averaging Tranche Table

Purchase Order Shares Purchased Price Per Share Total Capital Outlay Weighted Average Cost Basis
Tranche 1 (Initial Buy) 100 Shares $150.00 / share $15,000.00 $150.00 / share
Tranche 2 (Averaging Down) 150 Shares $120.00 / share $18,000.00 $132.00 / share (Lowered by $18/sh)
COMBINED HOLDING 250 Shares $33,000.00 $132.00 / share

How to Use This Stock Average Cost Calculator

  1. Select your preferred account currency from the header picker.
  2. Enter Tranche 1 share count and purchase price per share.
  3. Enter Tranche 2 share count and purchase price per share.
  4. View total shares owned, total capital invested, and weighted average cost per share.

Strategic Guidance for Stock Average Cost Calculator

Using this interactive calculation engine provides a clear, quantitative roadmap for your decisions. By eliminating mathematical uncertainty, you can optimize financial allocations, compare scenarios side-by-side, and make data-driven choices.

Key Tactical Benefits of Stock Average Cost Calculator

  • Mathematical Certainty: Eliminates guesswork by modeling multi-variable compounding and precise cost structures.
  • Scenario Comparison: Test multiple interest rates, payment timelines, and capital allocations in real-time.
  • Privacy Assurance: All data remains 100% confidential within your local browser memory, with zero remote server logging.
  • Export & Audit Readiness: Log calculations to local browser storage, export full histories to CSV/Excel, or share via link.

Stock Average Cost Calculator Frequently Asked Questions

How is weighted average cost per share calculated?

To calculate the weighted average cost per share, add the total dollars spent across all buy orders and divide by the total number of shares purchased.

What is Dollar-Cost Averaging (DCA)?

Dollar-cost averaging is an investment strategy where you invest equal dollar amounts at regular intervals, buying more shares when prices are low and fewer when prices are high.

How does averaging down help investors?

Buying additional shares at lower market prices reduces your overall average cost per share, lowering the break-even price required to reach profitability.

What is the difference between simple average price and weighted average price?

A simple average adds prices together and divides by purchase count. A weighted average factors in share quantities, providing the exact true cost basis per share.

Does stock cost basis affect capital gains tax when selling?

Your stock cost basis determines your taxable gain or loss upon sale. Tax accounting methods include FIFO (First In, First Out), LIFO, and Specific Identification.

Can this calculator be used for cryptocurrency purchases?

You can use this calculator for cryptocurrency purchases because the weighted average cost math applies identically to stocks, ETFs, mutual funds, and cryptocurrencies.