The opportunity cost is the next best alternative that was forgone.
Step 1: Identify the choice made.
The government chose to spend its entire $20 million budget on building a new community sports centre.
Step 2: Identify the alternative forgone.
The alternative was to resurface local roads.
Step 3: Calculate the value of the alternative.
The budget available is 20,000,000.
The cost to resurface one kilometre of road is 500,000.
Number of km that could be resurfaced = Total Budget / Cost per km
Calculation: 20,000,000/500,000 per km = 40 km.
Step 4: State the opportunity cost.
The opportunity cost of building the sports centre is the 40 km of resurfaced roads that the community must now go without. It is the specific service forgone, not just the monetary value.