1. Introduction and Objectives
Batch costing is applied when a manufacturing facility produces a collection of identical units together in a single production run, rather than tracking individual items or running continuous lines. This lesson outlines how batch costs are calculated and introduces the optimization formula for batch run sizes. 
 
2. Batch Costing Calculations
In a batch costing system, the entire production run is treated as a single job during manufacturing. Costs are accumulated on a batch sheet. Once the batch is completed, the unit cost is determined by dividing the total batch cost by the number of good units produced:
Unit Cost per Batch Item = (Total Batch Material Cost + Total Batch Labor Cost + Applied Overhead + Machine Setup Cost) / Total Number of Good Units Produced
 
3. Economic Batch Quantity (EBQ) Optimization Model
Similar to the inventory EOQ model, batch manufacturing must balance two competing costs: Initial Setup Costs (tooling changes, idle calibration time) and Inventory Holding Costs (storing the finished batch items until the market consumes them).
  • Mathematical Formula:
    Q = √((2 × D × S) / (H × (1 − D/P)))
    • Where:
      • Q = Economic Batch Quantity (Optimal units per manufacturing run)
      • D = Annual Demand for the product (units)
      • S = Fixed Setup Cost incurred to prepare the machines for a new run
      • H = Annual Holding Cost per finished unit in storage
      • P = Annual Production capacity rate of the machinery (where P > D)

4. Computational Scenario
A medical device plant faces an annual demand (D) of 50,000 units for a specific syringe. The factory’s machines can produce up to 200,000 units per year if run continuously (P). Setting up the production line costs $400 per run (S), and holding a finished syringe in stock for a year costs $2.00 (H).
python
import math

D = 50000     # Annual Demand
P = 200000    # Annual Production Rate
S = 400       # Setup Cost
H = 2.00      # Holding Cost

# EBQ Formula calculation
ebq = math.sqrt((2 * D * S) / (H * (1 - (D / P))))

print(f"Economic Batch Quantity (EBQ): {ebq:.0f} units per run")
Use code with caution.

 

The mathematical computation shows:

  • EBQ = √( (2 × 50,000 × 400) / (2.00 × (1 − 50,000/200,000)) ) = √(40,000,000 / (2.00 × 0.75)) = √(40,000,000 / 1.50) = √26,666,666.67 = 5,164 units.
  • Strategic Rule: To minimize total organizational costs, each production run should be set to produce exactly 5,164 syringes.

Â