Dollar Cost Averaging Calculator

A free tool by DeepRit, a Google Ads agency that does PPC and nothing else. We build and run Google Ads accounts so every click is accounted for. Book a free audit call

Free dollar cost averaging calculator. Invest the same amount at each price to see your units, average cost per share and gain at today's price.

Units bought
0
Total invested
0
Simple average price
0
Value now
0
Return
0

Free, no sign-up. Runs in your browser: nothing you type is uploaded or saved.

How to use the dollar cost averaging calculator

  1. Enter the amount you invest each time, such as 100 a month.
  2. Enter the purchase prices, one for each time you invested, separated by commas or on separate lines.
  3. Optionally enter the current price to see what your investment is worth now.

The dollar cost averaging calculator shows your average cost per unit, the units you bought, the total invested, the simple average of the prices, the current value, and your return.

This calculator only does the arithmetic. Investments can go down as well as up, and past prices don't predict future ones. Nothing here is investment advice.

What is dollar cost averaging?

Dollar cost averaging (DCA) means investing a fixed amount of money at regular intervals, such as every month, regardless of the price. When prices are high, your fixed amount buys fewer units; when prices are low, it buys more. Many people do this automatically through workplace pensions, monthly investment plans and regular contributions to funds, often called systematic investment plans (SIPs) in some countries.

The approach takes the guesswork out of timing the market, builds a habit of regular saving, and smooths out the effect of short-term price swings on the price you pay.

How the calculator works

  1. Units bought each time = amount ÷ price.
  2. Total units = sum of units bought.
  3. Total invested = amount × number of purchases.
  4. Average cost = total invested ÷ total units.
  5. Current value = total units × current price.

With the default figures, investing 100 at each of five prices, 50, 40, 25, 40 and 50, buys 2, 2.5, 4, 2.5 and 2 units, a total of 13 units for 500. The average cost is 500 ÷ 13 ≈ 38.46 per unit, while the simple average of the prices is 41. At a current price of 50, the investment is worth 650, a gain of 150, or 30%, even though the price is back where it started.

Why the average cost is lower than the average price

Because a fixed amount buys more units at low prices and fewer at high prices, your purchases are automatically weighted towards the cheaper prices. Mathematically, the average cost with dollar cost averaging is the harmonic mean of the prices, which is never higher than the ordinary average and is lower whenever the prices vary. In the example, the price swing down to 25 let the investor buy twice as many units as at 50, pulling the average cost down to 38.46.

This doesn't mean DCA always makes money. If prices fall and stay low, the investment is worth less than you put in. It means that, for a given set of prices, investing equal amounts gives a lower average cost than buying equal numbers of units.

A worked example: a falling market

You invest 200 a month for six months while a fund's price falls and then partly recovers: 20, 18, 15, 12, 14 and 16.

  1. Units bought: 10, 11.11, 13.33, 16.67, 14.29 and 12.5, about 77.90 in total.
  2. Total invested: 1,200.
  3. Average cost: 1,200 ÷ 77.90 ≈ 15.40.
  4. Value at 16: 77.90 × 16 ≈ 1,246.40, a gain of about 3.9%.

The price is still 20% below where you started, but because you kept buying through the dip, your investment is slightly ahead. Enter 200, the six prices and a current price of 16 in the dollar cost averaging calculator to check.

Dollar cost averaging versus lump sum

If you already have a large sum to invest, should you invest it all at once or spread it out? As FINRA, the US brokerage regulator, explains, holding cash longer and spreading investments out gradually lowers risk but often produces lower returns than investing a lump sum, especially over longer periods, because markets have tended to rise over the long run and money invested sooner has more time to grow. Spreading it out reduces the risk of investing everything just before a fall, and many people find it easier emotionally. Which is better for you depends on your attitude to risk and regret. For money you earn and invest regularly, such as from each pay cheque, investing as soon as you can is effectively a form of dollar cost averaging anyway.

Fees

Regular small purchases can attract fees, such as a fixed dealing charge on each purchase. A fee of 5 on a 100 investment is 5% gone before the investment has a chance to grow. Many platforms offer free or low-cost regular investment plans to avoid this. If you pay fees, subtract them from the amount you enter, or include them when you calculate your return.

Who uses a dollar cost averaging calculator

Long-term investors use it to see the average cost of regular contributions to funds, shares or crypto. People reviewing their pension or monthly investment plan use it to understand their returns. Financial educators use it to show how regular investing works through market ups and downs. Crypto investors who buy small amounts regularly use it to track their cost base.

Treat ad spend like any other investment

A Google Ads budget should be judged the way you judge any investment: by what it returns, in dollars. DeepRit manages Google Ads for small and mid-size businesses, and only Google Ads. We check your account before we ever get on a call, then fix the structure, the keywords, the tracking and the ads, with month-to-month terms and no long contract. Book a free audit call.

Measuring returns over time

The return shown by the dollar cost averaging calculator is a simple total return: the gain divided by the total invested. It doesn't account for how long each contribution was invested. Money invested in the first month has had longer to work than money invested last month. For an annualised return that accounts for the timing of each contribution, use the XIRR calculator, entering each contribution with its date and the current value as a final amount. That's the most accurate way to compare a regular investment plan with other investments.

Dividends and reinvestment

If your investment pays dividends and they're reinvested, you'll own more units than the calculator shows from your contributions alone. To include them, add the extra units from reinvested dividends to your total, or use the actual number of units shown by your platform with the current price. The dividend reinvestment calculator models reinvested dividends over time.

Common mistakes

  • Comparing the average cost with the simple average price. They're different by design.
  • Assuming DCA guarantees a profit. It doesn't protect against prolonged falls.
  • Ignoring fees on small regular purchases.
  • Stopping contributions during falls, which misses the chance to buy at lower prices.

Choosing how often to invest

Dollar cost averaging works at any regular interval: weekly, fortnightly, monthly or quarterly. Most people invest monthly because it matches their pay cycle. Investing more often spreads purchases more finely, but with long-term investing the difference in average cost is usually small, and per-transaction fees can make very frequent purchases expensive. What matters most is investing consistently and keeping going through both rises and falls. To compare different schedules, enter the prices you would have paid on each date into the dollar cost averaging calculator.

Behaviour matters more than maths

One of the biggest benefits of regular investing is behavioural. When prices fall sharply, many investors are tempted to stop or sell, locking in losses. A regular, automatic plan keeps buying through the dip, which is exactly when the fixed amount buys the most units. In the falling-market example above, continuing to invest through the low prices is what put the investment back in profit while the price was still below its starting level. Setting up an automatic transfer and leaving it alone is often the simplest way to stick to a plan.

When dollar cost averaging doesn't help

If an investment falls steadily and never recovers, regular buying simply adds more money to a losing position. Dollar cost averaging reduces timing risk, but it can't turn a poor investment into a good one. That's why it's usually paired with diversified investments, such as broad index funds, rather than single shares or speculative assets. Review your plan periodically to make sure the investment still suits your goals and risk tolerance.

Sources and further reading

Frequently asked questions

What is dollar cost averaging?

Investing a fixed amount at regular intervals, whatever the price.

How do I calculate my average cost?

Divide the total amount invested by the total number of units bought.

Why is my average cost lower than the average price?

A fixed amount buys more units when prices are low, which pulls the average cost down.

Is dollar cost averaging better than a lump sum?

Lump sums have often produced higher returns over long periods, but DCA reduces the risk of bad timing.

Does it work for crypto?

The arithmetic is the same for any asset you buy regularly.

Is the dollar cost averaging calculator free?

Yes. It's free, needs no sign-up, and works in your browser.

Free PPC audit

See where your ad budget leaks.

We look at your Google Ads account before the call, then walk you through what we'd fix first, in dollars. No obligation, no hard sell.

Book a free audit call 30-minute call · Free · The audit is yours to keep