Audited 05 Aug 2026·Last updated 28 Oct 2026·3 citations·Tier 2·0 uses

Opportunity Cost Calculator

Put a dollar figure on what a choice costs you: enter the benefit of the option you picked and of the best one you turned down to see the value forgone.

Opportunity Cost Calculator

$
$
Benefit forgone relative to chosen option
20,000.00
Dollars more that the best rejected option would have delivered than the one you chose; negative when your choice comes out ahead.

Background.

Every choice closes a door. Taking one job means turning down another; leaving savings in a current account means passing up the interest a savings account would have paid; spending a Saturday fixing the car means not spending it on paid work or with family. Opportunity cost is the name for what sits behind the closed door, and it is the cost people most often forget to count, because it never appears on a receipt or a bank statement.

Businesses meet it constantly. An owner who works full time in her own shop without drawing a salary may see a profit in the accounts, but if that profit is smaller than what she could earn working for someone else, the shop is leaving her worse off. Economists call that a negative economic profit, even when the accounting profit is positive. Cash tied up in slow-moving stock carries the same hidden charge: whatever it could have earned elsewhere.

Here the idea is reduced to one subtraction — the benefit of the best option you passed up, minus the benefit of the option you took. A positive answer is how many dollars better off the alternative would have left you. A negative answer means your choice was the stronger one on the numbers.

The subtraction is only as fair as the two figures fed into it. They need to cover the same stretch of time, be measured the same way (both net of their own costs, both after tax if tax treats them differently) and carry similar risk. Anything without a price tag, from job satisfaction to a shorter commute, stays out of the result, and that is often where the real decision gets made.

What is opportunity cost calculator?

Opportunity cost is the value of what you give up by choosing one course of action over another. Economics textbooks usually define it as the value of the next-best alternative you did not take. This page reports the incremental version used in many finance settings: how much more the best rejected option would have delivered than the one you chose. Only the single best alternative counts, not the sum of every option on the table, and the answer is in dollars over whatever period both benefits describe.

How to use this calculator.

  1. In Benefit from chosen option, enter the net dollar value of what you are doing or plan to do, after its own costs — for a job, the pay and benefits; for an investment, the expected return.
  2. In Benefit from best forgone option, enter the same measure for the single best alternative you are turning down, not a total of every alternative.
  3. Make the two figures comparable: the same time span, both before or both after tax, and, if the money arrives in different years, both converted to present value first.
  4. Read the result. A positive figure is what the choice costs you on paper; weigh it against what the numbers leave out, such as risk, time and how much you would enjoy each option.

The formula.

Opportunity cost=benefit of best alternative-benefit of chosen option

Opportunity cost = benefit of best alternative − benefit of chosen option. Both terms are dollar amounts over the same period. A positive result is the amount you sacrifice by your choice; zero means the options are tied on the numbers; a negative result means the chosen option beats the alternative by that amount, so nothing measurable is given up. The arithmetic is a single subtraction, and both inputs may be negative — useful when comparing two ways of losing money, such as two loss-making product lines. The real work lies in the inputs. Each benefit should be net of its own costs, after tax where tax treats the options differently, and adjusted for timing and risk: a guaranteed $90,000 and an uncertain $90,000 are not the same thing. Effects you cannot price, such as strategic position or personal preference, stay outside the figure.

A worked example.

Example

Suppose you hold two job offers: $70,000 a year at a firm ten minutes from home, and $90,000 a year with a long daily commute. You take the closer job. Enter $70,000 as the benefit of the chosen option and $90,000 as the best forgone option, and the page subtracts: 90,000 − 70,000 = $20,000. That $20,000 is the pay you give up each year for the shorter journey. If you would otherwise make that commute about 250 days a year, you are paying 20,000 ÷ 250 = $80 a day to avoid it — a concrete figure to set against the time and stress saved. Had the closer job paid $95,000 instead, the result would be −$5,000: the choice costs nothing on the numbers and comes out $5,000 ahead.

chosen Benefit70,000
best Alternative Benefit90,000

Frequently asked questions.

Is my opportunity cost the $20,000 gap or the whole $90,000 I turned down?
It depends on the definition. Economics textbooks treat the opportunity cost of a choice as the full value of the next-best alternative, here $90,000. This page reports the difference, $20,000, which is the extra you would have had by choosing the other way. The difference is usually the more useful number when you are deciding between two options.
Should money I have already spent count in the comparison?
No. Money that is gone whichever way you decide — a non-refundable deposit, a course you have already paid for — is a sunk cost and should not influence the choice. Enter only future benefits and costs that differ between the two options.
How do I compare options that pay out in different years?
Convert both to present value first. At a 5% discount rate, $90,000 received five years from now is worth about $70,517 today, barely more than a $70,000 alternative paid now. Comparing the raw totals would show a $20,000 gap where the real one is about $517.
Can I use this for time spent on chores or DIY?
Yes, once you price the time. If ten hours of DIY saves a $300 tradesperson's fee but you could have earned $40 an hour freelancing, the benefit of the forgone option is $400 and the chosen option $300, giving an opportunity cost of $100 for doing the job yourself.
What does a negative opportunity cost tell me?
That the option you chose delivers more than the alternative you entered, so on the numbers you gave up nothing. Before relying on it, check whether there is an even better option you have not considered; the comparison is only as good as the alternative you put in.
Can I compare a guaranteed savings rate with expected stock returns?
Only with care. Part of the stock market's higher expected return is payment for bearing the risk of losses, so the raw gap between the two overstates what a cautious saver really gives up. Compare options of similar risk, or adjust the riskier one before entering it.

How this page was produced

Published by
Quanta Calculator
Primary sources
3 cited below
Method
Opportunity cost=benefit of best alternative-benefit of chosen option
Published
Last verified

Built with AI assistance and verified by automated tests against the cited sources — every worked example on this page is computed by the same code that runs the calculator. How we build and check calculators.

Embed

Quanta Pro

Paid features are coming later.

  • All 1560 calculators remain free
  • No billing is enabled
Coming soon