Economic profit is the difference between a firm's total revenue and its total economic costs, which include both explicit costs (out-of-pocket expenses) and implicit costs (opportunity costs of the firm's own resources). It represents the firm's net gain after accounting for all costs, including the opportunity cost of the owner's time and capital invested in the business.