Skip to content

What is opportunity cost, with an example

Opportunity cost is the value of the next best alternative that is given up when a choice is made. It measures what you sacrifice, in terms of money, time, or utility, by selecting one option over another.

Economics · Scarcity and choice


Opportunity cost captures the trade‑off inherent in every decision because resources such as time, money, and labor are scarce. When you allocate a resource to one activity, you forfeit the benefits you could have obtained from the best alternative use of that same resource. Economists use this concept to compare options and to ensure that scarce resources generate the highest possible net benefit.

Worked Example: Choosing a Summer Job

Imagine a college sophomore who can either work a summer job that pays $4,000 or enroll in a short‑term certification course that costs $3,000 but improves future earnings by an estimated $2,500. If the student chooses the certification, the explicit monetary outlay is $3,000, but the opportunity cost includes the $4,000 foregone salary plus any leisure time lost. The net benefit of the course is therefore $2,500 (future gain) minus $4,000 (foregone wage) = $1,500-\$1,500, indicating that, purely in monetary terms, the job was the better choice.

Understanding opportunity cost helps individuals allocate limited time and money to activities that generate the greatest overall satisfaction. Firms use the same logic to decide whether to invest in new machinery, launch a product, or hire additional staff, comparing the expected profit of each option against the next best use of capital. By internalizing opportunity cost, decision‑makers avoid hidden losses and can justify choices that appear costly in the short run but yield higher net returns over time.

Key points to remember about opportunity cost

  • The next best alternative, not all alternatives, defines the cost.
  • Opportunity cost can be expressed in money, time, or utility.
  • It is forward‑looking; it reflects future benefits you give up.

How to calculate opportunity cost in any decision

  1. 1Identify all feasible alternatives.
  2. 2Rank them by the benefit they would provide.
  3. 3Take the benefit of the highest‑ranked alternative that is not chosen; that is the opportunity cost.

Opportunity Cost Comparison for Two Activities

ActivityForegone Benefit
Summer job ($4,000 wage)Certification course benefit $2,500
Certification course ($3,000 cost)Summer job wage $4,000

Check yourself

If you spend $5,000 on a college course, what is the opportunity cost if the next best alternative is a paid internship that would earn $4,500?

Get this as a lesson built for you

Describe what you are studying and Lernex writes the lesson and the questions around it. Free, and it takes about a minute.

Try it

No account needed to try it.

What people ask next