See how dollar-cost averaging worked out: enter the fixed amount you invest each time and the price at each purchase. You get the units bought, your average cost, and your profit at the current price. Works for stocks, ETFs or crypto.
Units bought each time = (Amount − Fee) ÷ Price Average cost = Total invested ÷ Total units
Because you invest the same amount each time, you automatically buy more units when the price is low and fewer when it’s high. That makes your average cost lower than the simple average of the prices (mathematically, it’s the harmonic mean).
Example: $100 at $50, $45, $40, $42, $48 and $55 buys about 13.00 units for $600: an average cost of about $46.14, below the simple average price of $46.67.
DCA spreads out the timing of your purchases, which reduces the risk of putting everything in at a peak. Investing a lump sum straight away gets the money working sooner. Which comes out ahead depends on what the price does afterwards; neither is guaranteed to win.
If the amount changes each time, or you’re counting shares rather than money, use the stock average calculator. For crypto profit on a single buy, see the crypto profit calculator.
ChartWatch is independent and not affiliated with TradingView, any broker or exchange. This calculator uses only the numbers you enter and runs in your browser. Results are estimates before taxes and any costs you leave out. It is a calculation tool, not financial advice.
ChartWatch is an independent tool and is not affiliated with, endorsed by, or officially connected to TradingView, Inc. “TradingView” is a trademark of its respective owner. Exchange, broker and platform names are trademarks of their respective owners.