Contents
Key points
- The optimal lot size balances setup and holding costs; the EOQ formula computes this balance for constant demand without a capacity limit.
- The cost curve is flat around the optimum: deviating by 20 per cent from the optimal lot size raises total cost by only about 2 per cent.
- At the bottleneck, every setup hour saved is output gained – larger lots pay off there; on lines with spare capacity they only add inventory and lead time.
- Shelf life, container and batch sizes, minimum quantities and sequence-dependent setup times limit the lot size further.
- An APS determines lot size, sequence and capacity together instead of fixing the lot size in the ERP in advance.
What is lot size optimisation?
The lot size is the quantity of a product made in one go without interruption by another order. Lot size optimisation determines this quantity so that the sum of setup and holding costs is as low as possible – while respecting capacity, due dates and technical limits.
Large lots save setups but tie up capital, storage space and line time that other orders lack. Small lots keep inventory and lead time low but cost setup time. The right lot size is therefore always a compromise – and it shifts with utilisation.
How does the classic lot size formula work?
The best-known method is the economic order quantity (EOQ) by Harris, known in German-speaking countries as the Andler formula. It looks for the quantity at which setup and holding costs per year are lowest in total:
Optimal lot size = √(2 × annual demand × setup cost per lot ÷ holding cost per unit and year)
The formula only holds under four assumptions: constant demand, unlimited capacity, no shelf-life limit and setup costs that do not depend on the sequence. Still, it has one useful property: the cost curve is flat around the optimum. Deviating by 20 per cent from the optimal lot size costs only about 2 per cent more – rounding to container or pallet sizes is therefore almost free.
Only valid for even demand and without a capacity limit. At the bottleneck the lot size is usually larger, because setup time costs output there.
What does the optimal lot size depend on in practice?
In practice, capacity, shelf life and technical limits determine the lot size alongside setup and holding costs.
| Factor | Effect on the lot size |
|---|---|
| Setup time and setup cost | The higher, the larger the sensible lot |
| Holding and capital cost | The higher, the smaller the sensible lot |
| Bottleneck or spare capacity | Larger lots at the bottleneck, smaller elsewhere |
| Shelf life | Upper limit: what spoils before use must not be in the lot |
| Container, tank and batch sizes | Fixed sizes or multiples instead of any quantity |
| Minimum and order quantities | Lower limit, set by process, supplier or customer |
| Sequence-dependent setup times | Lot size and sequence cannot be determined separately |
| Fluctuating demand | Dynamic instead of fixed lot sizes |
Which methods exist – and which fits when?
Simple methods suffice with stable demand and spare capacity; as soon as bottlenecks or sequence-dependent setup times play a role, capacitated lot sizing is needed.
| Method | Principle | Limit |
|---|---|---|
| Fixed lot size | One quantity per item | Ignores demand fluctuation and capacity |
| EOQ / Andler | Balances setup and holding costs for constant demand | No fluctuating demand, no capacity |
| Part period balancing, Silver-Meal | Combines demand of neighbouring periods as long as it pays off | Heuristic without capacity |
| Wagner-Whitin | Exact solution for fluctuating demand of one item | No multi-item or capacity view |
| Capacitated lot sizing in the APS | Lot size, sequence and capacity together | Needs maintained setup and capacity data |
Why does the right lot size depend on the bottleneck?
At the bottleneck, every setup hour is lost output for the whole plant; larger lots are almost always right there. On lines with spare capacity, an additional setup only costs staff time – smaller lots make sense there because they reduce inventory and lead time.
Rule of thumb: size lots at the bottleneck for throughput, everywhere else for flow. How to find the bottleneck is described in the article bottleneck planning in production.
In which types of manufacturing does lot size optimisation matter most?
- Process industry: campaigns over several lots, tank sizes and cleaning determine the quantity – see campaign formation and cleaning optimisation.
- Food: shelf life limits the lot from above.
- Parts manufacturing: setup families and tools make lot size and sequence interdependent.
- Electronics: feeder setups determine how many variants run in one go – see planning an SMD line.
- Pharmaceuticals: batch sizes are validated; what is optimised is the number of batches per campaign, not the batch size.
How does an APS determine the lot size?
An APS does not fix the lot size in advance but determines it in the planning run together with sequence and capacity. Demand within a time window is combined as long as shelf life, minimum and maximum quantities and due dates are respected; at the bottleneck, the system weights setup time more heavily than on lines with spare capacity.
For Siemens Opcenter APS, the lot size module from the MCP component set adds these rules. With stable demand and no bottleneck, however, a well-maintained fixed lot size is often enough – the effort of optimisation does not pay off then.
Which lot sizes fit your capacity?
Using your demand, setup and capacity data, we calculate how far your current lot sizes deviate from a capacity-based solution – and on which lines a change actually has an effect.
Frequently asked questions on lot size optimisation
The lot size is the quantity made in one go. A batch is a quantity with uniform properties, for example from one mix or oven run; a lot can consist of several batches, for example within a campaign.
Lot size one means producing each piece as a lot of its own, economical only with almost setup-free processes. It is more a guiding idea of flexible manufacturing than a general goal; at the bottleneck, bundling usually remains more economical.
At least once a year and after any major change in demand, setup time or capacity. Lot sizes fixed in the ERP become outdated unnoticed – an APS, by contrast, determines them anew in every planning run.
Yes, the formula originally comes from order quantity planning: ordering costs replace setup costs. Quantity discounts and minimum order quantities shift the result and must be assessed separately.
Demand with dates, setup times and costs per changeover, holding cost rates, capacities and technical limits such as shelf life, minimum quantities and container sizes. Reliable sequence-dependent setup times are missing most often.
Sources and notes
The formulas and methods are standard knowledge in operations management; the values in the calculator can be set freely and are not project results.
- F. W. Harris: How Many Parts to Make at Once. Factory, The Magazine of Management, 1913; reprinted in Operations Research 38(6), 1990, doi:10.1287/opre.38.6.947.
- K. Andler: Rationalisierung der Fabrikation und optimale Losgröße. Oldenbourg, Munich 1929.
- H. M. Wagner, T. M. Whitin: Dynamic Version of the Economic Lot Size Model. Management Science 5(1), 1958, doi:10.1287/mnsc.5.1.89.
- E. A. Silver, H. C. Meal: A Heuristic for Selecting Lot Size Quantities for the Case of a Deterministic Time-Varying Demand Rate. Production and Inventory Management 14(2), 1973.
- H. Tempelmeier: Material-Logistik. Springer – standard work on dynamic and capacitated lot sizing.
Related articles: Campaign formation and cleaning optimisation · Bottleneck planning · Production planning metrics
An overview of selection and implementation is given in the guide production planning software; all articles are listed under end-to-end planning.
For manufacturers
Where is the biggest lever in your planning?
Every production operation plans differently. Let’s look at your process together: where do bottlenecks occur today, which use case offers the greatest leverage, and what results can realistically be achieved?
Book a potential analysisDaniel Walkiewicz
Daniel Walkiewicz is a Partner at MCP Algorithm Factory, where he is responsible for detailed production scheduling and APS process consulting. He has been implementing planning projects at MCP since 2010. As a company, MCP has put more than 300 planning projects into operation and runs one of the largest Opcenter APS teams in Europe.

























