The opportunity cost of something is the highest valued alternatives given to get it.
example :I spent that time on my business work instead of going out with my friends or hanging out from which I would get profit later and a peace of mind would come from it.