Opportunity Cost Calculator: What Spending Money Really Costs
By FindMySum · Last reviewed
Every spending decision has a hidden price: the money can't also be invested. This opportunity cost calculator puts a number on that price. Enter what you're spending now and each month, the return you would otherwise earn and how long you'd invest, and it shows what the money would grow to, how much of that is lost growth, and what it's worth in today's dollars.
What opportunity cost means
Economists define the opportunity cost of a choice as the value of the best alternative you give up. OpenStax's Principles of Economics puts it simply: the cost of something is what you must give up to get it. Time, effort and attention all have opportunity costs, but money makes it easy to measure, because the obvious alternative to spending money is investing it.
There are two common ways to apply this:
- Spend versus invest. If you spend $10,000 on an upgrade, the opportunity cost is not $10,000 but the value that money would reach if invested.
- One investment versus another. If you leave savings in an account paying 2% instead of a portfolio you expect to earn 6%, the opportunity cost is the difference between where the two would end up. The textbook formula is the return on the best option forgone minus the return on the option chosen.
The calculator has a mode for each.
The formula
Growth is calculated with the future value formula, the same one Excel's FV function uses:
FV = PV × (1 + i)ⁿ + PMT × ((1 + i)ⁿ − 1) ÷ i
where PV is the amount spent now, PMT the monthly amount, i the yearly return divided by 12, and n the number of months. Monthly amounts are invested at the end of each month and returns compound monthly.
In compare mode, the calculator runs the formula twice, once at each return, and the opportunity cost is the difference.
To turn a future amount into today's dollars, it divides by (1 + inflation) raised to the number of years. With inflation at 2%, a dollar in 10 years buys about 82 cents' worth of today's goods.
A worked example
The calculator starts with a common choice: spending $10,000 more on a car now, plus $150 a month more in running costs, instead of investing both at 6% for 10 years.
- Months: 10 × 12 = 120. Monthly return: 6% ÷ 12 = 0.5%.
- The $10,000 grows to $10,000 × 1.005¹²⁰ ≈ $18,194.
- The $150 a month grows to $150 × (1.005¹²⁰ − 1) ÷ 0.005 ≈ $24,581.
- Total: $42,775.87. That is the opportunity cost in 10 years' dollars.
- Money put in: $10,000 + $150 × 120 = $28,000, so $14,775.87 is growth given up.
- In today's dollars at 2% inflation: $42,775.87 ÷ 1.02¹⁰ = $35,091.11.
Excel gives the same future value with =FV(6%/12, 120, -150, -10000).
Using compare mode
Compare mode answers questions like "what does it cost me to keep my savings in a 2% account instead of investing it?" or "how much does a 1% fee cost over 20 years?". Enter the higher return as the return if invested and the lower one as the return of your choice. With $5,000 now and $300 a month for 20 years, 8% grows to about $201,340 and 4% to about $121,145: a difference of about $80,195, or roughly $53,969 in today's dollars.
The same mode shows the cost of fees. A fund charging 1% more than an alternative is, in effect, a lower return; compare the two net returns over your investing horizon.
Tax drag and registered accounts
Investment growth in a taxable account is reduced by tax on interest, dividends and capital gains along the way. The advanced tax drag setting subtracts that from the return in percentage points. Inside a TFSA, RRSP, FHSA, Roth IRA or 401(k), growth isn't taxed while it stays in the account, so leave the drag at 0. RRSP and traditional 401(k) withdrawals are taxed later, which this calculator does not model.
Reading the result sensibly
Opportunity cost is a way to see a trade-off, not a verdict. A purchase that improves your life, saves time or earns money (a reliable car for a job, a course that raises your pay) can be worth far more than its opportunity cost. The number is most useful for repeat decisions where small amounts add up, like a higher monthly payment, a subscription you don't use, or cash sitting idle.
The return you choose matters more than anything else. A steady 6% a year is an assumption for planning, not a promise: actual returns vary, and stocks can fall for years at a time. Try a cautious and an optimistic rate, save each as a scenario, and compare the range.
For more on how money grows, see the compound interest calculator; to measure what an investment actually earned, use the investment return calculator; and for big housing or car choices, the rent vs buy and lease vs buy calculators compare the full cost of each path.
More questions
Is the opportunity cost of a car just its price?
No. The opportunity cost of the extra money is what it would have grown to, but the car also keeps some resale value and gives you transport. A fair comparison sets the more expensive car against the cheaper one: the price difference, the difference in monthly costs and the difference in resale value.
Should I pay off debt or invest?
Paying off a debt earns a guaranteed return equal to its interest rate. If your credit card charges 20%, paying it off beats almost any investment. For a low-rate mortgage the answer is closer, and many people do both. Compare mode can show the gap between the two returns.
Why does a small monthly amount add up to so much?
Each monthly amount compounds for the rest of the period, and the early ones compound the longest. $150 a month for 10 years is $18,000 of money, but at 6% a year it grows to about $24,600, and over 30 years to roughly $150,000.
Does the calculator include investment fees?
Not separately. Lower the expected return by your fees: a fund with a 1% management expense ratio on a 7% gross return leaves about 6%. Over decades a one-point fee difference makes a large difference to the result.
What if returns are not steady?
Real returns jump around, and a bad decade at the start or end changes the outcome. The steady rate is an average for planning. Try a lower rate as a cautious case and a higher one as an optimistic case, and save both in scenario compare.
Sources
This article explains how the calculator works and is general information, not financial, tax, legal or medical advice. Rules change; check the sources above or a qualified professional before you act.