A rational agent considers both accounting profit and economic profit. In this video, see an example highlighting the difference between accounting profit and economic profit from a business and a discussion of explicit and implicit costs of operating a business.
License: CC BY-NC-SA by Khan Academy