portfolios.tools

DCA Price Averager Calculator

Free DCA Price Averager Calculator: compute your true average cost per share from periodic purchases, compare DCA against lump sum, see total return instantly.

Current Price
Summary

Add at least two purchases to see DCA vs lump sum comparison.

Scenario
DateAmountPrice

Like this tool? Help keep portfolios.tools free forever.

$5
$1$50

How It Works

The DCA Price Averager computes true average cost per share from a history of periodic purchases with date, dollar amount, and fill price per row. Unlike simple average of prices, average cost equals total dollars invested divided by total shares acquired: the harmonic mean weighted by dollars, which reflects actual tax basis and performance. Enter at least two purchases, then current price to see total shares, total invested, average cost, simple average price for comparison, total gain or loss, return percentage, and DCA versus lump sum share count comparison. Example: twelve monthly one thousand dollar buys into an index fund at different prices produces lower average cost than simple mean of those prices when volatility was high. Include dividend reinvestment rows if your broker treats them as separate purchase lots at reinvestment price. Payroll 401k contributions map cleanly to this format when you record each pay period amount and fund price on contribution date.

The lump sum comparison invests the same total dollars at the first purchase price and reports DCA advantage as percentage share difference. Positive advantage means DCA acquired more shares than lump sum over the entered history. Negative advantage means rising market favored lump sum, common in steady bull phases. Update current price after market close to refresh unrealized gain. Purchase history persists in browser localStorage while computed metrics recalculate each visit. Import broker CSV fills by typing dates, amounts, and prices row by row. Adjust historical prices for stock splits before entry so share counts stay consistent with current holdings. Pair with Capital Gains Holding Period tool when approaching long term status and Stock Average Down when adding to underwater positions. The summary card shows whether your discipline of spreading buys produced more shares than going all in on day one, independent of whether total return is positive or negative today.

Import broker CSV data by entering dates, amounts, and fill prices for each purchase row. Each entry updates your cost basis whether you track a single ticker or multiple positions. Adjust historical prices for stock splits and dividend reinvestments before entry so share counts remain consistent with your current holdings.

Use DCA Price Averager whenever inputs change: after market moves, new contributions, or revised personal assumptions. Bookmark the page for quick reruns without installing software.

Step by step

  1. Open DCA Price Averager and enter your current inputs.
  2. Review calculated outputs and summary tables.
  3. Adjust assumptions and compare scenarios side by side.

Worked example

The DCA Price Averager computes true average cost per share from a history of periodic purchases with date, dollar amount, and fill price per row. Enter the sample inputs described in How it works to reproduce the scenario step by step.

Adjust one input at a time to see sensitivity. DCA Price Averager updates instantly so you can stress test optimistic and conservative assumptions before acting.

When to use this calculator

Reach for DCA Price Averager when compute your real average cost per share from periodic purchases: compare dca against lump sum outcomes.. It suits quick what if analysis before trades, allocation changes, or plan updates.

Pair with related tools when the decision spans taxes, liquidity, or multi year projections beyond what one formula captures.

Common mistakes

Copying outputs without checking input units or stale market prices is a frequent error with DCA Price Averager. Confirm tickers, percentages, and dates before acting.

Running a single baseline scenario ignores tail risks. Stress test with conservative inputs and compare against related tools listed below when the decision is material.

The Formula

sharesᵢ = amountᵢ / priceᵢ

totalShares = Σ sharesᵢ

totalInvested = Σ amountᵢ

avgCostPerShare = totalInvested / totalShares

simpleAvgPrice = Σ priceᵢ / n

lumpsumShares = totalInvested / firstPrice

dcaVsLumpsum% = ((totalShares − lumpsumShares) / lumpsumShares) × 100

currentValue = totalShares × currentPrice

totalGain = currentValue − totalInvested

totalReturn% = (currentValue / totalInvested − 1) × 100

Purchases with zero or negative amounts or prices excluded. Dates are for records only. Math uses amounts and prices. Adjust historical prices for stock splits before entry so share counts remain consistent with current holdings.

Limitations and assumptions

Purchases with zero or negative amounts or prices excluded. Dates are for records only. Math uses amounts and prices. Adjust historical prices for stock splits before entry so share counts remain consistent with current holdings. DCA Price Averager does not replace personalized advice. Fees, slippage, account specific rules, and behavioral constraints may change real world outcomes.

Key terms

What is dollar-cost averaging
Dollar cost averaging invests fixed dollar amount at regular intervals regardless of price.
How is the average cost per share different from the simple average price
Average cost per share equals total dollars invested divided by total shares acquired.
Model assumption
Lump sum comparison invests entire total at first purchase price and compares resulting share count to DCA path.

Compare alternatives

Use Compound Interest Comparator for long horizon wealth projection, Portfolio Rebalancer to deploy new contributions, and Capital Gains Holding Period tool when deciding whether to sell a DCA position approaching long term status on portfolios. Use those calculators when dca price averager alone does not capture the full decision.

Internal links on portfolios.tools help you chain calculators: run DCA Price Averager first, then validate edge cases with a specialized tool from the related section below.

FAQ

What is dollar-cost averaging?

Dollar cost averaging invests fixed dollar amount at regular intervals regardless of price. Low prices buy more shares, high prices buy fewer. Over time this often yields lower average cost per share than simple average price when volatility exists. Monthly payroll contributions into a 401k exemplify classic DCA. The discipline removes timing decisions behavioral research shows most investors get wrong. DCA does not guarantee profit: persistent declines still produce losses though at lower average cost than first purchase price alone. Investors waiting for a dip before investing often miss months of returns while cash sits idle, which DCA avoids by automating participation.

How is the average cost per share different from the simple average price?

Average cost per share equals total dollars invested divided by total shares acquired. This is harmonic mean of prices weighted by dollars invested, always lower than or equal to simple average price when prices fluctuate. Broker cost basis reports should match this figure for tax purposes. Reconcile differences by checking whether dividends reinvested as separate purchases or fees embedded in fill price were excluded from your rows. Simple average price displayed for comparison highlights how much DCA math diverges from naive mean when volatility was material during your accumulation phase.

What does the lump sum comparison show?

Lump sum comparison invests entire total at first purchase price and compares resulting share count to DCA path. DCA advantage percentage shows how many more or fewer shares DCA produced. Negative advantage means lump sum won on share count, common in steadily rising markets. Use comparison to explain past decisions not to predict future lump sum timing. Same total dollars is assumed in both paths for fair comparison. Total return percentage on summary uses your actual average cost and current price, which can be positive even when DCA advantage on share count is negative if price appreciated after your last buy.

When does DCA beat lump sum?

When prices are volatile or declining, DCA tends to acquire more shares than lump sum at the starting price. When prices rise steadily, lump sum usually wins on share count. History shows lump sum outperforms DCA roughly two thirds of the time on total wealth, but DCA reduces regret and bad timing risk. Payroll contributions are involuntary DCA many investors already practice without labeling it. Windfall recipients debating lump sum versus staged investing can enter hypothetical schedules here to quantify share count difference before choosing psychology over mathematics.

Is my data saved?

Purchase history and current price input save in browser localStorage. Computed averages, gains, and comparison figures recalculate fresh each visit. Clear history when switching accounts to avoid mixing cost bases. Import purchases from broker CSV by typing dates, amounts, and fill prices. Never persist live prices per project convention: only user choices and purchase history persist. Multiple tickers require separate calculator sessions because cost basis is per position not portfolio wide.

How do I use this DCA Price Averager calculator on phone or tablet?

Yes. DCA Price Averager runs entirely in your mobile browser with the same formulas as desktop. Optional localStorage may remember inputs on your device when enabled in browser settings.

Where is my data stored when I use DCA Price Averager?

Nowhere on our servers. Calculations execute locally in your browser. Optional localStorage saves form fields on your device only and never transmits portfolio numbers over the network.

Should I rely on DCA Price Averager for tax or legal decisions?

No. DCA Price Averager provides educational math only. Tax law, account rules, and personal circumstances vary. Consult a qualified tax or legal professional before transactions with material consequences.

Related Tools

Use Compound Interest Comparator for long horizon wealth projection, Portfolio Rebalancer to deploy new contributions, and Capital Gains Holding Period tool when deciding whether to sell a DCA position approaching long term status on portfolios.tools. Pair with Stock Average Down when adding to underwater positions and Money Weighted Return Calculator to compare personal timing versus fund returns.