Batch size (or lot size) is the quantity of a product made in one run before switching to another. Large batches spread changeover cost over more units but inflate WIP, lengthen lead time, and hide defects.
Lean strives toward ever-smaller batches (ideally one-piece flow), which is only economical once changeover time is driven down through SMED. The economic trade-off for purchased parts is captured by the EOQ model.
Example. A press makes a part with a 2-second cycle and a 30-minute changeover. At a batch of 5,000 the changeover adds 0.36 seconds per part (1,800 s / 5,000) and the batch ties up 2.8 hours of press time plus a queue of 5,000 parts downstream. Cut the changeover to 6 minutes with SMED and a batch of 1,000 carries the same 0.36 seconds per part with one fifth of the WIP and lead time.
The arithmetic is why lead time, not unit cost, is the right lens: changeover time sets the smallest batch that keeps the machine's capacity, and batch size sets the lead time through every step after it. For purchased parts the batch size calculator charts the EOQ trade-off between order cost and holding cost. The batch size guide covers the production case.