Economic profit is the difference between total revenue and total costs, including both explicit costs (direct monetary expenses) and implicit costs (opportunity costs of foregone alternatives). This concept is crucial for understanding how firms make decisions about resource allocation, production levels, and market competition. By considering opportunity costs, economic profit provides a more comprehensive view of a firm's profitability than accounting profit alone.