---
name: cost-accounting-standard-costing
description: Implement and maintain cost accounting systems including standard costing, actual costing, activity-based costing, and process costing. Use when setting up product cost calculation, establishing standard costs, analyzing cost variances (material, labor, overhead), calculating cost of goods manufactured and sold, or optimizing product profitability analysis. Triggers on phrases like "standard cost", "cost accounting", "product costing", "cost of goods sold", "COGS calculation", "cost variance", "material variance", "labor variance", "overhead absorption", "activity-based costing", "process costing".
---

# Cost Accounting & Standard Costing

Calculate accurate product and service costs using standard costing, actual costing, and activity-based costing methodologies to support pricing, profitability analysis, and operational improvement.

## Workflow

1. **Select costing methodology**: Choose between standard costing (pre-set costs for planning and variance analysis), actual costing (real costs for accuracy), or activity-based costing (detailed cost driver allocation) based on business needs.
2. **Define cost elements**: Break down total cost into direct materials, direct labor, and manufacturing overhead (or service equivalents: direct costs, indirect costs, allocated overhead).
3. **Establish standard costs**: For standard costing, set standard quantities and prices for each cost element based on engineering specs, historical data, and market rates.
4. **Build the bill of materials (BOM) cost roll-up**: Calculate total product cost by summing all component costs through the BOM hierarchy.
5. **Apply overhead using allocation bases**: Distribute overhead costs to products using predetermined overhead rates based on allocation drivers (direct labor hours, machine hours, units produced).
6. **Run periodic cost variance analysis**: Compare actual costs to standard costs; investigate and explain material, labor, and overhead variances.
7. **Update standard costs**: Review and adjust standard costs periodically (quarterly or annually) to reflect current prices, efficiencies, and process changes.
8. **Calculate cost of goods manufactured (COGM) and sold (COGS)**: Flow costs through WIP and Finished Goods to COGS.
9. **Analyze product profitability**: Combine cost data with revenue data to calculate gross margin by product, line, customer, and channel.
10. **Support pricing decisions**: Use cost data to set floor prices, evaluate price changes, and assess margin impact of product mix shifts.

## Costing Methodology Selection

| Methodology | Description | Accuracy | Complexity | Best For |
|-------------|-------------|----------|------------|----------|
| **Standard Costing** | Pre-set costs per unit; variances analyzed periodically | Medium | Low-Medium | Manufacturing with stable processes, high volume |
| **Actual Costing** | Real costs tracked and assigned per batch/job | High | Medium | Job shops, custom manufacturing, low volume |
| **Activity-Based Costing (ABC)** | Costs assigned based on activities consumed | Highest | High | Complex operations with diverse product mix |
| **Process Costing** | Costs averaged over all units in a process | Medium | Medium | Continuous process industries (chemicals, food, oil) |
| **Job Order Costing** | Costs tracked per specific job/order | High | Medium | Custom products, construction, consulting |
| **Throughput Accounting** | Focus on throughput contribution (Revenue − Material Cost) | N/A | Low | Theory of Constraints environments |

## Standard Cost Card

```
STANDARD COST CARD — Widget Model X-200
───────────────────────────────────────
Last Updated: January 2025 | Revision: 4.2 | Next Review: April 2025

DIRECT MATERIALS:
  Component            Qty    Std Price    Std Cost    Tolerance
  ──────────────────────────────────────────────────────────────
  Steel Sheet (raw)     2.5 kg   $1.80/kg   $4.50      ±5%
  Electronic Module     1       $12.00/unit $12.00     ±3%
  Plastic Housing       1       $3.50/unit  $3.50      ±5%
  Fasteners (assorted)  8 pack  $0.25/pack  $2.00      ±10%
  Packaging             1       $1.20/unit  $1.20      ±5%
  ──────────────────────────────────────────────────────────────
  Total Direct Materials:                     $23.20

DIRECT LABOR:
  Operation            Std Time    Std Rate    Std Cost
  ──────────────────────────────────────────────────────
  Assembly              0.25 hrs    $22/hr      $5.50
  Testing               0.10 hrs    $25/hr      $2.50
  Packaging             0.05 hrs    $18/hr      $0.90
  ──────────────────────────────────────────────────────
  Total Direct Labor:                         $8.90

MANUFACTURING OVERHEAD:
  Allocation Base: Machine Hours
  Predetermined Overhead Rate: $15.00/machine hour
  Standard Machine Hours per Unit: 0.40 hours
  ──────────────────────────────────────────────────────
  Total Overhead:                             $6.00

  Overhead Breakdown (monthly pool of $600,000 / 40,000 MH):
    Indirect labor:        $200,000 (33%)
    Depreciation:          $150,000 (25%)
    Utilities:             $100,000 (17%)
    Maintenance:            $80,000 (13%)
    Supervision:            $50,000  (8%)
    Quality/Inspection:     $20,000  (4%)

TOTAL STANDARD COST PER UNIT:                 $38.10
  Direct Materials: $23.20 (61%)
  Direct Labor:     $ 8.90 (23%)
  Overhead:         $ 6.00 (16%)

PRICING IMPLICATIONS:
  Standard selling price: $75.00
  Standard gross margin:  $36.90 (49.2%)
  Break-even volume:      [Fixed costs / contribution margin per unit]
  Floor price:            $38.10 (variable cost floor)
  Strategic floor:        $44.10 (variable + avoidable fixed)
```

## Cost Variance Analysis

```
VARIANCE ANALYSIS FRAMEWORK:

  TOTAL COST VARIANCE = Actual Cost − Standard Cost
  (Positive = Unfavorable | Negative = Favorable)

MATERIAL VARIANCES:
  ──────────────────
  Price Variance = (Actual Price − Standard Price) × Actual Quantity
    → Measures purchasing effectiveness
  
  Quantity Variance = (Actual Qty − Standard Qty) × Standard Price
    → Measures production efficiency (waste, yield, scrap)
  
  EXAMPLE:
    Standard: 2.5 kg at $1.80/kg = $4.50/unit
    Actual: 2.7 kg at $1.90/kg = $5.13/unit
    
    Price Variance = ($1.90 − $1.80) × 2.7 kg = $0.27 U (Unfavorable)
    Qty Variance = (2.7 − 2.5) kg × $1.80 = $0.36 U (Unfavorable)
    Total Material Variance = $0.63 U per unit

LABOR VARIANCES:
  ────────────────
  Rate Variance = (Actual Rate − Standard Rate) × Actual Hours
    → Measures labor cost rate changes (overtime, skill mix)
  
  Efficiency Variance = (Actual Hours − Standard Hours) × Standard Rate
    → Measures labor productivity
  
  EXAMPLE:
    Standard: 0.25 hrs at $22/hr = $5.50/unit
    Actual: 0.30 hrs at $23/hr = $6.90/unit
    
    Rate Variance = ($23 − $22) × 0.30 = $0.30 U
    Efficiency Variance = (0.30 − 0.25) × $22 = $1.10 U
    Total Labor Variance = $1.40 U per unit

OVERHEAD VARIANCES:
  ──────────────────
  Spending Variance = Actual Overhead − (Actual Hours × Std OH Rate)
    → Measures overhead cost control
  
  Volume Variance = (Actual Hours − Standard Hours Allowed) × Std OH Rate
    → Measures capacity utilization
  
  EXAMPLE:
    Budgeted OH: $600,000 | Budgeted MH: 40,000 | Std Rate: $15/MH
    Actual OH: $620,000 | Actual MH: 38,000 | Std MH Allowed: 42,000
    
    Spending Variance = $620,000 − ($15 × 38,000) = $620,000 − $570,000 = $50,000 U
    Volume Variance = (38,000 − 42,000) × $15 = −$60,000 F (Favorable — under-absorbed)
    → Under-absorbed OH of $60,000 written to COGS

VARIANCE INVESTIGATION THRESHOLDS:
  • Material price: > 3% of standard → investigate with procurement
  • Material quantity: > 5% of standard → investigate with production
  • Labor rate: > 5% of standard → investigate with HR/operations
  • Labor efficiency: > 10% of standard → investigate with production
  • Overhead: > 5% of budget → investigate with facilities/controlling
```

## COGM and COGS Calculation

```
COST FLOW — MANUFACTURING ENVIRONMENT:

  1. DIRECT MATERIALS:
     Beginning Raw Materials Inventory:      $200,000
     + Purchases:                              $800,000
     − Ending Raw Materials Inventory:        ($180,000)
     = Direct Materials Used:                 $820,000

  2. DIRECT LABOR:                            $400,000

  3. MANUFACTURING OVERHEAD:                  $600,000

  4. TOTAL MANUFACTURING COSTS:             $1,820,000
     + Beginning Work-in-Process:              $150,000
     − Ending Work-in-Process:                ($120,000)
     = COST OF GOODS MANUFACTURED (COGM):   $1,850,000

  5. COST OF GOODS SOLD (COGS):
     Beginning Finished Goods:                 $300,000
     + COGM:                                  $1,850,000
     − Ending Finished Goods:                 ($250,000)
     = COST OF GOODS SOLD:                  $1,900,000

  6. GROSS PROFIT:
     Sales Revenue:                          $3,500,000
     − COGS:                                ($1,900,000)
     = GROSS PROFIT:                        $1,600,000 (45.7%)

  ADJUSTMENT FOR VOLUME VARIANCE:
     If overhead under/over-absorbed, adjust COGS:
     Under-absorbed OH ($60,000) → Add to COGS
     Adjusted COGS: $1,900,000 + $60,000 = $1,960,000
     Adjusted Gross Profit: $1,540,000 (44.0%)
```

## Standard Cost Maintenance

```
STANDARD COST REVIEW SCHEDULE:

  FREQUENCY          TRIGGER                    ACTION
  ─────────────────────────────────────────────────────
  Monthly           Variance > threshold         Investigate; adjust if structural
  Quarterly         Market price changes         Update material/labor standards
  Semi-annually     Process improvements         Update quantity/time standards
  Annually          Full review                 Reset all standards; benchmark
  As-needed         Engineering change order     Update BOM and routing

  UPDATE PROCEDURE:
    1. Cost accountant prepares proposed changes
    2. Operations reviews quantity/efficiency standards
    3. Procurement reviews price standards
    4. Finance reviews impact on inventory valuation and margin
    5. CFO approves if total standard cost change > 5%
    6. ERP updated; revision number incremented
    7. Communication to all stakeholders
    8. WIP and FG inventory revalued (write-up/write-down to new standard)

  INVENTORY REVALUATION ON STANDARD CHANGE:
    If standard cost increases by $2/unit and 10,000 units in inventory:
      Write-down = $2 × 10,000 = $20,000 charge to COGS (or variance account)
    
    If standard cost decreases by $1/unit and 10,000 units in inventory:
      Write-up = $1 × 10,000 = $10,000 credit to COGS (or variance account)
```

## Edge Cases

- **Service businesses**: No physical inventory; adapt cost accounting to cost pools (professional labor, project overhead, allocated G&A) and cost them out by engagement or client
- **SaaS companies**: COGS = hosting + support + payment processing; calculate unit economics per customer (cost to serve per customer); no traditional BOM
- **Seasonal production**: Overhead absorption rates fluctuate with volume; use annual overhead rate to smooth seasonal variance; or use dual-rate (fixed overhead allocated evenly, variable overhead by actual usage)
- **Multiple product lines with shared resources**: Use ABC to avoid cross-subsidization where high-volume products absorb disproportionate shared costs
- **Make vs. buy decisions**: Compare internal standard cost to supplier price including quality, lead time, and capacity utilization implications
- **Joint products and by-products**: Allocate joint costs using net realizable value (NRV) method, physical measure method, or sales value at split-off method
- **Scrap and rework**: Track scrap rates against standard; value scrap at net realizable value; rework costs charged to variance account or specific job

## Output

### Cost Variance Report

```
COST VARIANCE REPORT — January 2025 — Widget Model X-200
==========================================================

PRODUCTION VOLUME: 15,000 units

VARIANCE SUMMARY:
  Category          Standard    Actual      Variance     % of Std    Status
  ─────────────────────────────────────────────────────────────────────────
  Direct Materials  $23.20      $24.15      -$0.95 U     -4.1%       ⚠ Investigate
  Direct Labor      $ 8.90      $ 9.60      -$0.70 U     -7.9%       ⚠ Investigate
  Overhead          $ 6.00      $ 6.30      -$0.30 U     -5.0%       ⚠ Investigate
  ─────────────────────────────────────────────────────────────────────────
  TOTAL UNIT COST   $38.10      $40.05      -$1.95 U     -5.1%       ⚠
  
  Total dollar variance: $1.95 × 15,000 = $29,250 Unfavorable
  Impact on gross margin: -$29,250 (from 49.2% to 45.8%)

MATERIAL VARIANCE DETAIL:
  Steel Sheet:  Price $0.05/kg above standard → $1,125 U (supplier price increase)
  Electronic Module: Qty 3% over standard → $540 U (yield issue, engineering investigating)
  Packaging:  On standard → $0

LABOR VARIANCE DETAIL:
  Assembly:  Efficiency 20% below standard → $2,750 U (new operators, training in progress)
  Testing:   On standard → $0
  Packaging: On standard → $0

ACTIONS REQUIRED:
  1. Procurement: Negotiate steel price or qualify alternative supplier (owner: Jane, deadline: Feb 5)
  2. Engineering: Root cause analysis on electronic module yield (owner: Bob, deadline: Jan 30)
  3. Production: Accelerate new operator training program (owner: Sarah, deadline: Feb 15)
  4. Management: Determine if standard cost update needed at February review
```

## Integration Points

- ERP (SAP, Oracle, NetSuite): BOM management, standard cost cards, variance reporting
- MRP/Manufacturing systems: Production data, actual quantities and hours
- Procurement systems: Purchase price variance data, supplier pricing
- HR/Payroll systems: Labor rate data, overtime tracking
- Inventory management: Raw material, WIP, and finished goods valuations
- Pricing systems: Cost-based pricing recommendations
- BI tools (Tableau, Power BI): Product profitability dashboards, cost trend analysis
- PLM (Product Lifecycle Management): Engineering change orders, BOM updates
