Business and Financial Tools

DCA and Average Cost per Unit Calculator

Calculate directly from prices you enter when equal cash purchases acquire a different number of shares or fund units each period.

Processed in your browser. Your input is not sent to the server.

Private scenario calculator

DCA and Average Cost Calculator

Change any assumption to recalculate instantly. Values stay in this browser and are not saved.

Live

Actual DCA purchases

Enter prices only; the tool does not fetch or store market data.

Cost basis

Average cost per unit
Total invested
Units accumulated
Current value
Unrealized gain/loss

Private local print and export

Print or export this finance report

Printouts and files contain the current assumptions, displayed results, generation time, and planning boundary. They are created in this browser and are not uploaded.

Quick answer

How is the average cost of DCA purchases calculated?

Units for each period equal the fixed investment divided by that period's price. Average cost is total invested divided by total units, not the arithmetic mean of purchase prices.

How to use this tool

  1. Enter purchase prices on separate lines or separated by commas.
  2. Enter the equal amount invested each period and current unit price.
  3. Review units, average cost, current value, and unrealized gain or loss.

How the calculation works

The calculator divides the equal periodic amount by every positive price, then adds the units. Average cost = total invested ÷ total units, current value = total units × current price, and gain or loss = current value − total invested. Fees, taxes, and distributions are excluded.

Examples

Example Input Expected result
Two purchases
Prices 10 and 20, THB 1,000 each, current price 20
150 units, average cost THB 13.333333, current value THB 3,000, and gain THB 1,000
Same price each period
Price 10 for 3 periods, THB 1,000 each
300 units and average cost THB 10

Limitations

  • The periodic cash amount must be equal; differing purchases need a transaction-level calculator.
  • Brokerage, VAT, exchange fees, taxes, dividends, and corporate actions are excluded.
  • Unrealized gain or loss is not a buy, hold, or sell recommendation.

Frequently asked questions

Why is average cost different from the mean purchase price?

Equal cash buys more units at a low price and fewer at a high price, so unit quantities must weight the calculation.

Does DCA guarantee a profit?

No. It spreads purchase timing, but the current price can remain below average cost.

Does this tool fetch market prices?

No. Enter prices from records or a source you have verified; the entries are not stored on the server.

References

  1. Thai SEC — DCA investment strategy Verified 2026-08-03
  2. FINRA — Dollar-Cost Averaging Verified 2026-08-03

Content and calculation method last reviewed: