Home › Calculators › Dollar Cost Averaging Calculator

Dollar Cost Averaging Calculator

Enter how much you invest each period and the price at every purchase to see units owned, your average cost, current value and profit, compared with investing the lump sum on day one. Everything is calculated privately in your browser.

Last updated:

Investment plan

Price per period

Current value——
Total invested——
Units owned——
Average cost per unit——
Lump sum at first price——

Purchase schedule

For education only, not investment advice. Results ignore taxes, dividends and the time value of money. Past prices do not predict future returns.

Advertisement

How to use the Dollar Cost Averaging Calculator

  1. Enter the amount you invest per purchase and how often you buy (week, 2 weeks, month, quarter or year).
  2. Type the price for each period in the price list, add periods with + Add period, or press Paste a column to drop in prices from a spreadsheet.
  3. Add fees if your broker or exchange charges a fixed fee or a percentage per trade.
  4. Set the current price, or leave it blank to value your holdings at the last price in the list.
  5. Read the results: units owned, average cost, current value, profit and the lump-sum comparison, then switch charts or download the schedule as CSV.

Dollar cost averaging formulas

For every purchase i with amount A, price Pi and fee Fi:

  • Units bought = (A − Fi) ÷ Pi
  • Total invested = A × number of purchases (fees included)
  • Average cost per unit = total invested ÷ total units owned
  • Current value = total units × current price
  • Profit or loss = current value − total invested, and in percent ÷ total invested
  • Lump sum = (total invested − one fee) ÷ first price × current price

Because a fixed amount buys more units when the price is low, the no-fee average cost equals the harmonic mean of your purchase prices. The harmonic mean is always less than or equal to the simple (arithmetic) average, which is the mathematical reason DCA buyers pay less per unit than the average price over the same period.

Worked example

You invest $100 a month for four months at prices of $10, $8, $5 and $10.

MonthPriceInvestedUnits boughtTotal units
1$10$1001010
2$8$10012.522.5
3$5$1002042.5
4$10$1001052.5

Total invested is $400 for 52.5 units, so the average cost is $400 ÷ 52.5 = $7.62, while the average price was ($10 + $8 + $5 + $10) ÷ 4 = $8.25. At the final price of $10 the position is worth $525, a profit of $125 (31.25%). Investing $400 at the first price of $10 would have bought 40 units worth $400, so in this falling-then-recovering market DCA came out ahead. In a market that only rises, the lump sum wins.

Tips for using DCA

  • Watch the fees. A $1 fee on a $50 purchase is a 2% cost on every buy. Choose a broker with free recurring buys or invest less often in larger amounts.
  • Automate it. The benefit of DCA comes from sticking to the schedule, especially when prices fall.
  • Compare with growth projections. For a smooth expected return instead of real prices, use the compound interest calculator, and check your annualized return with the CAGR calculator.

Frequently asked questions

What is dollar cost averaging?

Dollar cost averaging (DCA) means investing the same amount of money at regular intervals regardless of the price. When the price is low your fixed amount buys more units and when it is high it buys fewer, so your average cost per unit ends up at the harmonic mean of the prices you paid, which is never higher than their simple average.

How is the average cost per unit calculated?

Average cost = total money invested ÷ total units owned. Fees are included in the money invested, so they raise your average cost. With equal purchase amounts and no fees this equals the harmonic mean of the purchase prices.

Is dollar cost averaging better than investing a lump sum?

Not always. Studies of stock markets (for example Vanguard's research) found that investing a lump sum immediately beat DCA roughly two thirds of the time because markets tend to rise over time. DCA reduces the risk of investing everything right before a drop and helps build a habit. This calculator shows both results for your own price list.

Can I use this for crypto, ETFs or individual stocks?

Yes. Enter the price of any asset at each purchase: a share price, an ETF price, a fund unit price or the price of one bitcoin. Fractional units are supported, so small purchases of expensive assets work too.

How do I paste prices from a spreadsheet?

Press Paste a column and paste one price per line. You can copy a single column from Excel or Google Sheets, or rows like 2025-01-31, 105.20; the calculator takes the last number on each line and ignores headers.

Does the calculator include dividends or taxes?

No. It calculates the value of the units you bought from your price list. Reinvested dividends, capital gains taxes and inflation are not included, so treat the result as a pre-tax, price-only return.

Are all the tools on FreeToolCabin tested for quality and accuracy?

Yes! Every tool on our site undergoes automated Q/A testing in real browser environments to ensure high precision, correct output, and zero errors. If you happen to spot a bug or have a suggestion, please contact us at [email protected] and our team will review it right away.

Related tools

Compound Interest CalculatorSee how savings and investments grow over time.CAGR CalculatorCompound annual growth rate, or solve for a target end value.Percentage Change CalculatorPercent increase or decrease between two values, and reverse.Retirement CalculatorProject retirement savings and see your shortfall or surplus.Profit Margin CalculatorGross margin, markup, cost or price: solve for any one, single or bulk.Receipt MakerFill in a receipt template with items and tax, then print or save PDF.Car Depreciation CalculatorEstimate your car's value over time and its projected resale price.CTR CalculatorCalculate click-through rate and compare it with industry benchmarks.Conversion Rate CalculatorCalculate e-commerce conversion rate, revenue per visitor and goals.CPM CalculatorSolve CPM, cost, impressions, CTR and CPC for ad campaigns.Quote Estimate GeneratorCreate a quote or estimate with line items and tax, then save as PDF.ROAS Calculator (Return on Ad Spend)Calculate ROAS, break-even ROAS and profit for each ad channel.Customer Lifetime Value CalculatorCalculate customer lifetime value, LTV:CAC ratio and CAC payback from ARPU and churn.Churn Rate CalculatorCalculate customer churn and retention rates and convert monthly churn to annual.YouTube Money CalculatorEstimate YouTube earnings per day, month and year from views and RPM by niche.Instagram Engagement Rate CalculatorCalculate Instagram engagement rate by followers or reach and compare it to benchmarks.Ecommerce Profit CalculatorNet profit, margin, markup and break-even ROAS per order after fees, ads and returns.Amazon FBA CalculatorEstimate Amazon FBA fees, profit per unit, margin, ROI and break-even price.Etsy Fee CalculatorEtsy listing, transaction, processing and Offsite Ads fees, payout and net profit.eBay Fee CalculatoreBay final value fee, per-order fee, ad fees, payout and net profit on any sale.Stock Profit CalculatorStock trade profit and % return after commissions, plus the break-even sell price.Startup Runway CalculatorProject cash, burn rate and runway month by month, with growth, break-even and zero-cash date.Break Even CalculatorFind break-even units and revenue, contribution margin, margin of safety and a cost-volume chart.SaaS Pricing CalculatorModel flat, per-seat, tiered and volume plans with annual discounts to get MRR, ARR and ARPU.Employee Cost CalculatorWork out the true cost of an employee: payroll taxes, benefits, overhead and real hourly cost.Inventory Turnover CalculatorInventory turnover ratio and days inventory outstanding from COGS or sales and average stock.Markup CalculatorFind the selling price from cost and markup, or the markup and margin from cost and price.Unit Price CalculatorCompare up to 4 products by price per ounce, pound, liter or item and find the best deal.Cap Rate CalculatorCalculate a rental property's NOI, cap rate and optional cash-on-cash return.Depreciation CalculatorStraight-line, declining balance, double declining and sum-of-years depreciation schedules.Crypto Profit CalculatorCalculate crypto trade profit, ROI and break-even price after buy and sell fees.PayPal Fee CalculatorWork out PayPal fees, what you receive, and how much to ask for to get an exact amount.Stripe Fee CalculatorCalculate Stripe fees and payouts, or how much to charge to receive an exact amount.Net Promoter Score CalculatorCalculate NPS from promoter, passive and detractor counts or pasted 0–10 survey scores.CPC CalculatorCalculate cost per click from ad spend and clicks, plus CPM, CTR, CPA and ROAS.P/E Ratio CalculatorPrice-to-earnings ratio, earnings yield and PEG ratio from share price, EPS and growth.WACC CalculatorWeighted average cost of capital from equity, debt, their costs and the tax rate.Payback Period CalculatorPayback and discounted payback period for an investment with even or uneven cash flows.Sales Funnel CalculatorCustomers, SQLs, MQLs, leads and visitors needed to hit a revenue goal.Shopify Fee CalculatorShopify fees by plan, payout, profit and margin, with third-party gateway fees.Solar Payback Period CalculatorSolar panel payback years, 25-year savings, ROI and cost per kWh with a cash-flow chart.Square Fee CalculatorSquare processing fees, net deposit and the price to cover fees by payment method.Tiered Pricing CalculatorPrice a quantity with tiers: total, per-tier breakdown and unit price, graduated or volume.Upwork Fee CalculatorUpwork service and withdrawal fees, net earnings, and what to bill for a target.Venmo Fee CalculatorVenmo fees for goods & services, instant transfers and card payments, plus reverse mode.Working Capital CalculatorNet working capital plus current, quick and cash ratios from your balance sheet.Ad Revenue CalculatorEstimate website ad earnings per day, month and year from pageviews and RPM, CPM or CPC.ACoS CalculatorCalculate ACoS, ROAS, break-even ACoS and target ACoS from ad spend, sales and margin.ARPU CalculatorCalculate average revenue per user or account, ARPPU and monthly vs. annual ARPU.Black-Scholes CalculatorPrice European call and put options with Black-Scholes, plus delta, gamma, theta, vega and rho.Cap Table CalculatorModel founders, option pool, SAFEs and priced rounds and see fully diluted ownership after each round.Cart Abandonment Rate CalculatorFind your cart abandonment rate, revenue lost in abandoned carts and what recovery wins back.Cash Flow Forecast CalculatorBuild a 13-week or 12-month cash flow forecast and spot your lowest cash balance before it hits.Crypto Price by Market Cap CalculatorPrice a coin would reach at a target market cap or at another coin's market cap.Current Ratio CalculatorCurrent assets ÷ current liabilities with interpretation, working capital and target solver.Day Rate CalculatorContractor or consultant day rate from income, benefits, expenses and billable days.ESPP CalculatorEmployee stock purchase plan gain: discount, lookback, shares, return and how a sale is taxed.Free Cash Flow CalculatorFree cash flow from operating cash flow and CapEx, plus FCFF, FCFE, FCF margin and per share.Gold Value CalculatorScrap gold melt value from weight, karat and spot price, plus a dealer payout estimate.Handmade Product Pricing CalculatorPrice handmade items from materials, time, overhead and profit, with wholesale and retail.1% Rule CalculatorScreen a rental: 1% and 2% rule pass/fail, 50% rule expenses, cash flow and max purchase price.Operating Margin CalculatorOperating margin from revenue, COGS and expenses, compared with gross, EBITDA and net margin.Cost Per Unit CalculatorUnit production cost from materials, labor, overhead, setup and waste, plus a price at your margin.Quick Ratio CalculatorAcid-test ratio from cash, securities and receivables vs current liabilities, explained.Resale Profit CalculatorGet flipping profit, margin and ROI after platform and payment fees, shipping and supplies.Sales Forecast CalculatorProject 12-36 months of revenue from baseline, growth rate, churn and seasonality.70% Rule CalculatorHouse flipping maximum allowable offer: ARV × 70% − repairs, with adjustable % and wholesale fee.Silver Melt Value CalculatorSilver melt value from weight, purity and spot price, with sterling and US coin presets.
See all 209 Business & Marketing Calculators →