Skip to content

Opportunity Cost Calculator: Spend or Invest?

What spending money now costs you in future wealth, in nominal and today's dollars

Calculator Details

Opportunity cost:$42,776See results ↓

Spending the money, or putting it in a lower-return option

One-time amount you spend now (e.g. the extra cost of a pricier car)

Recurring amount you spend instead of investing

Expected yearly return of the option you give up, compounded monthly

How long the money would have been invested

To show the result in today’s dollars (2% is the Bank of Canada and Fed target)

Your Results

Opportunity cost: $42,776

Opportunity cost

$42,776

What the money would be worth after 10 years at 6%

In today’s dollars

$35,091

After 2% inflation a year

Money put in

$28,000

Growth given up

$14,776

Investment growth on top of the money itself

Spending the money instead of investing it at 6% costs about $42,776 after 10 years ($35,091 in today’s dollars), of which $14,776 is lost growth.

Compare scenarios

Save these inputs as a scenario, change them, and compare the results side by side.

Loading, available in a moment

What the money would grow to

What the money would grow to

Detailed Breakdown

Opportunity cost year by year
YearPut inIf investedCostCost today
1$11,800$12,467$12,467$12,223
2$13,600$15,086$15,086$14,501
3$15,400$17,867$17,867$16,837
4$17,200$20,820$20,820$19,234
5$19,000$23,954$23,954$21,696
6$20,800$27,282$27,282$24,225
7$22,600$30,815$30,815$26,826
8$24,400$34,566$34,566$29,502
9$26,200$38,548$38,548$32,255
10$28,000$42,776$42,776$35,091

Balances at the end of each year; monthly amounts are invested at the end of each month and returns compound monthly.

How This Calculator Works

How the opportunity cost is calculated

FV = PV × (1 + i)ⁿ + PMT × ((1 + i)ⁿ − 1) ÷ i, with i = return ÷ 12

FV = $10,000.00 × (1 + 6% ÷ 12)^120 + $150.00 × … = $42,775.87

Today’s dollars = $42,775.87 ÷ (1 + 2%)^10 = $35,091.11

This is the same formula as Excel’s FV(rate/12, months, −monthly, −amount now). In economics, opportunity cost is the value of the best alternative you give up; for money, that alternative is usually investing it.

Frequently Asked Questions

What is opportunity cost?

The value of the best alternative you give up when you make a choice. Economists measure the cost of anything by what you must give up to get it. For money, the usual alternative is investing it, so the opportunity cost of spending $10,000 today is what that $10,000 would have grown to.

How do you calculate the opportunity cost of spending money?

Work out what the money would grow to if invested: future value = amount × (1 + return ÷ 12)^months, plus the same for each monthly amount. That future value is the opportunity cost. Subtract the amount itself to see how much of it is lost growth.

What is the opportunity cost formula in economics?

Opportunity cost = return of the best option not chosen − return of the option chosen. If an investment you passed up would earn 8% and the one you picked earns 4%, the opportunity cost is the 4-point difference, which compounds into a much larger dollar gap over time. Use compare mode for this.

What return should I use?

Use the return you would realistically earn on the alternative, after fees. A high-interest savings account or GIC might pay a few percent; a diversified stock portfolio has historically earned more over long periods but with large swings. Try a few rates to see how much the answer depends on it.

Why show the result in today’s dollars?

Because prices rise, a dollar in 20 years buys less than a dollar now. Dividing by (1 + inflation)^years converts the future amount into today’s purchasing power. The Bank of Canada and the US Federal Reserve both target 2% inflation, a reasonable long-run assumption.

What is tax drag?

The part of an investment’s return lost to tax each year when it is held in a taxable account. In a TFSA, RRSP, Roth IRA or 401(k), growth is sheltered and the drag is 0 while the money stays in the account. In a taxable account, enter an estimate in percentage points (for example 1 point on a 6% return).

Is opportunity cost only about money?

No. Time, effort and other resources have opportunity costs too: an hour spent on one task is an hour not spent on another. This calculator measures the money side; a purchase can still be worth it if what you get is worth more to you than the investment growth you give up.

Growth uses Excel's FV formula with monthly compounding and monthly amounts at the end of each month, at a steady return you choose. Real investment returns vary from year to year and can be negative. The calculator leaves out investment fees (lower the return to allow for them), the exact tax on each kind of income (use the tax drag as an estimate) and any value the thing you buy keeps or provides. It is for information only and is not financial advice.

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.

  1. Months: 10 × 12 = 120. Monthly return: 6% ÷ 12 = 0.5%.
  2. The $10,000 grows to $10,000 × 1.005¹²⁰ ≈ $18,194.
  3. The $150 a month grows to $150 × (1.005¹²⁰ − 1) ÷ 0.005 ≈ $24,581.
  4. Total: $42,775.87. That is the opportunity cost in 10 years' dollars.
  5. Money put in: $10,000 + $150 × 120 = $28,000, so $14,775.87 is growth given up.
  6. 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.

Spotted a wrong result or a bug? Report a problem

May we count your visits with Invoker Analytics? It keeps a random visitor number in your browser. Your calculator inputs are never sent. Privacy policy