Cash vs Invest Calculator
The gap between two growth rates on the same sum
Compare what a sum grows to at a cash rate against an assumed investment return over the same period, and see the gap the rate difference produces.
What this tool does
This calculator compounds one amount at two different annual rates over the same period and reports the difference. At the defaults, 50,000 at 3% reaches 90,305.56 across twenty years while the same sum at 7% reaches 193,484.22, a gap of 103,178.66. Two things govern how that figure should be read. The two rates are not the same kind of number: a cash rate is broadly known in advance and the balance does not fall, while an investment return is an expectation with variation around it, and treating both as certain is exactly what this arithmetic does. And the result is nominal, so neither side is adjusted for inflation; at the defaults, if inflation also ran at 3%, the cash total would buy precisely what the original 50,000 buys today and the real gap would be about 57,100 rather than 103,200. The investment rate carries roughly twice the leverage of the cash rate, the horizon compounds hardest of all, and the amount scales the answer proportionally. Annual compounding is assumed on both sides, and tax, fees and volatility are all outside the model.
Quick answer: with the default values, the result is $103,178.66 (Opportunity Cost of Cash). Adjust the values below for your own figures.
Enter Values
People also use
Investing
Compound Interest Calculator
Free compound interest calculator with regular deposits and withdrawals, any compounding frequency, after-tax and inflation-adjusted results.
Financial Health
Emergency Fund Calculator
Calculate emergency fund target and timeline to reach it from expenses and contributions. Enter months of coverage to see target amount and current gap.
Savings
Bucket Retirement Strategy Calculator
Split a retirement pot across three time-horizon buckets. Enter the total and a percentage for cash, bonds and equities to see the amount in each.
Formula Used
Disclaimer
Results are estimates for educational purposes only. They do not constitute financial advice. Consult a qualified professional before making financial decisions.
Holding a sum in cash and holding it in investments are the same decision made twice: once about return and once about certainty. This calculator prices only the first, showing what the difference in assumed growth rates comes to across a chosen period.
At the defaults, 50,000 compounding at 3% reaches 90,305.56 after twenty years while the same sum at 7% reaches 193,484.22. The gap is 103,178.66, which is more than twice the original amount. Cash is not standing still in that comparison; it is simply growing at less than half the rate.
What the figure does not say is which side is preferable, because the two rates are not the same kind of number. A cash rate is broadly known in advance and the balance does not fall. An investment return is an assumption with variation around it, including periods where the balance is lower than it started. Comparing them as though both were certain is what the arithmetic here does, and it is the main thing to hold in mind when reading the output.
Quick example
With an amount of 50,000, a cash rate of 3%, an investment return of 7% and a twenty-year horizon, the result is 103,178.66. The supporting rows show a cash value of 90,305.56, an investment value of 193,484.22, a return gap of 4.00% and the horizon.
Which inputs matter most
The two rates do not carry equal weight, which is easy to miss because the result card reports a single return gap. Raising the investment return from 7% to 8% widens the gap by 39,564, or 38%. Raising the cash rate from 3% to 4% narrows it by only 19,251, or 19%. The investment side moves the answer roughly twice as hard, because it is compounding from a larger base every year.
That also means the spread between the rates does not determine the result on its own. Adding a percentage point to both, so 4% against 8% with the same four-point spread, produces 123,492 rather than 103,179. The levels matter as well as the difference between them.
Amount scales the gap exactly proportionally, so doubling it doubles the answer and changes nothing else. The horizon is the input with the most leverage per unit: extending from twenty years to twenty-one adds 10,835 to the gap, more than a full percentage point on the cash rate removes.
What is happening under the hood
Each amount is compounded annually at its own rate for the number of years given, and the cash result is subtracted from the investment result. That is the whole calculation.
Two properties follow from the structure. Annual compounding is assumed on both sides, so a cash account paying monthly and an investment reinvesting quarterly are both approximated rather than modelled. And because the result is a difference between two exponential curves, it is not proportional to time: five years gives 12,164, ten years 31,162, twenty years 103,179 and thirty years 259,250.
Why the number matters
An opportunity cost is invisible by nature. Money in a savings account does not feel like it is costing anything, because the balance only ever rises, and nothing on a statement shows the alternative that was not taken. Putting a figure on it is the only way to make the trade-off visible enough to weigh.
The figure is not an argument for one side. It is one half of a comparison whose other half is certainty, liquidity and the ability to spend the money at short notice without regard to what markets did that month. Neither half is worth anything without the other in view.
Where to go next
This calculation rarely sits alone in a planning exercise. The compound interest calculator covers the growth mechanics on their own, the emergency fund calculator sizes the cash that is held back from the comparison in the first place, and the bucket retirement strategy calculator handles the same question across several time horizons at once.
Why the gap widens rather than grows
The gap between holding cash and investing widens geometrically, not steadily, because both sides compound at different rates. At the defaults, 50,000 over twenty years reaches roughly 90,300 at 3% and about 193,500 at 7%, a difference near 103,200. Over ten years the same rates produce a gap closer to 31,200, so about 70% of the twenty-year difference accrues in the second decade.
That shape has a practical consequence. A short horizon produces a small gap, which is why the calculation says little about money that may be needed within a few years, and a long horizon produces a large one, which is why the same 4-point rate difference looks trivial at five years and dominant at thirty.
What the comparison flattens
The comparison is nominal and deterministic on both sides, which flattens two differences that matter.
The first is inflation, and it applies to both sides rather than one. Neither figure is adjusted, so both are overstated in purchasing-power terms. The arithmetic is stark at the defaults: with inflation also at 3%, the 90,305.56 of cash after twenty years buys exactly what 50,000 buys today, a real return of nothing at all. The investment side would be worth about 107,100 in today's terms on the same assumption, so the real gap is roughly 57,100 rather than 103,200. Central banks publish the consumer price measures these adjustments are made against.
The second is uncertainty. A cash rate is set and broadly knowable; an investment return is an expectation with dispersion around it, and the order in which returns arrive changes the outcome for anyone drawing on the money. Securities regulators worldwide require that distinction to be stated in anything sold as an investment, and it applies equally to a calculator projecting a smooth curve. The single figure here is a central case, not a floor.
Tax is the third simplification. Interest and investment gains are frequently taxed under different rules and at different rates, and tax-advantaged accounts change both sides again, so the after-tax gap can be materially different from the nominal one in either direction.
Over 20 years, $50,000 at 7% instead of 3% cash differs by $103,178.66.
Inputs
| Cash Value | $90,305.56 |
|---|---|
| Investment Value | $193,484.22 |
| Return Gap | 4.00% |
| Years | 20 |
This example uses sample figures for illustration. Adjust the inputs above to match a specific situation and see how the result changes.
Sources & Methodology
Methodology
The calculator compounds the starting amount annually at the cash rate and, separately, at the investment return rate, across the number of years given, then subtracts the cash result from the investment result to give the gap. Both sides use annual compounding on a single lump sum with no contributions or withdrawals during the period. Three properties of that structure affect how the output should be read. The result is a difference between two exponential curves, so it grows far faster than the horizon does: at the default rates the gap is 12,164 at five years, 31,162 at ten, 103,179 at twenty and 259,250 at thirty. The two rates carry unequal weight, since the investment side compounds from a larger base each year, so a percentage point added to the investment return moves the gap roughly twice as far as the same point added to the cash rate, and the spread between the rates alone does not determine the result. And because both figures are nominal, purchasing power is overstated on both sides; a real comparison requires deflating each by the expected inflation rate. The model excludes taxes, which frequently differ between interest and investment gains, platform and fund fees, contributions or withdrawals during the period, market volatility and the order in which returns arrive. Results are estimates for illustration only and are not a projection of any actual investment.
Frequently Asked Questions
Is investing better than holding cash?
How much cash is appropriate to hold?
Does inflation change things?
What about tax-advantaged accounts?
Related Calculators
Compound Interest Calculator
Free compound interest calculator with regular deposits and withdrawals, any compounding frequency, after-tax and inflation-adjusted results.
Emergency Fund Calculator
Calculate emergency fund target and timeline to reach it from expenses and contributions. Enter months of coverage to see target amount and current gap.
Bucket Retirement Strategy Calculator
Split a retirement pot across three time-horizon buckets. Enter the total and a percentage for cash, bonds and equities to see the amount in each.
More Savings Calculators
Savings
Bucket Retirement Strategy Calculator
Split a retirement pot across three time-horizon buckets. Enter the total and a percentage for cash, bonds and equities to see the amount in each.
Savings
Bucket Strategy Calculator
Split a portfolio into cash, bond and growth buckets, and see how many years of spending each covers before growth assets have to be sold.
Savings
CD Calculator — Certificate of Deposit Growth
Project what a certificate of deposit is worth at maturity. Enter the deposit, nominal rate and term to see the balance, interest and effective yield.
Savings
CD Early Withdrawal Penalty Calculator
Work out the cost of leaving a fixed-term deposit early. Enter principal, rate and penalty months to see the penalty, interest earned and net amount.
Savings
College Savings Calculator
Calculate required monthly savings for future college costs using inflation-adjusted tuition and investment growth projections.
Savings
Portfolio Drawdown Calculator
See how long a portfolio lasts at a fixed annual withdrawal and a fixed expected return, and how far the answer moves with the rate.
Explore Other Financial Tools
B2B Insurance
Public Liability Insurance Calculator
Estimate an annual public liability insurance premium from your turnover, the cover limit you need, and a low, medium or high risk factor.
Crypto
Crypto Portfolio Calculator
Crypto portfolio calculator. Enter quantities and prices across multiple coins to see total value, allocation percentages, and concentration risk.
Productivity & Time-Value
Automation ROI Calculator
Calculate the ROI of an automation tool. Compare hours saved, hourly value, setup cost, and subscription fees to find break-even and annual savings.
Spotted something off?
Calculations or display — let us know.