Cost accounting is the process of tracking, recording and analyzing costs associated with the products or activities of an organization. In modern accounting, costs are measured in accordance with Generally Accepted Accounting Principles (GAAP).