Calculate total batch manufacturing cost including setup, run time, and inspection costs. Determine cost per unit for any production batch size.
Batch costing is applied when products are manufactured in defined groups or batches rather than as individual units or continuous flows. Each batch incurs setup costs to prepare machinery, run costs that scale with batch quantity, and inspection costs to verify quality before the batch ships. Understanding the total batch cost — and the resulting cost per unit — is essential for production planning, batch-size optimization, and pricing.
Setup costs are fixed per batch regardless of quantity: machine changeover, tooling installation, first-article inspection, and programming. Run costs scale linearly with the number of units in the batch — each unit requires a cycle of machine time, operator time, and material. Inspection costs may include sampling, testing, and documentation that apply to the batch as a whole.
This calculator helps production planners and cost estimators compute the total batch cost and per-unit cost for any batch size. It also illustrates how larger batches spread setup costs across more units, reducing the per-unit cost — a key consideration when balancing batch size against inventory carrying costs.
Every time you set up a machine, you spend money before a single good part is made. This calculator shows exactly how that setup cost, combined with run and inspection costs, drives your per-unit cost at different batch sizes. Use it to find the sweet spot between small batches (low inventory, high per-unit cost) and large batches (high inventory, low per-unit cost).
Batch Cost = Setup Cost + (Run Cost per Unit × Batch Quantity) + Inspection Cost Cost per Unit = Batch Cost ÷ Batch Quantity
Result: $15.75 per unit
Setup = $500. Run cost = $12 × 200 = $2,400. Inspection = $150. Total batch cost = $500 + $2,400 + $150 = $3,050. Cost per unit = $3,050 ÷ 200 = $15.25 per unit.
Setup cost is the primary driver of batch-size decisions. A $500 setup on a 50-unit batch adds $10/unit; on a 500-unit batch it adds only $1/unit. Lean manufacturers invest heavily in setup reduction (SMED) to make smaller batches economical. When setup drops from 2 hours to 15 minutes, the economic batch size drops dramatically, enabling more responsive production.
The economic batch quantity (EBQ) formula balances setup cost against inventory carrying cost: EBQ = √(2DS / H) × √(P / (P − D)), where D is annual demand, S is setup cost, H is annual holding cost per unit, and P is production rate. This gives the batch size that minimizes combined setup and holding costs.
Most manufacturers track batch costs in their ERP system. When a production order is created, the system assigns a batch number and accumulates material issues, labor transactions, and overhead against it. At batch completion, the system calculates actual cost per unit and compares it to the standard cost for variance analysis.
Batch costing accumulates costs for a group of identical units produced together. Each batch is treated as a cost unit that absorbs setup, run, and inspection costs. The total batch cost divided by good units produced gives the cost per unit.
Larger batches spread the fixed setup cost over more units, reducing per-unit cost. However, larger batches also mean more inventory to store and the risk of obsolescence. The optimal batch size balances these opposing factors.
Setup cost includes machine changeover time (labor and lost production), tooling installation, first-article inspection, CNC program loading, material staging, and any calibration required. It is incurred once per batch regardless of batch quantity.
Reduce setup time through standardization and SMED methodology. Improve run efficiency with better tooling and process optimization. Implement statistical sampling instead of 100% inspection. Optimize batch sizes using EOQ or lean production principles.
Yes. If you need 200 good units and expect a 3% scrap rate, plan to produce 207 units. The cost of scrapped units is part of the batch cost. Alternatively, calculate cost per good unit by dividing total batch cost by the number of good units only.
Batch costing treats a batch of identical items as the cost unit. Job costing tracks costs for a unique job or order, which may contain one or many different items. Batch costing is a subset of job costing where the job happens to be a batch of identical parts.