What is cost accounting?
Published
Cost accounting is the part of accounting that measures the cost of a product, service, project, or activity. It does not only ask how much was spent. It asks what the money was spent on, who should carry the cost, and whether the price covers it.
The examples on this page use a fictional business (Al Waha Office Supplies). Figures are illustrative only and are not real business data or sector benchmarks.
Short answer
Cost accounting reveals the real cost of a product or service. It is the difference between saying “we sold a lot” and knowing whether each sale truly earns money after materials, labor, overhead, and commissions.
Cost components
| Component | Example | Treatment |
|---|---|---|
| Direct materials | Wood, paper, spare parts | Charged directly to the product |
| Direct labor | Production wages | Charged by hours |
| Overhead | Factory rent, electricity | Allocated using a driver |
Worked example
A business produces 1,000 units. Direct materials are SAR 40,000, direct labor is SAR 18,000, and overhead is SAR 12,000.
Total cost = 40,000 + 18,000 + 12,000 = SAR 70,000Unit cost = 70,000 ÷ 1,000 = SAR 70
If the selling price is SAR 95, gross profit per unit is SAR 25 and gross margin is 26.3%.
Common mistakes
| Mistake | Effect |
|---|---|
| Charging materials only and leaving out labour and overheads | Pricing below cost |
| Allocating every cost by revenue | Small or complex products carry an unfair share |
| Mixing cost with administrative expense | Confused pricing decisions |
Choosing an allocation driver
| Overhead cost | Suitable allocation driver |
|---|---|
| Factory rent | Space used or operating hours |
| Production electricity | Machine hours or production units |
| Production supervision | Direct labor hours |
| Internal support | Number of tickets or service hours |
Example 2: pricing decision
If unit cost is SAR 70 and selling price is SAR 75, the product appears to earn SAR 5. But if the marketplace commission is SAR 8 per unit, the product loses SAR 3 before any admin expense. Cost accounting prevents high-volume sales with hidden losses.
Cost-based pricing questions
| Question | Why it matters |
|---|---|
| Does price cover variable cost? | Prevents losing money on every sale |
| Does it contribute to fixed costs? | Shows whether the product supports profit |
| Are there commissions or shipping? | They may erase margin |
| Does cost change with volume? | Supplier discounts or waste can change the decision |
When the page becomes commercial
This page connects education to product value when it shows how tracking costs by cost center, project, or product supports pricing and profitability decisions.
Frequently asked questions
Is cost accounting only for factories?
No. It also applies to services, projects, restaurants, and construction companies.
How is it different from a cost center?
A cost center collects costs by place or activity. Cost accounting uses that data to calculate product or service cost.
Does cost need to be 100% exact?
No, but it must be more reliable than guesswork and reviewable.