Opportunity Cost Calculator
Quantify what you give up when choosing one option over another. Use this calculator to evaluate business investments, career choices, or any decision with a trade-off.
About this calculator
Opportunity cost is the value of the next-best alternative you forgo when making a choice. It is a foundational concept in economics because every decision involves a trade-off — resources spent on one option cannot be used for another. The formula is: Opportunity Cost = valueAlternative − valueChosen. If the result is positive, your chosen option returned less value than the best alternative, representing a real economic loss even if you earned an accounting profit. If the result is zero or negative, your chosen option was at least as good as any alternative. Understanding opportunity cost helps individuals and businesses allocate resources more efficiently and avoid decisions that look profitable on paper but are economically inferior.
How to use
Imagine you invest $10,000 in a small business that earns $1,200 over a year (valueChosen = $1,200). Your best alternative was putting the money in an index fund projected to return $1,500 (valueAlternative = $1,500). Step 1: Identify the value of your chosen option: $1,200. Step 2: Identify the value of the best alternative: $1,500. Step 3: Apply the formula: $1,500 − $1,200 = $300. Your opportunity cost is $300 — you gave up $300 in potential returns by choosing the business over the index fund.
Frequently asked questions
What is the difference between opportunity cost and accounting cost?
Accounting costs are explicit, out-of-pocket expenses recorded in financial statements, such as wages, rent, and materials. Opportunity cost, by contrast, is implicit — it reflects the value of the best alternative sacrificed, which may never appear in any ledger. A business can show an accounting profit while still generating a negative economic profit if its opportunity costs exceed its earnings. This distinction is critical for making truly informed financial and strategic decisions.
How do you calculate the opportunity cost of going to college?
The opportunity cost of attending college includes not just tuition and fees, but also the salary you could have earned if you had worked full-time instead. For example, if college costs $20,000 per year and you could have earned $35,000 working, the annual opportunity cost is at least $55,000, plus the value of any other foregone activities. Over four years, this can easily exceed $200,000 before accounting for potential investment returns. Weighing this against the lifetime earnings premium of a degree is essential for a complete cost-benefit analysis.
When should you use opportunity cost in business decision-making?
Opportunity cost should be considered any time you are allocating scarce resources — money, time, personnel, or equipment. It is especially important when evaluating capital investments, hiring decisions, product line expansions, or whether to rent versus buy assets. Managers who ignore opportunity costs may continue funding underperforming projects simply because they are profitable in accounting terms, while forgoing superior alternatives. Incorporating opportunity cost into decision frameworks leads to better resource allocation and stronger long-run performance.