Make every day count Free money tools for every American household
--:-- …--°

Dollar-cost averaging calculator

See how dollar-cost averaging works: invest the same amount at regular times, and compare your average cost per share with the average price and with investing it all at once.

Your plan

Price per share each time

The prices are examples, not market data or forecasts. Type the past prices of a fund you own, or try your own "what if" prices. Leave a box at 0 to skip it. Fees, dividends and taxes are not included.

Each purchase

Each purchase
#PriceShares boughtShares ownedInvestedValue

Your average cost per share

–
Average of the prices
Total invested
Shares owned
Value at the last price
Gain or loss
All at once at the first price

For learning only. Dollar-cost averaging does not guarantee a profit or protect against losses. Not investment advice.

What this calculator does

Dollar-cost averaging means investing the same amount of money at regular times, such as every month, whatever the price (Investor.gov). When the price is low, your money buys more shares; when it is high, fewer. Enter the amount you invest each time and the price each time, and the calculator shows your average cost per share, what the shares are worth at the last price, and how that compares with investing the same total all at once at the first price.

How it is worked out

Shares bought each time = amount ÷ price. Average cost per share = total invested ÷ total shares. Example: $200 at prices of $50, $40, $25, $40 and $50 buys 4, 5, 8, 5 and 4 shares: 26 shares for $1,000, an average cost of $38.46, below the $41 average price. At the last price of $50 they are worth $1,300. Investing the whole $1,000 at the first price of $50 would buy 20 shares, worth $1,000 at the end.

Things to know

Frequently asked questions

Is dollar-cost averaging better than investing a lump sum?

Not always. If prices mostly go up, a lump sum invested earlier often ends with more. Dollar-cost averaging lowers the risk of investing everything just before a drop.

Why is my average cost lower than the average price?

Because the same dollar amount buys more shares at low prices and fewer at high prices, so the low prices weigh more.

Where do the prices come from?

You type them in: past prices of a fund you own, or made-up prices to see "what if". The ones in the boxes are examples.

Is my information saved?

No. The numbers stay on this page.

How we calculate

The formula in plain words

Shares bought = amount ÷ price each time. Average cost = total invested ÷ total shares. Value = shares × last price. Lump sum = total ÷ first price × last price.

Assumptions and limits

Data and sources

Main sources: Investor.gov (SEC): Dollar cost averaging.

Methodology last reviewed: November 6, 2026. Methodology, rounding and corrections

Sources

The rates, limits and data on this page are based on these publications:

Markets & investing

Home & mortgage

Taxes & pay

Retirement & savings

Loans & debt

Money & business

Creators

Travel

Money games

Weather & time

Guides