Ready to go further
Next: work out your own average cost
Enter your buy prices and amounts into the DCA calculator to see the units, the average cost and the value at any price.
What is included
- How the bot works, step by step
- The arithmetic of the ladder or grid, with tables
- How it fails and how to test it honestly
- The tools that check the numbers
Who it is for
- People thinking of using this kind of bot
- People already running one and wanting a stress test
- Readers comparing bot types before buying
- Not advice, and not a recommendation to use one
Key facts
- Dollar cost averaging (DCA) means spending a fixed amount at regular times, whatever the price. A fixed amount buys more units when the price is low and fewer when it is high.
- Your average cost is below the average price. In the made-up dip path below the average price is $8.83 and the average cost is $8.18 (calculated by us on 28 Oct 2026, exact).
- A lower average cost is not a profit. In the made-up falling path both DCA and one lump sum end in a loss.
- DCA beats a lump sum when the price dips and recovers, and loses to it when the price rises steadily. Which path comes is not known in advance.
- A DCA trading bot is a different thing: it often adds more when the price falls, which raises the amount at risk. The guide on DCA bots covers that.
How dollar cost averaging works
You pick an amount, such as $100, and a rhythm, such as monthly. On each date you spend that amount, whatever the price is. At a price of 10 it buys 10 units. At a price of 5 it buys 20. Over time you hold more units from the cheap dates. The method removes the need to pick a day, and it spreads the entry over time.
The arithmetic of the average cost
Take six buys of $100 at the made-up prices 10, 8, 5, 8, 10, 12. The units bought are 100 divided by each price, which add up to 73.33. The total spent is $600. The average cost is total spent divided by total units, $600 / 73.33 = $8.18. The simple average of the six prices is $8.83. The average cost is lower, because the fixed amount buys more of the cheap ones.
Average cost = total spent / total units
Average cost is at most the simple average of the prices (a harmonic mean)
This is always true when the amount is fixed, and it is the reason DCA is described as lowering the cost. It says nothing about the price at the end. The DCA calculator does the sum for your own prices.
| Price path (made-up) | Average price | DCA average cost | Last price | DCA result | Lump sum result |
|---|---|---|---|---|---|
| Dips and recovers | $8.83 | $8.18 | $12 | 46.7% | 20.0% |
| Rises steadily | $10.50 | $10.22 | $13 | 27.2% | 62.5% |
| Falls steadily | $7.50 | $7.10 | $5 | -29.5% | -50.0% |
The lump sum puts all $600 in at the first price. When the price dips and recovers, DCA ends higher, since it bought during the dip. When the price rises steadily the lump sum ends higher, since it was in earlier. When the price falls steadily both lose, and DCA loses less, but neither avoids the loss. Prices and paths are made up and there are no fees.
What dollar cost averaging does and does not do
- It spreads the timing risk. You cannot buy everything at the worst point, and you cannot buy everything at the best one.
- It does not remove market risk. The falling path loses on both methods. If the asset never recovers, a fixed schedule keeps buying it.
- Fees can change the result. Many small buys pay the fee many times. A fixed fee per buy is a larger share of a small buy. See the break-even calculator.
- It does not pick what to buy. An asset that falls to zero stays at zero however regular the buying.
DCA in a trading bot
A DCA bot can mean two things. A time-based bot buys a fixed amount on a schedule, as above. A safety order bot buys more as the price falls, to lower its average cost and to sell at a small gain on the way back. The second adds size into a fall, so it is closer to averaging down, and a long fall can use up the whole account before it recovers. See DCA bot and the average down calculator.
Choosing the amount and the schedule
Two settings decide how DCA behaves: how much each buy is, and how often. A smaller buy more often smooths more but pays more in fees. A larger buy less often is closer to a lump sum. Neither setting changes the rule above, that a fixed amount buys more units when the price is low. What they change is how much of your money is exposed at each point, which is the thing a bot's size settings control as well. Decide the total you are willing to put at risk first, then split it, rather than letting a schedule decide the total by running on without end.
What this page does not tell you
It does not say that any asset will recover, or that regular buying is right for you. It shows the arithmetic of the average cost and three made-up paths. Taxes, fees and the right choice of asset vary and are outside it.
Keep Going
Related Tools and Guides
Keep exploring
FAQ
Frequently Asked Questions
What is dollar cost averaging?
Spending a fixed amount at regular times, whatever the price. A fixed amount buys more units when the price is low and fewer when it is high.
Does dollar cost averaging always make a profit?
No. It lowers the average cost compared with the average price, but if the price ends below your average cost you are still at a loss.
Is DCA better than investing a lump sum?
It depends on the path. In the made-up examples it ended higher when the price dipped and recovered, and lower when the price rose steadily. No one knows the path in advance.
Why is the average cost lower than the average price?
Because a fixed amount buys more units at low prices than at high prices. The average cost is a harmonic mean of the prices, which is never above the simple average.
Is a DCA trading bot the same as dollar cost averaging?
Not always. A time-based bot is. A safety order bot adds more as the price falls, which raises the amount at risk in a long fall.
Are the numbers on this page real?
Example numbers are made up to show how the maths works, and the page says so. A figure only counts as exact when the page says it was calculated on a stated date. Nothing you enter in a calculator leaves your browser.
Can I use this to decide whether to run a bot?
It can show whether a bot's numbers hold together and how much an account can lose. It cannot say what the market will do, and it is not advice. Use it to ask better questions, then read the terms of your own broker or exchange.
Is this financial advice?
No. It is general education about arithmetic. The prices are made up and it does not consider your situation.
Know the Risk Before You Run It
Free calculators and guides, added every week. Leave your details and we will email you when new ones go up.
Trading carries a risk of loss