COST ANALYSIS all chapters
📚 COST ANALYSIS all chapters.pdf
Brief overview
This document provides a comprehensive analysis of cost accounting principles and practices. It details how businesses track, allocate, and manage costs to inform strategic decision-making and performance evaluation. Understanding these concepts is crucial for effective financial management and operational efficiency.
Key points
- Overview of fundamental cost accounting concepts and objectives
- Methods for classifying expenses and managing inventory valuation
- Processes for allocating indirect costs using cost centers
- Calculation of cost of goods sold and accounting for manufacturing issues
1. Introduction to cost accounting (part 1)
1.1 The role and objectives of cost accounting
Cost accounting helps businesses make strategic decisions. It tracks costs and evaluates performance.
This course aims to build skills in using financial information for decision-making.
-
Objectives of cost accounting:
- Understand fundamental cost accounting concepts.
- Learn to set up systems for tracking production costs.
- Understand various costing methods for economic decisions.
- Develop skills in cost analysis and decision-making.
-
Why start a business?
- You want to launch a business.
- You have products or services to sell.
- You need to set prices for your offerings.
General accounting has limitations that cost accounting addresses. General accounting focuses only on external company flows, making the inside operations a "black box." It provides a single overall result for all products and activities combined.
It also cannot evaluate certain items like final inventory or self-produced goods.
Cost accounting illuminates this "black box." It details the transformation process from inputs to final products. This breaks down the single result from general accounting into multiple results for each product.
It helps value inventory by calculating unit costs. This also aids in valuing fixed production used by the company itself.
Cost accounting provides constant knowledge of inventory quantities and values. This applies to raw materials, goods, and finished products.
It helps calculate intermediate and final costs. It allows analysis of profitability by measuring margin changes at different production stages.
It also reconciles general accounting with cost accounting for logical control.
🔑 Important: Cost accounting provides detailed, internal financial information for management decisions, unlike general accounting which is for external reporting.
1.2 Defining costs and comparing accounting types
A cost is a sum of expenses related to a specific element within the accounting network. Costs are defined by three characteristics:
- Content: Total costs or partial costs.
- Timing: Pre-established (budgeted) or established (observed).
- Scope: The area studied, such as a store, department, region, or customer.
Here's a comparison between general accounting and cost accounting:
| Feature | General Accounting | Cost Accounting |
|---|---|---|
| Horizon | Past | Present and Future |
| Criteria | External Flows | Internal Flows |
| Legal Status | Mandatory | Optional |
| Company Vision | Global | Detailed |
| Expense Classification | By Nature | By Destination |
| Information Nature | Precise, Certified, Formal | Fast, Relevant |
| Objectives | Financial | Economic |
| Rules | Prescriptive | Flexible, Scalable |
| Users | Third Parties | All Managers |
1.3 Expenses in cost accounting
Cost accounting expenses are derived from general accounting expenses with adjustments. These adjustments involve eliminating certain non-incorporable expenses and adding supplementary expenses.
-
General Accounting Expenses:
- Operating Expenses
- Financial Expenses
- Non-current Expenses
-
Cost Accounting Expenses:
- General Accounting Expenses
- Adjustments:
- Eliminate non-incorporable expenses.
- Create supplementary expenses.
Non-incorporable expenses are not accepted by cost accounting because they do not reflect normal operating conditions.
- Examples of non-incorporable expenses:
- Life insurance premiums.
- Amortization of preliminary costs.
- All non-current expenses.
- Certain current expenses not considered normal (income taxes, expenses related to past years, depreciation of worthless fixed assets, expenses recovered by third parties, expenses covering a risk like provisions for litigation).
Supplementary charges are theoretical or conventional costs.
- Examples of supplementary charges:
- Theoretical cost of capital.
- Conventional remuneration of the operator.
- Usage, spread, and subscription charges.
📝 Example: An industrial company has the following January expenses: 900,000 DH for resold goods purchases, 400,000 DH for consumed materials, and a 60,000 DH quarterly insurance premium. Income taxes and penalties are considered non-incorporable in cost accounting. The operator's monthly remuneration of 5,500 DH is a supplementary charge.
Here's a breakdown of expenses for Exercise 1:
| Expense Category | Amount (DH) | Notes |
|---|---|---|
| Resold goods purchases | 900,000 | General Accounting |
| Consumed materials | 400,000 | General Accounting |
| Insurance premium (quarterly) | 60,000 | General Accounting. (Monthly = 20,000 DH) |
| Professional Fees | 15,000 | General Accounting |
| Personnel Transportation | 4,000 | General Accounting |
| Telephone fee (annual) | 96,000 | General Accounting. (Monthly = 8,000 DH) |
| Postal Expenses | 1,000 | General Accounting |
| Taxes | 22,000 | Non-incorporable |
| Staff Compensation (semi-annual) | 240,000 | General Accounting. (Monthly = 40,000 DH) |
| Interest on loans | 20,000 | General Accounting |
| Penalties | 12,000 | Non-incorporable |
| Donations | 24,000 | Non-incorporable |
| Annual depreciation | 72,000 | General Accounting. (Monthly = 6,000 DH) |
| Operator's monthly remuneration | 5,500 | Supplementary charge |
Calculation for Exercise 1 (Monthly):
- General Accounting Expenses: 900,000 (resold) + 400,000 (consumed) + 20,000 (insurance) + 15,000 (fees) + 4,000 (transport) + 8,000 (telephone) + 1,000 (postal) + 40,000 (staff) + 20,000 (interest) + 6,000 (depreciation) = 1,814,000 DH
- Supplementary Expenses: 5,500 DH (operator remuneration)
- Non-incorporable Expenses: 22,000 (taxes) + 12,000 (penalties) + 24,000 (donations) = 58,000 DH
- Cost Accounting Expenses: 1,814,000 (GA) + 5,500 (supplementary) - 58,000 (non-incorporable) = 1,761,500 DH
Here's a breakdown for Exercise 2:
| Expense Category | Amount (DH) | Notes |
|---|---|---|
| Purchase of raw materials | 190,000 | General Accounting |
| Purchase of packaging | 12,500 | General Accounting |
| Rental charges | 7,200 | General Accounting |
| Advertising | 8,800 | General Accounting |
| Taxes (annual) | 66,000 | Non-incorporable. (Monthly = 5,500 DH) |
| Staff remuneration | 490,000 | General Accounting |
| Tax penalty | 3,500 | Non-incorporable |
| Depreciation (annual) | 96,000 | General Accounting. (Monthly = 8,000 DH). Includes 12,000 DH for preliminary costs (non-incorporable). |
| Shareholder's equity (annual) | 10% | Supplementary charge. Capital = 2,500,000 DH. (Monthly = 2,500,000 * 0.10 / 12 = 20,833.33 DH) |
Calculation for Exercise 2 (Monthly):
- General Accounting Expenses: 190,000 (raw materials) + 12,500 (packaging) + 7,200 (rental) + 8,800 (advertising) + 490,000 (staff) + 8,000 (depreciation) = 716,500 DH
- Supplementary Expenses: 20,833.33 DH (equity remuneration)
- Non-incorporable Expenses: 5,500 (taxes) + 3,500 (penalty) + 12,000 (preliminary costs) = 21,000 DH
- Usage Expenses: (Not explicitly listed as a separate category in the source, but could imply operational costs).
- Cost Accounting Expenses: 716,500 (GA) + 20,833.33 (supplementary) - 21,000 (non-incorporable) = 716,333.33 DH
🔑 Important: Differentiating between general accounting expenses, non-incorporable expenses, and supplementary charges is crucial for accurate cost accounting calculations.
1.4 The permanent inventory system
The permanent inventory system records stock movements. This allows continuous knowledge of quantities and values during the financial year.
These principles apply to all stored items, including raw materials, intermediate products, and finished products.
🔑 Important: The permanent inventory system provides real-time stock data, unlike periodic systems that update only at year-end.
2. Introduction to cost accounting (part 2)
2.1 Permanent inventory system
The permanent inventory system tracks inventory levels continuously. This system records both the cost of items entering and leaving stock.
- Entry cost: This depends on the item. For materials and supplies, it's the purchase price. For intermediate and finished goods, it's the production cost. 21.
- Exit cost: This cost is determined by the inventory valuation method used. .
The inventory account follows the formula: Exits = Entries + (Initial Stock - Final Stock). This can be rewritten as Exits = Entries + Stock Variation.
22.
🔑 Important: The permanent inventory system allows for real-time stock monitoring, crucial for accurate cost accounting.
2.2 Inventory valuation methods
Three main methods are used to assess the cost of items leaving inventory:
- Weighted Average Unit Cost (WAUC)
- First In, First Out (FIFO)
- Last In, First Out (LIFO) 23.
2.2.1 Weighted average unit cost (WAUC)
The Weighted Average Unit Cost (WAUC) method values stock outflows at an average unit cost. This average is calculated from the unit costs of all inputs for a period.
There are two approaches to calculating WAUC:
| WAUC Calculation Approach | Description |
|---|---|
| End of period | Calculated at the period's end, accumulating all initial stock and entries. |
| After each entry | Recalculated after every new batch of items enters the stock. |
24.
Example calculation (WAUC at end of period):
- Note: WAUC = Total cost of goods available for sale / Total quantity available for sale.
- In this end-of-period example, the WAUC is 11.09 dh. 26.
Example calculation (WAUC after each entry):
- In this after-each-entry example, the WAUC is 11.41 dh. 27.
2.2.2 First In, First Out (FIFO)
The First In, First Out (FIFO) method assumes that the first items purchased or produced are the first ones to be sold or used. 28.
Example calculation (FIFO):
- Note: FIFO uses the oldest costs for exits first. 29.
2.2.3 Last In, First Out (LIFO)
The Last In, First Out (LIFO) method assumes that the last items purchased or produced are the first ones to be sold or used. 30.
Example calculation (LIFO):
- Note: LIFO uses the newest costs for exits first. 31.
2.3 Comparison of inventory methods
Each inventory valuation method results in different exit and final stock values. This affects reported costs and analytical outcomes.
| Method | Exits | Final Stock | Allowed by Law? |
|---|---|---|---|
| WAUC (End Period) | 60,995 dh | 61,005 dh | Yes |
| WAUC (Each Entry) | 59,230.50 dh | 66,000 dh | Yes |
| FIFO | 56,000 dh | 61,000 dh | Yes |
| LIFO | 61,000 dh | 53,000 dh | No |
32.
🔑 Important: Only WAUC and FIFO methods are permitted by accounting law.
2.4 Recognition of inventory differences
Even with a permanent inventory system, actual stock may not match theoretical stock due to various reasons. .
Reasons for inventory differences:
| Occurrence | Reason |
|---|---|
| Item entry | Supplier delivery discrepancies (quantity tolerance). |
| Item entry | Partial loss during transportation. |
| During storage | Evaporation, breakage, theft. |
| Item release | Approximate measurement or weighing errors. |
34.
Periodic extra-accounting inventories (cycle counts) help determine actual stock. Reconciling these with permanent inventory records reveals inventory differences.
Types of inventory differences:
- Inventory shortfall: Actual final stock is less than theoretical. This is treated as a fictitious withdrawal.
- Inventory surplus: Actual final stock is more than theoretical. This is treated as a fictitious addition.
- Actual final stock equals theoretical final stock (no difference). 35.
🔑 Important: Regular reconciliation of physical counts with perpetual records is essential to identify and account for inventory differences.
3. Allocation of indirect costs and cost centers
3.1 Understanding cost centers
- A company divides itself into homogeneous sections, also known as cost centers.
- These are accounting divisions that group indirect costs before they are assigned to specific products or services.
- Each section should have a similar nature and its activity must be measurable by a work unit.
- The cost per work unit is calculated as: Total cost of the section divided by the number of work units.
The goal is to group costs logically before spreading them out.
3.1.1 Types of cost centers
- Main sections directly contribute to the company's production or service delivery.
- Examples: Procurement, Production, Distribution.
- Auxiliary sections (or secondary sections) provide support services to the main sections.
- Examples: Maintenance, Administration, Finance.
3.2 Allocating indirect costs
- Indirect costs are distributed to different sections using allocation keys.
- These keys are usually expressed as percentages and represent the proportion of each indirect cost assigned to a section.
- Allocation keys must be checked and updated regularly.
Allocation keys are the rules for dividing the indirect cost pie.
3.2.1 Primary allocation
- This step assigns indirect costs to all cost centers (both main and auxiliary).
- It involves distributing each indirect cost item to the various sections based on defined allocation keys.
📝 Example:
Indirect Cost Amount (1000 DH) Maintenance (%) Procurement (%) Production (%) Distribution (%) Non-stocked purchases 116 15 15 58 12 Other external expenses 60 10 10 60 20 Personnel expenses 30 10 20 50 20 Taxes and duties 12 10 50 - 40 Financial expenses 20 50 - - 50 Operating allowances 40 40 10 40 10 Total (P.A.T) 278 53.6 39.4 134.28 50.72
45.
3.2.2 Secondary allocation
- This step reallocates the costs of the auxiliary sections to the main production sections.
- The goal is to ensure all indirect costs end up assigned to the sections directly involved in production.
🔑 Important: Secondary allocation moves costs from support functions to core operations.
3.2.2.1 Hierarchical allocation
- In this method, auxiliary sections are allocated in a predetermined order.
- Once an auxiliary section's costs are distributed, it is considered "closed" and does not receive costs from other auxiliary sections.
📝 Example:
Expenses to be allocated Amounts Tran. Ener. Maint. Proc. Prod. Dist. P.A.T 720 30 50 70 120 150 300 Secondary Allocation Transportation - 4.5 3 9 7.5 6 Energy - - 21.8 21.8 10.9 Maintenance - - - 21.9 29.2 21.9 S.A.T 0 0 0 172.7 208.5 338.8
47.
3.2.2.2 Reciprocal services allocation
- This method acknowledges that auxiliary sections can provide services to each other.
- It uses a system of simultaneous equations to allocate costs reciprocally until all auxiliary sections have zero cost.
🔑 Important: Reciprocal services allocate costs fully between all support departments.
- The formulas to calculate the final costs of auxiliary sections E (Energy) and A (Administration) are:
- E=6000+0.2×30000+0.2×A.
- A=29000+0.3×30000+0.1×E.
- Solving these equations gives: E=20000 dollars and A=40000 dollars.
📝 Example:
Expenses to be allocated Amounts Tran. Ener. Adm. Proc. Works. Dist. P.A.T 435 30 6 29 100 150 120 Secondary Allocation Transportation - - 6 9 6 3 Energy - - 2 6 6 6 Administration 8 - - 8 16 8 S.A.T 435 0 0 0 120 178 137
49.
🔑 Important: The final goal of all allocation methods is to accurately assign all indirect costs to production activities.
4. Cost of goods sold and manufacturing issues
4.1 The operating cycle and cost phases
The operating cycle tracks costs through successive business phases. These phases align with the chronology of financial calculations.
- Procurement phase: Calculates costs for acquiring raw materials and supplies. This includes purchase price and procurement department expenses.
- Manufacturing phase: Determines the production cost for each semi-finished or finished product. It includes consumed materials and manufacturing overhead.
- Distribution phase: Calculates the cost of goods sold for each item sold. This includes production costs and distribution department expenses.
Matching sales revenue with the cost of goods sold determines the period's profit.
Matching revenue and costs shows profit.
4.1.1 Cost calculation by phase
Each main phase corresponds to a specific cost calculation.
- Raw Material Acquisition Cost: Costs incurred to purchase raw materials.
- Cost of Production: Includes raw material acquisition cost plus manufacturing costs.
- Cost of Goods Sold: Combines the cost of production with distribution costs.
| Phase | Activity | Cost Determined |
|---|---|---|
| Procurement | Purchase | Purchase cost / Direct Materials cost |
| Production | Manufacturing | Production cost / Total manufacturing cost |
| Distribution | Sale of products | Cost of goods sold |
4.1.2 Direct materials cost
The cost of purchasing direct materials involves two types of expenses.
- Direct costs: The purchase price of materials. VAT is excluded if it is recoverable.
- Indirect costs: Expenses allocated to the procurement section.
4.1.3 Production cost
Production cost includes several components.
- Raw materials consumed: Materials used in the manufacturing process.
- Direct expenses: Primarily direct labor costs.
- Indirect expenses: Overhead costs related to production.
Production cost applies only to fully completed items. Unfinished products are classified as work in progress (WIP).
4.1.4 Cost of goods sold and gross margin
The cost of goods sold (COGS) includes the cost of products sold and selling and distribution overhead. The gross margin is calculated by subtracting COGS from revenue.
- Cost of Goods Sold = Cost of products sold + selling and distribution overhead
- Gross Margin = Revenue – Cost of Goods Sold
Gross Margin = Sales - COGS
4.2 Manufacturing issues
Production cycles often do not align perfectly with a company's cost calculation period. This can result in products being in different states: work in progress, intermediate, by-products, or residual products.
4.2.1 Work in progress (WIP)
Work in progress refers to unfinished products at the end of a period.
The cost of production for a period is calculated considering the initial and final WIP inventories:
Cost of production=Direct expenses+indirect expenses+initial WIP inventory−final WIP inventory
4.2.1.1 Methods of WIP valuation
Valuing work in progress is complex and can be done using various methods.
| Method | Description |
|---|---|
| Detailed valuation | Gathers all necessary information, often using a cost sheet for WIP with all cost elements. |
| Predetermined costs | Estimates consumed resources for each cost component (materials, labor, overhead). |
| Equivalence | Defines a global ratio between WIP and finished products. |
WIP valuation methods ensure accurate cost accounting for unfinished goods.
📝 Example: A company produced 10,800 finished units and 300 unfinished units, where one-quarter was completed. Total costs were 2,117,500 dirhams.
- Equivalent finished products: 10,800+(300/4)=10,875
- Cost per finished unit: 2,117,500/10,875=194.71 dirhams
- Cost of a WIP unit: 194.71/4=48.68 dirhams
- Total WIP value: 300×48.68=14,603 dirhams
📝 Example: Company DFR calculates production cost for product "PAl". Total charges: 322,806.43 MAD.
- Initial WIP: 120 units. Final WIP: 100 units.
- Predetermined costs per unit: Materials: 278.72, Labor: 186.95, Workshop 1: 13.60, Workshop 2: 27.20.
- WIP completion stages: Materials (Initial: 100%, Final: 50%), Labor (Initial: 70%, Final: 30%), Workshop 1 (Initial: 70%, Final: 30%).
- Initial WIP value: 120×[(100%×278.72)+(70%×186.95)+(70%×13.60)]=50,292.6 MAD
- Final WIP value: 100×[(50%×278.72)+(30%×186.95)+(30%×13.60)]=19,952.5 MAD
- Cost of completed "PAl": 322,806.43+50,292.6−19,952.5=353,146.53 MAD
4.2.2 Residual products (waste and scrap)
Residual products include waste and scrap. Waste is residue from materials, while scrap is a product not meeting quality standards.
| Case | Description | Accounting Impact |
|---|---|---|
| Non-usable | Waste or scrap that cannot be used. Disposal may incur charges. | Cost remains within the main product's production cost, increasing it. |
| Usable | Residual products with market value. | Sold as is: Profit reduces main product cost or adds to revenue. Sold after processing: Net revenue (after processing costs) reduces main product cost. Reused: Valued at market price or fixed price, deducted from original product cost and added to the new product's cost. |
Waste and scrap can increase main product costs or reduce them if usable.
4.2.3 By-products
By-products are obtained during main product production and have commercial value. Their cost determination is challenging due to simultaneous production.
Methods for by-product cost determination:
- Sharing production costs: Production costs are divided between main and by-products, often using vague or arbitrary criteria like equivalence coefficients.
- Evaluation based on market: Cost is determined by selling price minus margin, distribution costs, and processing costs.
Cost of the by-product=selling price−margin−distribution costs−processing costs
4.2.4 Intermediate products
Intermediate products are partially completed items intended for further processing in the production cycle. Their storage between production phases defines them.
🔑 Important: Understanding work in progress, residual products, by-products, and intermediate products is crucial for accurate cost of goods sold calculation and overall profitability assessment.
© 2026 Maeve. All rights reserved. This content is protected by copyright.