Updated 14 June 2026 · Runs entirely in your browser
Opportunity cost is the value of the next-best alternative you give up when you make a choice. Compute the net value of each option — benefit minus explicit costs, hidden costs, time, and risk — then subtract: the opportunity cost of choosing A is the net value of B minus the net value of A.
One alternative you give up, not every option you turned down
Opportunity cost is the value of the single next-best alternative you give up when you make a choice — money, income, investment return, time, or other benefits. It is never the sum of everything you rejected, so compare your chosen option against one strong alternative at a time, and re-run it with a different Choice B if a second contender matters.
What you give up need not be money: income, returns, time and flexibility all enter as their dollar value, and the optional decision-support scores sit alongside that figure rather than inside it.
This is also not the textbook trade-off between two goods. A production-possibility frontier measures units of good A given up per unit of good B produced; this tool compares two choices by dollar value, not physical quantities on a curve. If you can price both goods, enter each option’s value as its benefit and the same subtraction still applies.
Two net values in, one subtraction out, and the sign carries the verdict
Each option’s net value is its expected benefit minus explicit costs (visible cash payments), implicit costs (value given up without a cash payment, like foregone income or foregone investment return), the value of your time, and a risk adjustment for uncertain benefits. Then subtract once: the opportunity cost of choosing A is the net value of B minus the net value of A. Positive means you are giving up value by picking A; negative means your choice already beats the alternative.
Opportunity cost
OC of choosing A = Net Value of B − Net Value of A
Positive = value given up; negative = your choice looks better.
Net value
Net = Expected Benefit − Explicit − Implicit − Time − Risk
Separates cash cost from hidden economic cost.
Expected benefit
Expected Benefit = Potential Benefit × Probability
Risk-adjusts uncertain upside.
Implicit cost
Implicit = Foregone Income + Foregone Return + Other
Value given up without a cash payment.
Why a $100,000 business idea loses to a $60,000 salary
Choice A — stable job: $60,000 salary, no explicit or implicit costs. Net Value A = $60,000.
Choice B — start a business: $100,000 potential revenue at a 90% probability of success (expected benefit $90,000), $10,000 setup cost (explicit), and the $60,000 salary given up to do it full-time (implicit). Net Value B = 90,000 − 10,000 − 60,000 = $20,000.
Opportunity cost of choosing the business over the job = Net Value A − Net Value B = 60,000 − 20,000 = $40,000 — that is the value given up by choosing the riskier, lower-expected-value option, even though the business looks appealing on revenue alone.
Accounting-profitable and still the wrong use of the money
An explicit cost is a visible cash payment. Opportunity cost is broader: it is the value of the best alternative given up, which includes the implicit, non-cash costs — foregone income, foregone return, and time. Accounting cost counts only the explicit half, which is why accounting profit subtracts explicit costs alone while economic profit also subtracts the opportunity costs, and is usually the lower of the two.
That gap is the rule this page exists to enforce: a venture can be accounting-profitable and still be giving up a better use of the same resources. If the tool returns a positive opportunity cost for the option you are already running, the bank balance is rising and the decision is still the wrong one.
When conservative and optimistic pick different winners
Run conservative, base, and optimistic before committing. If the same choice wins all three, the decision is stable. If the winner changes between them, the comparison is assumption-sensitive — small changes in your estimates flip it — so treat the two options as tied on money and decide on the factors the numbers never held: risk tolerance and reversibility.
The comparison is only as good as the estimates you enter, and those are point-in-time: it does not update as salaries, returns, or prices change, so re-run it when they do. Risk is simplified to a single probability of success and a risk discount per option, which cannot capture the full range or timing of outcomes.
What to enter for a 401(k) loan, med school, or an hour of screen time
None of these needs a dedicated mode; each is two columns of benefit and cost. For a 401(k) loan, the foregone investment return on the borrowed amount is the implicit cost. For buying Bitcoin instead of something else, your assumed return is the foregone-return input. For med school, tuition is an explicit cost and the years of forgone income an implicit one, set against the higher eventual salary. A car down payment works the same way.
Hours only enter at a rate you set: the time-value input converts them into a dollar cost at your hourly wage, or any rate you choose, so an evening of screen time can be weighed against the money or the opportunity given up doing it. INR, EUR, GBP, CAD, AUD, SGD, and AED are built in alongside USD, or set a custom symbol for any other currency.
One decision belongs elsewhere: for housing, the Mortgage Calculator has a dedicated rent-vs-buy tool that accounts for appreciation, selling costs, and maintenance. Use this page for the simpler side-by-side — a down payment’s foregone investment return against rent — or for any two-choice decision that is not housing-specific.
Taxes, enjoyment, and the figures this page never fetches
Two limitations sit outside the arithmetic entirely. Taxes are not modelled, and after-tax income or returns can change which option wins — if the two choices are taxed differently, convert both to after-tax figures before entering them. Non-monetary factors are not in the net value either: enjoyment, stress, health, and relationships stay outside the numbers unless you rate them in the optional decision-support scores.
The page also fetches nothing on your behalf. It does not track a market return, a salary, or PPF’s current government-set rate for you, so enter the rate in effect for your own investment — PPF’s fixed rate as one choice’s return, equity or another fund as the other — and the calculator compares the net value of each.
Related calculators
This page answers “what am I giving up by choosing this?” — these tools take the neighbouring decisions:
Comparative AdvantageFind comparative and absolute advantage between two producers and two goods, plus the mutually beneficial trade range.
Diminishing ReturnsTurn input-output data into total, marginal, and average product and find the point of diminishing returns.
Market EquilibriumSolve equilibrium price and quantity from linear demand and supply, with surplus, a shift simulator, and tax incidence.
Marginal UtilityTurn a utility table into total and marginal utility and utility per dollar, and find the satiation point.
Break-EvenFind units and revenue break-even, contribution margin, target profit, and margin of safety, with sensitivity tables and a chart.
ROISimple, date-based, and net ROI with annualised ROI (CAGR), a reverse target solver, and a two-investment comparison.
InvestmentProject lump-sum and regular-contribution growth, plan a goal, and solve future vs present value, with fees and inflation.
Debt Payoff vs InvestingCompare ending net worth from paying extra toward a debt first against investing that money instead.
Net WorthBuild a personal balance sheet — quick or 78-line detailed — with liquid and tangible net worth and debt analysis.
BudgetBuild a monthly and annual budget in simple or 65-line advanced mode, with savings rate, ratios, and a health score.
There is no dedicated opportunity-cost guide yet. The sections above cover explicit vs implicit cost and accounting vs economic profit in full.
Sources and methodology
Every number in the comparison above is an estimate you entered - this page fetches no salaries, investment returns, prices or tax rates. Opportunity cost is an economic definition taught in the references below, not a rate or rule set by any government or regulator, and the risk adjustment is a simple probability weighting rather than a recognised valuation standard. Links open in a new tab.
This calculator is for educational and planning purposes only. It does not provide financial, investment, business, legal, or tax advice. Results are estimates based on the assumptions you enter — review important decisions with a qualified professional. Educational explanation follows the standard opportunity-cost and economic-profit definitions as set out in the sources listed on this page.
Inputs are processed in your browser and never stored.
How to Calculate Opportunity Cost: Beyond What You Spend
Opportunity cost is what you give up, not just what you spend. Worked through a job-vs-freelance example, with expected value, risk, and net value explained.