How to Calculate Opportunity Cost: Doing the Math on One Weekend

October 4, 2026 · By Taylor Yang

How to calculate opportunity cost using a complete example covering freelance work, study, and rest, separating the forgone best alternative, the earnings gap, sunk costs, and value that will not convert into money.

Opportunity cost is the value of the best feasible alternative you give up for a choice. First work out what you could realistically have done, then do the math. Otherwise you pile every benefit you did not take onto the choice in front of you.

The example below uses one complete hypothetical case. The quotes, fees, and timings are teaching assumptions, not real freelance market rates, and they are not an income promise.

Start by fixing what this decision is actually about

Suppose you have only four hours on Saturday afternoon, including the work itself and travel time. There are three genuinely available options: A is doing layout work for a client you know, B is helping at an event where you already have a confirmed slot, and C is staying home to rest. All three occupy the same block of time, so you can only pick one this time.

Do not add “maybe I could land a well-paid hourly gig” straight into the alternatives. Without a client, a slot, or an executable arrangement, that is only an imagined opportunity. You can keep a separate “to be confirmed” column, but for now you cannot use it to price the current choice.

For the definition, see OpenStax Principles of Economics on choices and opportunity cost. The numbers and worksheet below are original teaching examples designed for this article.

One sum of money has to be compared on one basis

Start by comparing only the net cash of the two freelance options, A and B, assuming differences in tax, payment risk, fatigue, and other factors are the same.

  1. Option A: revenue of 300 yuan, extra costs of 60 yuan, net cash of 240 yuan.
  2. Option B: revenue of 400 yuan, extra costs of 40 yuan, net cash of 360 yuan.
  3. If you choose A, the B you forgo is worth 360 yuan under this narrow definition. So the opportunity cost is recorded as 360 yuan; the 120 yuan you get less than with B is the earnings gap between the two options.

Here you have to keep two questions apart: “what is the forgone alternative worth” and “how much less do I get than with that alternative.” The first is 360 yuan, the second is 360 − 240 = 120 yuan. Writing only one “opportunity cost formula” without saying which quantity is being calculated makes readers misunderstand easily.

Do not also subtract A’s 60 yuan cost a second time: the 240 yuan already has it deducted. If the quote is before tax, includes material costs, or carries a risk of not getting paid, first put everything on the same basis, then compare.

Add rest and study, and you may not get a number at all

Now put option C back in. Suppose you were short on sleep this week, resting in the afternoon helps you recover, and both A and B keep draining you. Then you cannot conclude B must be best just because 360 is greater than 240.

You can fill in three columns for each option: the net cash you can get, the help it gives your current goal, and the time and energy you have to put in. Money can be compared in yuan; recovery, companionship, or learning value, if you have no reliable basis for converting them, should just be written out plainly. There is no need to invent a figure like “rest is worth 500 yuan.”

If you end up choosing A while the alternative you most wanted was actually rest, then the opportunity cost is first the value of the rest you gave up. The 360 yuan from the previous section applies only within the scope of “comparing the net cash of two freelance options,” and it does not automatically represent your entire trade-off.

Likewise, the opportunity cost of a course is not the course price. The course fee is money you have to pay; the best alternative you give up by spending those four hours is a separate part of the calculation. Whether the fee is refundable, and whether the course can be rescheduled, also change the decision.

Money already spent: which parts still affect today?

Suppose you previously bought an 80-yuan event ticket. If it cannot be refunded whether you go or not, and it has no transfer value, then those 80 yuan can no longer be changed by the current choice. When comparing “do I go or not,” do not choose to go just because “the money is already spent.”

If 20 yuan can be refunded, the situation differs: the 20 yuan you can recover by not going is money the current decision still affects. If you have already counted it in the benefits of “not going,” do not add it again somewhere else.

This does not mean past investment does not matter. You can use it to review how you decided at the time, but keep “evaluating a past decision” separate from “choosing what to do next.” When you need to record changes like this, you can use the work review prompt.

Write your own choice in five lines

Next time a freelance job, a class, time with people, or rest conflicts, you can fill in these five lines before deciding.

  1. What I am deciding, with the shared time window: what to do with the four hours on Saturday afternoon.
  2. The genuinely feasible options: list the choices you have confirmed you can execute, and their limits.
  3. The net benefit and non-monetary value of each option: write money, energy, relationships, and learning separately.
  4. If I do not pick the current option, what would I most likely pick: choose only the best alternative, do not add up the benefits of every other option.
  5. Which assumption, if it changed, would make me switch: for example payment terms, physical condition, a deadline, or the possibility of rescheduling.

When the decision is done, leave one sentence behind: “I chose what, I gave up what, mainly because of which judgment.” Checking that judgment against real results afterwards reduces second-guessing; it does not require you to pick the highest-income option every time.

If you find that four hours keep getting overestimated, you can first use the focus timer to record one or two real timings. For why the sense of time differs across work, games, and rest, keep reading How We Perceive Time in Work, Discipline, and Games.

Two common mistakes

“Is the opportunity cost of choosing A equal to the sum of the benefits of B, C, and D?” No. Among options that are mutually exclusive in the same time block, you cannot have all the alternatives at once; you need to identify the best feasible alternative.

“If the outcome later turned out badly, does that mean I chose wrong at the time?” Not necessarily. First check the information, feasible options, and your goal as they were at the time, then separate a misjudgment from changes that only happened later. Opportunity cost helps describe trade-offs; it does not turn an uncertain result into a guarantee.