What Is Opportunity Cost?
Opportunity cost represents the financial benefit you forgo when choosing one option over another. In practical terms, if you spend £10,000 on a holiday today, the opportunity cost is the investment returns that £10,000 could have generated over the next five years at a given interest rate.
The concept applies broadly to personal finance decisions. Should you buy a car now or invest that capital? Should you take a sabbatical or stay employed? The calculator specifically measures the opportunity cost of spending money on a non-investment purchase—such as consumer goods or services—compared to investing it at a fixed rate.
Unlike simple interest calculations, this tool accounts for three critical variables that affect real purchasing power:
- Compound interest: Monthly compounding means earned interest generates its own returns
- Taxes: Capital gains tax reduces your net investment proceeds
- Inflation: Rising prices erode the real value of your future savings
The Opportunity Cost Formula
The calculation involves four linked equations that determine how much wealth you sacrifice by spending rather than investing. Each variable depends on earlier results, reflecting the cascading impact of compound growth, taxation, and inflation.
Foregone Investment Earnings = Principal × ((1 + Annual Return ÷ 1200)^(Years × 12)) − Principal
Tax on Capital Gains = Foregone Investment Earnings × (Tax Rate ÷ 100)
Net Investment Gains = Foregone Investment Earnings − Tax on Capital Gains
Total Savings After Tax = Principal + Net Investment Gains
Inflation-Adjusted Opportunity Cost = Total Savings × ((1 − Inflation Rate ÷ 100)^Years)
Principal (Unncost)— The amount of money you would spend on a non-investment purchase todayAnnual Return (Ret)— The yearly interest rate your investment would earn, expressed as a percentageYears— The length of the investment period in whole yearsTax Rate (Inctax)— Your marginal income tax rate applied to capital gains as a percentageInflation Rate (Infl)— The average annual rate at which consumer prices increase, as a percentage
How to Use the Calculator
The calculator requires five core inputs to compute opportunity cost. Gathering accurate figures ensures your results reflect realistic financial outcomes:
- Spending amount: Enter the exact sum you're considering spending on a consumer purchase or service
- Expected annual return: Use historical market returns (stocks ~7%, bonds ~4%, savings accounts ~0.5%) or your guaranteed rate if investing in fixed-income instruments
- Investment period: Specify how many years you would otherwise hold the investment before touching the funds
- Capital gains tax rate: Check your jurisdiction's rules; UK residents typically face 20% on investment gains above the annual exemption, while US rates vary by income bracket from 0% to 20%
- Inflation assumption: Use current central bank targets (often 2–3%) or historical averages for your country
Once you input these values, supplementary metrics appear below: your nominal gains before inflation adjustment, tax owed, and the intermediate calculation steps. These breakdowns reveal where your investment returns are consumed by taxes and eroded by rising prices.
Understanding the Results
The calculator presents several output metrics, each answering a different question about your trade-off:
- Nominal opportunity cost: The raw difference between your invested capital and what it grows to, ignoring taxes and inflation. This is the gross earning potential.
- Tax burden on gains: The portion of your returns surrendered to capital gains tax. A £1,000 gain with 20% taxation costs £200 in taxes.
- Inflation-adjusted opportunity cost: The final figure—what your investment would actually be worth in today's purchasing power. This is the most economically meaningful number because it accounts for your money being worth less in the future.
- Real interest earned: The difference between inflation-adjusted savings and your principal, showing your genuine wealth gain after all reductions
If the inflation-adjusted opportunity cost is negative, spending today made better financial sense than investing under those assumptions.
Key Assumptions and Pitfalls
The calculator rests on several simplifying assumptions that may not match your exact situation.
- Monthly compounding may differ from your actual investment — Most savings accounts compound daily, while bonds often pay semi-annual coupons and stocks don't compound at all—you must reinvest dividends manually. If your actual compounding frequency differs significantly, recalculate with an adjusted annual rate to match reality.
- Taxes don't always apply at the end of a single lump sum — The model assumes you pay all capital gains tax in year one after the investment period ends. In reality, ongoing accounts trigger annual tax liabilities, and holding periods exceeding one year may qualify for preferential rates. Consult a tax professional for your jurisdiction.
- Inflation erodes all money, including the principal — The calculator treats your original spending amount as a fixed baseline, but that £10,000 today buys less next year. The real opportunity cost is not what you could have earned, but what that earning power means in future spending terms.
- Opportunity cost ignores non-financial factors — Buying a car today gives you transport now; delaying gratification while investing offers no present benefit beyond future wealth. The calculator cannot weigh utility, quality-of-life impacts, or the possibility that prices might fall, making patience unrewarded.