---
title: "Dollar-cost averaging calculator: what DCA is and how it works"
url: "https://amaltash.com/articles/dollar-cost-averaging-calculator"
published: "2026-11-18T20:21:52.756773+00:00"
summary: "The short answer. Dollar-cost averaging (DCA) means investing the same dollar amount on a regular schedule, whatever the market does. You buy more shares when prices are low and fewer when they are…"
---

# Dollar-cost averaging calculator: what DCA is and how it works

The short answer. Dollar-cost averaging (DCA) means investing the same dollar amount on a regular schedule, whatever the market does. You buy more shares when prices are low and fewer when they are…

Written by Charvi Agarwal (COO); Arpit Agarwal (Founder & CEO); Amaltash Research (Amaltash Advisors LLC).
Reviewed by Arpit Agarwal (Founder & CEO); Charvi Agarwal (COO); The Amaltash Team (Editorial review).
Updated 2026-11-18 · Published 2026-11-18.

The short answer. Dollar-cost averaging (DCA) means investing the same dollar amount on a regular schedule, whatever the market does. You buy more shares when prices are low and fewer when they are high. This dollar-cost averaging calculator shows your average cost per share from the amounts and prices you enter.

Interactive calculator on the page: https://amaltash.com/articles/dollar-cost-averaging-calculator

## Turn this into a rule

> Invest $500 into SPY every Monday at the market open.

[Invest $500 into SPY every Monday](https://invest.amaltash.com/strategy-builder?plan=Invest+%24500+into+SPY+every+Monday+at+the+market+open.)

Opens the Strategy Builder with this rule filled in. It starts building after a 3-second countdown; type to stop it. Nothing trades until you deploy.

## What is dollar-cost averaging?

Dollar-cost averaging, or DCA, means investing the same amount on a regular schedule. FINRA, which oversees US brokers, calls it investing equal amounts at regular times. You keep buying whatever the market is doing.

A fixed amount buys more shares when the price is low and fewer when it is high. Say you invest $500 a month. At $50 a share, that buys 10 shares. At $25, it buys 20.

If part of each paycheck goes into a 401(k), you are likely doing this already. FINRA gives that as an example of DCA. The money goes in on a fixed schedule, whatever the market does.

## How to use this dollar-cost averaging calculator

Enter how much you invest each period and one price for each period. The calculator shows the shares you buy, the total invested and your average cost per share. This dollar-cost averaging calculator uses only your inputs, not the past or future results of any investment.

1. Type the amount you invest each period, such as $500.
2. Type one price per period, separated by commas. These are prices you make up, not a forecast.
3. Read your average cost per share and compare it with the average price.
4. Compare the value at the last price: DCA versus a lump sum bought at the first price.
5. Try a falling price path and a rising one to see how each choice changes.

## How does dollar-cost averaging work?

Each buy gets the amount divided by the price. Lower prices buy more shares, so they count for more in your average cost.

Your average cost per share is the total invested divided by the total shares. When prices change, it comes out below the plain average of the prices. That is a fact of the math, not a gain. It says nothing about whether the investment is worth more than you paid.

DCA is about money going in. When money comes out on a schedule, the order of returns matters a lot. That is called [sequence of returns risk](https://amaltash.com/articles/sequence-of-returns-risk).

Four $500 buys at made-up prices

| Purchase | Price | Shares bought | Running total invested |
| --- | --- | --- | --- |
| 1 | $50 | 10 | $500 |
| 2 | $40 | 12.5 | $1,000 |
| 3 | $25 | 20 | $1,500 |
| 4 | $50 | 10 | $2,000 |
| Total | Average price $41.25 | 52.5 shares | Average cost $38.10 |

Source: Arithmetic on example inputs. Hypothetical illustration, not a prediction or the performance of any investment.

## Dollar-cost averaging vs lump sum: what the research shows

If you already have a sum to invest, you can also put it all in at once. That is a lump sum. The two differ in timing, not in what you buy.

Vanguard studied this in a February 2023 paper. It compared investing a lump sum at once with splitting it into three monthly buys. It used global stock returns from 1976 to 2022, from the MSCI World Index.

After one year, the lump sum was ahead 68% of the time. That assumed the waiting cash earned nothing. With T-Bill interest on that cash, the lump sum was still ahead 65% of the time. Spreading the money out still beat holding it all in cash 69% of the time.

These are past index results, not a forecast, and you cannot invest directly in an index. FINRA notes the same trade-off: DCA has lower risk, but it often earns less than a lump sum. Vanguard says DCA may suit people who strongly dislike losses and might otherwise stay in cash.

The study is about a lump sum you already have. Investing from each paycheck is different, because that money was never waiting in cash. FINRA makes the same point.

Dollar-cost averaging and lump-sum investing compared

| | Dollar-cost averaging | Lump sum |
| --- | --- | --- |
| When the money goes in | Spread over weeks or months | All at once |
| Money waiting in cash | Yes, until the last purchase | None |
| Exposure to a drop right after you start | Smaller at first | Full |
| Exposure to a rise right after you start | Smaller at first | Full |
| Number of trades | Many | One |
| What it mostly helps with | Habit and the regret of bad timing | Getting fully invested sooner |

## Taxes and record-keeping

Each purchase is its own tax lot, with its own cost and purchase date. When you sell, the gain or loss is figured lot by lot. How long you held each lot decides if a gain is short-term or long-term, per IRS Publication 550.

Brokers track lots for you, but many small buys make the record longer. This is general information, not tax advice.

## Turn it into a rule

A DCA plan is already a rule: an amount, an asset and a schedule. In the Strategy Builder, you can write it in plain English, and it runs on that schedule. For example: "Invest $500 into SPY every Monday." SPY is only an example, not a recommendation.

You can [test a rule on past prices](https://amaltash.com/articles/backtesting) before it runs. A test shows how the rule would have acted then. It does not predict what happens next.

A schedule keeps buying through a long fall, like a [stock market crash](https://amaltash.com/articles/stock-market-crash). You can add a limit too. If a limit breaks, the strategy sells and moves the money into a fund that holds [Treasury bills](https://amaltash.com/articles/treasury-bills).

Selling can create taxable gains. You also pay spreads and fund fees, and you can miss a rebound. Our fees on deployed capital still apply.

## Risks and limits

- Dollar-cost averaging does not guarantee a profit or protect against loss in a declining market.
- Money waiting to be invested sits in cash and is not exposed to any rise in the market.
- Many small purchases mean more trades, more tax lots and possibly more costs.
- A schedule keeps buying through a long decline unless you also set a limit.

## Frequently asked questions

### Does dollar-cost averaging work?

It does what it says. It spreads your buys over time, so your average cost is at or below the average price. It does not guarantee a profit or protect against loss in a falling market.

### Does dollar-cost averaging reduce risk?

Only while part of your money waits in cash. FINRA says that can limit losses in a big fall, but it often earns less. Once everything is invested, you hold the same risk as a lump sum.

### How often should you dollar-cost average?

Many people match it to their paycheck, such as every two weeks or monthly. Buying more often spreads timing further. It also means more trades and more tax lots.

### Can you lose money with dollar-cost averaging?

Yes. If the price falls and stays below your average cost, you have less than you put in.

### What is the difference between dollar-cost averaging and averaging down?

Dollar-cost averaging buys the same amount on a schedule, whatever the price. Averaging down means buying more of something you own after its price falls, to lower your average cost. A [stock average calculator](https://amaltash.com/stock-average-calculator) shows what one more buy does to it.

### Can you automate dollar-cost averaging?

Yes. A 401(k) does it from each paycheck, and many brokers offer recurring buys. On Amaltash, you can write it as a rule that runs on a schedule.

## Sources

- [FINRA: Dollar-Cost Averaging](https://www.finra.org/investors/insights/dollar-cost-averaging)
- [Investor.gov: Dollar Cost Averaging](https://www.investor.gov/introduction-investing/investing-basics/glossary/dollar-cost-averaging)
- [Vanguard research, February 2023: Cost averaging, invest now or temporarily hold your cash?](https://corporate.vanguard.com/content/dam/corp/research/pdf/cost_averaging_invest_now_or_temporarily_hold_your_cash.pdf)
- [IRS Publication 550, Investment Income and Expenses](https://www.irs.gov/publications/p550)

## Keep reading

- [Sequence of returns risk, with a worked example](https://amaltash.com/articles/sequence-of-returns-risk)
- [What is backtesting?](https://amaltash.com/articles/backtesting)
- [Automatic rebalancing](https://amaltash.com/articles/portfolio-rebalancing)
- [When should I sell my stocks?](https://amaltash.com/articles/should-i-sell-my-stocks)

---

Educational content published by Amaltash Advisors LLC. Nothing here is investment advice or a recommendation to buy or sell any security. All investing involves risk of loss, including loss of principal, and past performance does not guarantee future results.
