Investing

What Is Cost Accounting? Cost Types and a Worked Example

What is cost accounting? Learn how businesses trace and allocate costs, separate fixed from direct costs, and calculate unit costs without hiding assumptions.

Two unequal production batches sharing an overhead pool through different machine-hour allocations

Information checked November 8, 2026. Examples are hypothetical managerial calculations in US dollars, not tax guidance or a statement of US financial-reporting requirements.

What is cost accounting? It is the process of measuring, assigning, and analyzing the costs of producing goods, delivering services, or running an activity. Managers use it to understand where resources go, compare alternatives, and investigate profitability. A useful result shows both the cost and the assumptions used to assign it.

The Open University’s cost-classification course identifies pricing, product profitability, and cost management as reasons businesses need product-cost information. The principles apply to services as well as physical products. They do not turn an estimated unit cost into a guaranteed selling price or profit.

Start by defining the cost object

A cost object is whatever you want to measure: a product, project, department, customer engagement, or service. Define it before labeling costs.

For example, a designer’s time may be directly traceable to one client project. The same person’s salary may be shared overhead when the object is each individual customer-support request. What matters is the relationship between the resource and the chosen object, not whether the expense sounds like “labor” or “administration.”

Microsoft’s cost-accounting terminology lists products, projects, departments, and cost centers as examples. It distinguishes direct posting from allocation and describes allocation bases such as machine hours, electricity use, and occupied space. This is vendor documentation for terminology, not independent proof that any particular software improves profits.

Fixed and variable are not direct and indirect

These classifications answer different questions:

  • Fixed or variable: How does the total cost behave when activity changes within a specified period and relevant range?
  • Direct or indirect: Can the cost be traced to the chosen object, or must a shared amount be allocated?

The Open University explicitly identifies all four combinations. Here are hypothetical examples with the cost object stated:

Cost object and expense Behavior Traceability
One product’s measured materials Variable Direct
One line’s dedicated monthly lease Fixed Direct
Products sharing plant-metered power Variable Indirect
Products sharing factory rent Fixed Indirect

Actual contracts and measurement systems can change these classifications. A utility bill may include a fixed service fee plus a usage charge: a mixed, or semi-variable, cost. A fixed cost is not fixed forever; expanding beyond current capacity can change the total.

Keeping both dimensions visible is the most useful first step in answering what is cost accounting without confusing cost behavior with bookkeeping labels.

A worked allocation with unequal batches

Suppose a small manufacturer makes two products in one month. Assume all relevant manufacturing costs are included below, with no opening or closing work in progress, scrap, or inventory differences to reconcile. This is an internal model, not a complete set of financial statements.

  • Product A: 120 units; $3,840 directly traced materials and labor; 90 machine hours.
  • Product B: 180 units; $4,860 directly traced materials and labor; 270 machine hours.
  • Shared manufacturing overhead: $7,200 for the month.

Assume machine hours are a reasonable allocation base for this pool. Total use is 360 hours, so the overhead rate is $7,200 ÷ 360 = $20 per machine hour.

Calculation Product A Product B
Traced costs $3,840 $4,860
Allocated overhead $1,800 $5,400
Total assigned cost $5,640 $10,260
Cost per unit $47 $57

The checks matter: $1,800 + $5,400 equals the $7,200 pool, and $5,640 + $10,260 equals the $15,900 total manufacturing cost. Nothing has disappeared or been counted twice.

If units produced were used instead, the rate would be $7,200 ÷ 300 = $24 per unit. A would receive $2,880 overhead and show $56 per unit; B would receive $4,320 and show $51 per unit. The company’s total costs would be unchanged, but the product comparison would reverse.

That does not prove machine hours are always better. It shows why an allocation base needs an operational explanation. Ask which activities actually drive the shared costs, rather than choosing the method that makes a favorite product look profitable.

Choose a method to answer the decision

The Open University distinguishes absorption from marginal costing. Absorption costing assigns fixed and variable manufacturing costs to output. Marginal costing separates variable costs from fixed period costs for its analysis. Different questions can therefore require different cost views.

For a short-run extra order, ask what costs and capacity would change. The $47 assigned cost of A does not establish its incremental cost: this example does not identify how much of its labor or overhead is avoidable. Conversely, ignoring fixed capacity costs forever would understate what the business needs to sustain operations.

For recurring pricing decisions, examine demand, competitors, service obligations, and capacity as well as costs. A worksheet cannot establish what customers will pay. For control decisions, compare actual spending and activity with an explicit budget or standard and investigate the difference.

Internal cost analysis also differs from inventory cost-flow assumptions. Our FIFO and LIFO guide explains how assigning purchase costs to sold and unsold inventory affects reported gross profit. Do not treat this managerial allocation exercise as a US tax election or an external-reporting policy.

Conclusion

The practical answer to what is cost accounting is a disciplined way to connect resource use with a defined object and decision. Trace what you can, explain what you allocate, keep behavior separate from traceability, and reconcile the totals. A precise-looking unit cost is useful only when its assumptions fit the question.

Frequently Asked Questions

Can a direct cost be fixed?

Yes. A monthly equipment lease used only for a specific product line can be directly traceable to that line while remaining fixed within the relevant activity range. Direct does not mean variable.

Can an indirect cost be variable?

Yes. Factory electricity can vary with production but remain indirect to individual products if only total plant use is measured. Traceability depends on the chosen cost object and available records.

Does a service business need cost accounting?

It can use it. A client engagement, project, or service can be the cost object. Staff time and shared support costs can be traced or allocated just as a manufacturer assigns costs to products.

Is allocated overhead the same as an extra cash payment?

No. Allocation assigns a shared cost pool to cost objects. Accepting another order may not change that pool, or may require new capacity. Examine the costs that would actually change rather than assuming the allocated rate is an incremental cash bill.

Does a fixed cost stay unchanged forever?

No. Fixed describes behavior over a specified time and relevant range of activity. A larger facility or an added shift can change the cost structure. Define the range before projecting unit costs.

Can I use an internal costing worksheet as a tax return?

No. A managerial cost model is not automatically compliant with external reporting or tax requirements. This guide does not establish an inventory valuation policy or determine deductible tax costs.

Disclaimer: This article is for educational purposes only and is not financial advice. Consider your own situation and speak with a qualified professional before making financial decisions. How we write and review content.

Written by

FinTechAi Editorial Team

Research & Editorial

The FinTechAi editorial team researches, writes and fact-checks every guide on investing, crypto, AI, banking and personal finance.