The main function of cost accounting is cost accumulation and allocation to determine cost values. Managerial accounting, on the other hand, provides information (including cost information) to the members of the management for decision-making purposes.