This account already has saved data. Do you want to keep this device's data, or use your account's saved data?
Appearance
Unit System
Temperature Format
Time Format
Dollar-Cost Averaging (DCA)
Average Cost Per Share
The Numbers
Analysis
Recommendations
Dollar-cost averaging reduces the risk of investing a large lump sum right before a price drop, at the cost of potentially lower returns if the price mostly rises -- it trades timing risk for consistency, not a guaranteed better outcome.
Average Cost Per Share
The Numbers
Analysis
Recommendations
Dollar-cost averaging reduces the risk of investing a large lump sum right before a price drop, at the cost of potentially lower returns if the price mostly rises -- it trades timing risk for consistency, not a guaranteed better outcome.
Your Recent & Past Results
Restored a past calculation.
Compare Calculations
Side-by-Side Comparison
A comparison of your calculations' results.
Downloads
Includes your inputs and results for this calculation, plus any additional calculations you've compared.
Share & Print
The link includes your inputs and results, so anyone who opens it sees this exact calculation.
Disclaimer
This calculator provides estimates for informational purposes only and does not constitute financial, medical, legal, or tax advice. Always consult a qualified professional about your specific situation.
How Fixed Recurring Investments Average Out
Dollar-cost averaging means investing the same fixed dollar amount at regular intervals,
regardless of price — so a fixed amount automatically buys more shares when the price is low and
fewer when it’s high. Enter the amount invested each period, the share price for each period,
and optionally a current price, to see the average cost per share this actually produced, the
total shares bought, and the current gain or loss.
This is distinct from the Return on Investment (ROI) Calculator calculator, which compares a single starting
value to a single ending value — one lump sum in, one lump sum out. This calculator instead
models a series of fixed, recurring investments made at different prices over time, which is what
dollar-cost averaging actually is.
The Formula
For each period, shares purchased equal the fixed investment divided by that period’s price:
Sharesi=PriceiInvestment
The average cost per share is total dollars invested divided by total shares accumulated — not a
simple average of the prices:
Average Cost=∑Sharesi∑Investment
Worked Example
Investing $500 per period at prices of $100, $80, $120, $90:
Shares bought each period: 5, 6.25, 4.17, 5.56 — totaling about 20.97 shares.
Total invested: $2,000.
Average cost per share: $95.36 — lower than the simple average of the four prices
($97.50), because more shares were bought during the cheaper $80 period.
At a current price of $110, the position is worth about $2,306.94, a gain of about
$306.94 (15.35%).
Key Factors to Consider
Dollar-cost averaging works especially well specifically when prices are volatile, not just
falling. The math that pulls average cost below the simple price average depends on genuine
price VARIATION, not on prices generally falling — a volatile but flat-trending price still
produces this effect, while a smoothly and steadily rising price produces very little benefit
from it.
Transaction costs or fees per investment period can offset some of the benefit. If each
recurring investment carries a flat transaction fee, more frequent, smaller investments
accumulate more total fees than fewer, larger ones — check whether your specific brokerage or
platform charges per-transaction fees before choosing an investment frequency.
This calculator handles a known, fixed set of past prices — it doesn’t project future
prices. The average cost and gain/loss figures here are a look back at what a real (or
hypothetical) recurring investment actually produced, not a forecast of what a future dollar-cost
averaging plan will achieve.
Automating the recurring investment is what makes dollar-cost averaging actually work in
practice. The strategy’s real-world value often comes as much from removing the temptation to
time the market as from the math itself — many investors set up automatic recurring purchases
specifically to enforce this discipline.
Common Mistakes
Assuming dollar-cost averaging always beats investing a lump sum. It doesn’t — it trades
timing risk for consistency. If the price trends mostly upward, investing everything upfront
usually outperforms spreading it out.
Comparing the average cost per share to a simple average of the prices and expecting them to
match. They only match when the price never changes — any real price variation pulls the
true (investment-weighted) average cost below the simple average.
Forgetting that a lower average cost per share isn’t the same as a profit. The position
still needs the current price to exceed the average cost per share to be in the green.
Useful to Know
Dollar-cost averaging is a strategy about when to invest a given amount of money, not what
to invest in — it says nothing about picking a good stock, fund, or asset in the first place,
which is a separate decision entirely.
The interval between investments (weekly, monthly, quarterly) doesn’t change the underlying
math this calculator shows — what matters is that each period’s fixed amount is divided by that
period’s own price, regardless of how much time passes between periods.
Many employer-sponsored retirement plans already apply dollar-cost averaging automatically:
a fixed percentage of each paycheck buys shares at whatever price prevails on that pay date,
which is exactly the same mechanism this calculator models.
This calculator’s average cost figure is unrelated to a brokerage’s own “average cost basis”
reporting for tax purposes, which may use a different accounting method (e.g. FIFO or specific
lot identification) — check your brokerage statements directly for the figure that actually
applies to your tax situation.
Cómo se Promedian las Inversiones Recurrentes Fijas
El promedio de costo en dólares significa invertir la misma cantidad fija de dinero a
intervalos regulares, sin importar el precio — de modo que una cantidad fija compra
automáticamente más acciones cuando el precio es bajo y menos cuando es alto. Ingresa el monto
invertido en cada período, el precio por acción de cada período y, opcionalmente, un precio
actual, para ver el costo promedio por acción que esto realmente produjo, el total de acciones
compradas y la ganancia o pérdida actual.
Esto es distinto de la calculadora Calculadora de Retorno de Inversión (ROI), que compara un único valor inicial con
un único valor final — una suma única de entrada, una suma única de salida. Esta calculadora en
cambio modela una serie de inversiones fijas y recurrentes hechas a diferentes precios a lo largo
del tiempo, que es lo que realmente es el promedio de costo en dólares.
La Fórmula
Para cada período, las acciones compradas equivalen a la inversión fija dividida entre el precio
de ese período:
Accionesi=PrecioiInversioˊn
El costo promedio por acción es el total de dólares invertidos dividido entre el total de
acciones acumuladas — no un promedio simple de los precios:
Costo Promedio=∑Accionesi∑Inversioˊn
Ejemplo Resuelto
Invertir $500 por período a precios de $100, $80, $120, $90:
Acciones compradas en cada período: 5, 6.25, 4.17, 5.56 — un total de aproximadamente
20.97 acciones.
Total invertido: $2,000.
Costo promedio por acción: $95.36 — menor que el promedio simple de los cuatro precios
($97.50), porque se compraron más acciones durante el período más barato de $80.
A un precio actual de $110, la posición vale aproximadamente $2,306.94, una ganancia
de aproximadamente $306.94 (15.35%).
Factores Clave a Considerar
El promedio de costo en dólares funciona especialmente bien específicamente cuando los precios
son volátiles, no solo cuando caen. Las matemáticas que hacen que el costo promedio baje por
debajo del promedio simple de precios dependen de una VARIACIÓN genuina de precios, no de que
los precios generalmente caigan — un precio volátil pero con tendencia plana todavía produce este
efecto, mientras que un precio que sube de forma suave y constante produce muy poco beneficio de
esto.
Los costos de transacción o comisiones por período de inversión pueden compensar parte del
beneficio. Si cada inversión recurrente conlleva una comisión de transacción fija, las
inversiones más frecuentes y pequeñas acumulan más comisiones totales que las menos frecuentes y
grandes — verifica si tu corredor o plataforma específica cobra comisiones por transacción antes
de elegir una frecuencia de inversión.
Esta calculadora maneja un conjunto conocido y fijo de precios pasados — no proyecta precios
futuros. Las cifras de costo promedio y ganancia/pérdida aquí son una mirada retrospectiva a lo
que realmente produjo una inversión recurrente real (o hipotética), no un pronóstico de lo que
logrará un futuro plan de promedio de costo en dólares.
Automatizar la inversión recurrente es lo que hace que el promedio de costo en dólares
realmente funcione en la práctica. El valor real de la estrategia a menudo proviene tanto de
eliminar la tentación de cronometrar el mercado como de las matemáticas en sí — muchos inversores
configuran compras recurrentes automáticas específicamente para reforzar esta disciplina.
Errores Comunes
Suponer que el promedio de costo en dólares siempre supera invertir una suma única. No es
así — cambia el riesgo de sincronización por consistencia. Si el precio tiende a subir la
mayor parte del tiempo, invertir todo de una vez suele superar el distribuirlo.
Comparar el costo promedio por acción con un promedio simple de los precios esperando que
coincidan. Solo coinciden cuando el precio nunca cambia — cualquier variación real del
precio hace que el costo promedio real (ponderado por la inversión) baje del promedio simple.
Olvidar que un costo promedio por acción más bajo no es lo mismo que una ganancia. La
posición aún necesita que el precio actual supere el costo promedio por acción para estar en
positivo.
Datos Útiles
El promedio de costo en dólares es una estrategia sobre cuándo invertir una cantidad
determinada de dinero, no en qué invertir — no dice nada sobre elegir una buena acción, fondo
o activo en primer lugar, lo cual es una decisión completamente aparte.
El intervalo entre inversiones (semanal, mensual, trimestral) no cambia las matemáticas
subyacentes que muestra esta calculadora — lo que importa es que el monto fijo de cada período
se divide entre el precio de ese mismo período, sin importar cuánto tiempo pase entre períodos.
Muchos planes de jubilación patrocinados por el empleador ya aplican el promedio de costo en
dólares automáticamente: un porcentaje fijo de cada cheque de pago compra acciones al precio
vigente en esa fecha de pago, que es exactamente el mismo mecanismo que modela esta calculadora.
La cifra de costo promedio de esta calculadora no está relacionada con el “costo base
promedio” que reporta un bróker para fines fiscales, el cual puede usar un método contable
diferente (por ejemplo, FIFO o identificación de lote específico) — consulta directamente los
estados de cuenta de tu bróker para la cifra que realmente aplica a tu situación fiscal.
Why is the average cost per share usually lower than the average of the prices?
Because the dollar amount invested each period is fixed, a lower price buys more shares and a higher price buys fewer -- so more of your total shares come from the cheaper periods. That weighting is exactly what pulls the true average cost per share below a simple, unweighted average of the entered prices, whenever the price genuinely varies.
Does dollar-cost averaging guarantee a better return?
No. It reduces the risk of investing a large lump sum right before a price drop, but if the price mostly trends upward over the period, investing it all upfront would typically have outperformed spreading it out. Dollar-cost averaging trades timing risk for consistency and discipline, not a guaranteed higher return.
How is this different from the ROI Calculator?
The Return on Investment (ROI) Calculator compares a single starting value to a single ending value -- one lump sum in, one lump sum out. This calculator instead models a series of fixed, recurring investments made at different prices over time, which is what dollar-cost averaging actually is.
Does the investment interval (weekly, monthly, etc.) matter to this calculation?
No -- the math only depends on the fixed amount invested each period and that period’s price, not how much time separates one period from the next. Whether you invest weekly, monthly, or quarterly, entering the same sequence of amounts and prices produces the same average cost per share.
Is this the same as my brokerage’s "average cost basis" for tax purposes?
Not necessarily. This calculator shows the investment-weighted average cost across the periods you enter, but brokerages can report cost basis using different accounting methods (like FIFO or specific lot identification) for tax purposes. Check your actual brokerage statements for the figure that applies to your taxes.
We use cookies for analytics and ads to help support this free site. You can accept all, or decline and we'll only use what's needed for the site to work.