Toolvito

Works on this device

Opportunity Cost Calculator

The opportunity cost of a choice is what you give up by not taking the next best choice. This page works it out in six ways: for a list of options, for money you spend now, for regular spending, in hours of work, and for two goods in an economics exercise. Every figure comes from the numbers you enter.

Enter your values

Lists the choices you could make with the same money. The opportunity cost of a choice is the net gain of the best other option.

Your values

Your own assumption. With a rate here, a second table shows every option in today's money.

Your options

One row for each choice you could make with the same money. The amounts are your own estimates. If doing nothing is a choice, add it as a row: pay 0 and get back 0.

More options

A label only. No amount is converted.

Your values are worked out in this browser. They are not sent to a server.

Your result will show here

Fill in the values, then choose Calculate.

How to use this calculator

  1. Choose what you want to work out. Compare options is the general form.
  2. Enter your own figures. A return or an inflation rate is your own assumption: the page has no built-in rate.
  3. Choose Calculate. You get the result, the working, a table and, for money over time, a chart.
  4. Try an example fills in sample rates so you can see how the page works. You can copy the result, print it or download it as a CSV file.

The formulas

  • Compare options: net gain = what you get back − what you pay now. The opportunity cost of a choice = the largest net gain among the other options.
  • Money spent now: value after n years = amount × (1 + return)^n. The growth you give up = that value − the amount.
  • Regular spending: spending for one year = amount each time × times a year. The spending of each year is counted as invested at the end of that year: value after n years = spending for one year × ((1 + return)^n − 1) ÷ return.
  • In today's money = value ÷ (1 + inflation)^years.
  • Hours of work = price ÷ take-home pay for one hour.
  • Two goods: between two points, the cost of 1 more unit of the first good = units of the second good given up ÷ units of the first good gained.
  • Producers: cost of 1 unit of the first good = most of the second good the producer can make ÷ most of the first good it can make. The producer with the lowest cost has the comparative advantage.
  • Money is worked out as exact fractions and rounded to 2 decimal places, half away from zero, when it is shown. Growth is compounded once a year.

Worked examples

Options. You have 5,000. A savings account would return 5,600 after 3 years, a course for work 7,500, and keeping the cash 5,000. The net gains are 600, 2,500 and 0. The best option is the course. Its opportunity cost is 600, the net gain of the savings account, so the course is 1,900 ahead of the next best option. With inflation of 2.5% a year, 7,500 in 3 years is 6,964.50 in today's money, and the net gain is 1,964.50.

Money spent now. 1,000 at a return of 5% a year is 1,000 × 1.05^10 = 1,628.89 after 10 years. The growth you give up is 628.89. With inflation of 2.5% a year, that value is 1,272.49 in today's money.

Regular spending. 4.50 every day is 4.50 × 365 = 1,642.50 a year, or 16,425 in 10 years. Invested at the end of each year at 5%, it would be 20,659.19.

Hours of work. A price of 250 at a take-home pay of 18 an hour is 250 ÷ 18 = 13.89 hours, which is 13 hours 53 minutes.

Two goods. A workshop can make 0 bikes and 100 loaves, or 10 bikes and 90 loaves. The first 10 bikes cost 10 loaves, so 1 bike costs 1 loaf. From 30 bikes and 40 loaves to 40 bikes and 0 loaves, 10 bikes cost 40 loaves, so 1 bike costs 4 loaves.

Producers. Country X can make 10 bikes or 20 units of bread: 1 bike costs it 2 bread. Country Y can make 6 bikes or 18 bread: 1 bike costs it 3 bread. Country X has the lower cost of bikes, and Country Y the lower cost of bread (1/3 of a bike against 1/2).

For an economics exercise

  • From a table or a graph: type the points in order, one mix of the two goods in each row. Read the points off the curve if you have a graph. The table shows the cost of one more unit at every step, and the page says if the cost stays the same, rises or falls.
  • Either one good or the other: when a producer can make either 40 of one good or 100 of the other, type two points: 40 and 0, then 0 and 100. Or use Two goods and several producers to compare producers.
  • A step shows "No trade-off" when one good does not fall while the other rises. No opportunity cost can be read from such a step.

Limits you should know

  • The return, the inflation rate and the amounts you get back are your own assumptions. The result is a projection from them. It is not a forecast and not financial advice.
  • A real return changes from year to year and can be below zero. The page uses one rate for every year.
  • Regular spending is counted at the end of each year, which gives a cautious figure. The amount each time stays the same in every year.
  • A year has 365 days, 260 working days, 52 weeks or 12 months for the count of times a year.
  • Hours of work use the take-home pay you enter. The page does not work out tax.
  • The economics forms follow the textbook model of two goods. They do not check that your points lie on one curve.
  • Money takes at most 2 decimal places and a rate at most 4. Time is in whole years, up to 100.

Related tools