Dollar Cost Average (DCA) Calculator
Input Parameters
Computed Results
The Dollar Cost Average (DCA) calculator determines your average buy price per share when purchasing an asset across multiple transactions at different prices. By entering your purchase amounts and prices, you can calculate your total invested capital, current portfolio value, and overall return on investment.
Disclaimer: This calculator provides mathematical estimates for informational purposes only and does not constitute financial or investment advice.
Verified Scenario Walkthroughs
To understand how dollar cost averaging impacts your overall investment, consider these verified calculation scenarios based on different purchasing strategies.
Conservative Entry Level Investment
Suppose you make a small initial investment and follow up with a second purchase at a lower price. You buy 10 shares at $15.50 each, and later buy 5 shares at $12.00 each. If the current market price is $14.00, your average cost per share is $14.33. Your total invested capital is $215, but your current portfolio value is $210, resulting in an unrealized loss of $5 and a Return on Investment (ROI) of -2.33%.
Accumulation During a Market Dip
In a larger scenario, you might buy 500 shares at $120.00, then 1,000 shares at $90.00, and finally 2,000 shares at $75.00. If the current market price recovers to $105.00, your average cost per share drops to $85.71 across 3,500 total shares. Your total cost is $300,000, and your current portfolio value is $367,500. This yields an unrealized profit of $67,500 and an ROI of 22.5%.
Formula & Explanation
The calculator determines your average cost by dividing the total amount of money invested by the total number of shares acquired. The core formulas are:
To calculate your Return on Investment (ROI), the calculator compares your total cost against the current market value of your shares:
How to Use the Calculator
Follow these steps to calculate your average buy price and portfolio performance:
- Enter Initial Purchase: Input the number of shares (or crypto units) and the price per share for your first transaction.
- Enter Subsequent Purchases: Input the shares and price for your second transaction. You can also add a third transaction if applicable.
- Set Current Market Price: Enter the current price of the asset to calculate your current portfolio value and ROI. If left at zero, the calculator will show a -100% ROI.
- Review Results: The calculator will display your average buy price, total shares acquired, total invested capital, and your unrealized profit or loss.
Inputs & Outputs Table
| Field | Type | Description |
|---|---|---|
| Initial Purchase Shares | Input | Number of shares or crypto units bought in the first transaction. |
| Initial Purchase Price | Input | Price per share for the first transaction. |
| Second Purchase Shares | Input | Number of shares or crypto units bought in the second transaction. |
| Second Purchase Price | Input | Price per share for the second transaction. |
| Current Market Price | Input | Current asset market price to determine current portfolio value and return. |
| Average Buy Price | Output | The weighted average cost of all shares purchased. |
| Total Invested Capital | Output | The total amount of money spent across all transactions. |
| Unrealized Profit / Loss | Output | The difference between your current portfolio value and your total invested capital. |
| Return on Investment (ROI) | Output | The percentage gain or loss on your total invested capital. |
Practical Use Cases
Calculating your dollar cost average is useful for tracking assets purchased over time, such as stocks, ETFs, or cryptocurrencies. By knowing your exact average cost per share, you can easily identify your breakeven point. This helps in evaluating overall portfolio performance, especially when accumulating assets during periods of market volatility where multiple transactions occur at varying price points.
Frequently Asked Questions
What happens if I leave the current market price blank or at zero?
If the current market price is entered as zero, the calculator assumes the asset currently has no value. This will result in a current portfolio value of zero, an unrealized loss equal to your total invested capital, and a Return on Investment (ROI) of -100%.
Can I use this calculator for cryptocurrencies as well as stocks?
Yes, the mathematical principles of dollar cost averaging apply to any asset. You can input fractional units (like portions of a cryptocurrency) and their corresponding purchase prices to calculate your average cost.