Skip to content
FinToolSuite
Updated 2026-09-07 · Savings · Educational use only ·
Privacy

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

Formula Used
Starting amount, held either as cash or invested
Annual cash interest rate, broadly known in advance
Assumed annual investment return; an expectation rather than a fixed rate
Number of years both sides are compounded over

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.

Example Scenario

Over 20 years, $50,000 at 7% instead of 3% cash differs by $103,178.66.

Inputs

Amount:$50,000
Cash Rate:3%
Investment Return:7%
Horizon:20
Expected Result$103,178.66
Expected Result breakdown
Cash Value$90,305.56
Investment Value$193,484.22
Return Gap4.00%
Years20

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?
The calculator answers a narrower question than that one: what the assumed rate difference comes to over the period entered. At the defaults it is 103,178.66 across twenty years. Whether that gap is worth having depends on things the arithmetic cannot see, chiefly whether the money might be needed before the horizon ends and whether a fall in the balance partway through would force a sale. Over short periods the gap is small and the uncertainty is proportionally large; over long ones the reverse. The figure is one input to that judgement rather than a conclusion.
How much cash is appropriate to hold?
That depends on circumstances the tool has no view of: income stability, dependants, notice periods, insurance cover, and what a short-notice expense would actually cost. What the calculation does show is the price of holding cash for a long time, which is one of the inputs to the decision rather than the whole of it. Running the calculation over a horizon that matches the money's actual purpose, rather than a default twenty years, gives a figure that fits the situation being weighed.
Does inflation change things?
Substantially, and on both sides. Neither figure here is inflation-adjusted, so both overstate purchasing power. At the defaults, if inflation also runs at 3%, the cash total of 90,305.56 after twenty years is worth exactly the 50,000 that went in, a real return of zero. The investment total would be worth roughly 107,100 in today's terms, making the real gap about 57,100 rather than the nominal 103,178.66. The nominal figure is the larger number, and the real one is the meaningful one.
What about tax-advantaged accounts?
They alter both sides of the comparison rather than one, and the rules differ by country and by account type. Interest on cash and gains on investments are frequently taxed under separate regimes and at separate rates, so an after-tax comparison can differ from the nominal one in either direction. Since the calculation here is entirely pre-tax, the local treatment of each is what determines whether the gap shown overstates or understates the position, and that comes from a qualified professional rather than from a general rule.

Related Calculators

More Savings Calculators

Explore Other Financial Tools

Spotted something off?

Calculations or display — let us know.