MASTERMINDFREE TERMINAL免费终端
Calculator计算器

Dollar-Cost Averaging (DCA) Calculator

Project a dollar-cost averaging plan: enter a fixed contribution, cadence, years and expected return to see the final value, total invested and gain.

Live calculator实时计算

Enter how much you invest each period, how often, for how many years, and an expected annual return. You get the projected end value, what you actually put in, and the growth on top.填入每期投入金额、投入频率、投入年数,以及一个预期年化回报,即可得到期末的预估价值、你实际投入的本金,以及在此之上的增长。

Frequency投入频率 how often you invest多久投一次
projected value预估价值

Fill in all four fields to project the plan.填入四个字段即可推算这个计划。

Total invested总投入本金
Investment gain投资增长
Return on invested本金回报率
Number of buys买入次数
Copied已复制

Dollar-cost averaging invests a fixed amount at a fixed cadence — say $500 every month — no matter what the price is doing. Because the dollar amount is fixed, that money buys more shares when the price is low and fewer when it is high, so your average cost per share is pulled toward the cheaper end. This calculator projects where a steady plan lands if it earns a given annual return, treating each contribution as an ordinary annuity.定投(成本平均法)以固定的金额、固定的节奏投入——比如每月 $500——无论价格如何波动。由于投入的金额固定,价格低时这笔钱能买到更多的份额,价格高时买到更少的份额,于是你的每股平均成本会被拉向较低的一端。本计算器在给定年化回报下,把每期投入视作一笔普通年金,推算一个稳定计划最终的落点。

01The formula公式

f = periods per year (12 monthly · 52 weekly · 4 quarterly)f = 每年期数(每月 12 · 每周 52 · 每季 4)
N = years × f  ·  i = return% ÷ 100 ÷ fN = 年数 × f  ·  i = 回报% ÷ 100 ÷ f
Final value = c × ( (1 + i)^N − 1 ) ÷ i期末价值 = c × ( (1 + i)^N − 1 ) ÷ i
Total invested = c × N  ·  Gain = Final − Invested总投入 = c × N  ·  增长 = 期末 − 投入

This is the future value of an ordinary annuity — each contribution arrives at the end of its period and then compounds for the periods that remain. When the return is exactly zero, the money still stacks up: the final value is simply c × N, the total you put in.这是普通年金的终值——每期投入在该期的期末到账,之后为剩余的期数复利增长。当回报恰好为零时,本金依然累积:期末价值就等于 c × N,也就是你投入的总额。

02A worked example一个算例

Worked example算例

Suppose a trader invests $500 every month for 5 years at a hypothetical 8% annual return.假设一位交易者每月投入 $500,持续 5 年,假设年化回报为 8%

  • Periods N = 5 × 12 = 60, per-period rate i = 8 ÷ 100 ÷ 12 ≈ 0.006667期数 N = 5 × 12 = 60,每期利率 i = 8 ÷ 100 ÷ 12 ≈ 0.006667
  • Final value = 500 × ((1.006667)^60 − 1) ÷ 0.006667 ≈ $36,738期末价值 = 500 × ((1.006667)^60 − 1) ÷ 0.006667 ≈ $36,738
  • Total invested = 500 × 60 = $30,000总投入 = 500 × 60 = $30,000
  • Gain = 36,738 − 30,000 ≈ $6,738 — about 22% on the money invested.增长 = 36,738 − 30,000 ≈ $6,738——约为投入本金的 22%

Notice that the gain lags a lump sum earning the same rate: most of the money was invested recently and has had little time to compound. That is the honest trade-off of spreading purchases out over time.注意,这笔增长低于以相同回报率一次性投入所能得到的收益:大部分资金是近期才投入的,复利的时间很短。这正是把买入分摊到较长时间里所要付出的、诚实的代价。

03The common trap常见陷阱

Treating the return as a promise把回报当作承诺

The expected-return input is a hypothetical constant, not a forecast. Real markets deliver that average as a jagged path — losing stretches, then recoveries — and the end value depends heavily on the order those returns arrive in, especially near the finish when the balance is largest. A plan that averages 8% can still end a five-year window down if the last year is bad. Use this projection to compare cadences and horizons, not to bank on a specific dollar figure.预期回报这个输入是一个假设的常数,而非预测。真实市场是以崎岖的路径来兑现这个平均值的——先是下跌,再是复苏——期末价值高度依赖这些回报到来的顺序,尤其在临近终点、余额最大的时候。一个平均 8% 的计划,若最后一年很糟,五年下来仍可能是亏损的。用这个推算去比较不同的节奏与期限,而不要押注于某个具体的金额数字。

04Where this breaks它的局限

The formula is clean; reality adds friction the math leaves out. A few honest limits:公式是干净的,但现实会加入这套算法所忽略的摩擦。几点诚实的局限:

  • A constant return. The model assumes every period earns the same rate. Real returns vary, and their sequence changes the result — the same average can end higher or lower depending on when the good and bad periods fall.恒定的回报。模型假设每一期都赚取相同的回报率。真实回报会波动,其顺序会改变结果——同样的平均值,好期与坏期出现的时点不同,期末可能更高,也可能更低。
  • No costs or taxes. Fees, spreads, and taxes on gains all pull the real end value below the projection. Frequent small buys can also mean more transactions to pay for.不含成本与税费。手续费、买卖价差,以及对收益征收的税,都会把真实的期末价值拉到推算值之下。频繁的小额买入还可能意味着要支付更多笔交易。
  • Fixed, not inflation-adjusted. The end value is in future dollars. If prices rise over the horizon, its purchasing power is lower than the number suggests.固定金额,未计通胀。期末价值以未来的名义货币计。若期间物价上涨,其购买力会低于这个数字所显示的水平。
The one line to remember记住这一句

Averaging in trades a shot at the perfect entry for a steady hand and a lower emotional cost — it smooths the path, it does not remove the risk.分批投入,是用错过完美入场点的机会,换取一双稳定的手和更低的情绪成本——它平滑了路径,却不会消除风险。

See how a single lump sum grows with the 看看一次性本金如何增长,试试 compounding calculator复利计算器, or turn an end value into an annual rate with the ,或用 CAGR calculatorCAGR 计算器.把期末价值换算成年化回报率。