Crypto DCA Calculator: Average Cost vs Lump Sum
Model a crypto dollar-cost averaging plan: set amount, frequency, fee and price path to see coins bought, average cost, final value and a lump-sum comparison.
How to use this calculator
Enter the dollar amount of each buy, how often you buy and how many buys the plan includes, from 2 to 260. Add the fee your platform charges per purchase as a percentage.
Next, describe a hypothetical price path. Linear moves the price by the same dollar amount between buys, while Steady % growth moves it by the same percentage, which traces a gentle curve. Neither is a forecast. To test a bumpier path, paste one price per buy into Custom prices, separated by commas; the list is used only when its length matches the number of buys.
The tiles show what you invested, the coins you accumulated, your average cost, the final value, the return and what a lump sum would be worth for comparison. The chart plots total invested against the value of your coins after each buy. If the idea is new to you, start with our beginner’s guide to dollar-cost averaging.
How it’s calculated
price_i = s + (e − s) × i ÷ (N − 1) (linear) price_i = s × (e ÷ s)^(i ÷ (N − 1)) (steady % growth) coins_i = A × (1 − f) ÷ price_i Invested = N × A Coins = coins_0 + coins_1 + ... + coins_(N−1) Average cost = Invested ÷ Coins Final value = Coins × price_(N−1) Return = (Final value − Invested) ÷ Invested Lump-sum value = N × A × (1 − f) ÷ price_0 × price_(N−1)
A is the amount per buy, f is the fee as a decimal (0.5% = 0.005), N is the number of buys, i is the buy number counted from 0, s and e are the start and end prices, and price_i is the price paid at buy i. The lump-sum line invests the whole budget at the first price with the same fee and values it at the last price.
Worked example
The default plan invests $100 a month for 24 months with a 0.5% fee, while a hypothetical price climbs in a straight line from $30,000 to $45,000, about $652.17 per step.
- Each buy invests $99.50 after the fee. The first buys 99.50 ÷ 30,000 = 0.00331667 coins, and the last buys 99.50 ÷ 45,000 = 0.00221111.
- Across 24 buys you accumulate 0.06462769 coins for $2,400.
- Average cost = $2,400 ÷ 0.06462769 = $37,135.79, below the $37,500 simple average of the prices.
- Final value = 0.06462769 × $45,000 = $2,908.25, a return of +21.18%.
- A $2,400 lump sum at $30,000 buys 0.0796 coins, worth $3,582.00 (+49.25%) at $45,000.
On a path that only rises, buying earlier wins, so the lump sum finishes ahead. Switch the path to steady % growth and DCA ends at $2,946.52 (+22.77%), because that curve keeps the middle prices lower. Your running average cost works the same way as in our guide to crypto average cost basis.
Now try a V-shaped path: $50 per buy, a 1% fee and five custom prices of 100, 80, 60, 80 and 100. DCA collects 3.0525 coins at an average cost of $81.90 and ends at $305.25 (+22.10%). The lump sum ends where it started, minus the fee: $247.50 (−1.00%). Our comparison of DCA vs lump sum looks at when each approach comes out ahead.
Limitations
- Price paths are hypothetical. The calculator does not predict prices, and real markets rarely move in straight lines.
- Fees are a flat percentage per buy. Minimum fees, flat charges and spreads can cost more on small buys, which is one reason the article on weekly vs monthly DCA looks at frequency and cost together.
- The frequency only labels the time span. Results depend on the number of buys and their prices.
- Cash waiting to be invested earns nothing in this model, and taxes are not included.
- Vanguard’s 2023 research on stock and bond markets found lump-sum investing beat cost averaging about two-thirds of the time. Crypto behaves differently, so no historical rate carries over directly.
Frequently asked questions
How does dollar-cost averaging work in crypto?
You invest the same dollar amount at regular intervals, whatever the price. Investor.gov describes it as investing in equal portions at regular intervals regardless of the ups and downs in the market. Because each buy is a fixed amount, you get more coins when the price is low and fewer when it is high, which can pull your average cost below the simple average of the prices.
Is DCA better than investing a lump sum?
Neither wins every time. With the same fee, a lump sum invested on day one does better when prices rise steadily, and DCA does better when the prices along the way average below the starting price. Vanguard's 2023 study of stock and bond markets found lump-sum investing beat cost averaging about two-thirds of the time. Crypto is far more volatile, so treat that as context, not a forecast.
Why is my DCA average cost lower than the average price?
Each buy spends the same dollars, so cheap buys add more coins than expensive ones and pull the average down. Mathematically the result is a harmonic mean, which is never higher than the simple average. Fees push the other way, but in the example on this page a 0.5% fee per buy still leaves the average cost at $37,135.79, below the $37,500 simple average.
Does the frequency setting change the result?
Not by itself. The calculator uses one price per buy, so results depend on the number of buys and the price path, not on the calendar. The frequency sets the time span shown in the summary, for example 24 monthly buys covering about two years. To compare weekly and monthly plans, keep the total invested equal and enter a price path for each schedule.
Related guides
Sources
- Dollar Cost Averaging — U.S. SEC — Investor.gov
- Cost averaging: Invest now or temporarily hold your cash? — Vanguard (February 2023)
This content is for education only and is not financial, investment, tax or legal advice. Crypto assets are volatile and you can lose money. Examples use hypothetical numbers. See our disclaimer and editorial policy.