Answer: comparing the returns of two options.
Step-by-step explanation:
An investor calculates the opportunity cost by comparing the returns of two options. This can be done during the decision-making process by estimating future returns. Alternatively, the opportunity cost can be calculated with hindsight by comparing returns since the decision was made.