Activity-based costing (ABC) is a method of assigning overhead and indirect costs—such as salaries and utilities—to products and services. The ABC system of cost accounting is based on activities, which are considered any event, unit of work, or task with a specific goal.