When you make an item in batches, each run needs a setup and the output builds stock while the machine runs. This economic production quantity calculator finds the run size that balances setup and holding costs, and shows the runs per year, the days between runs, the maximum inventory and the annual cost, with the EOQ for comparison.
How the calculation works
- Economic production quantity = √(2 × demand × setup cost ÷ (holding cost × (1 − demand ÷ production rate))).
- Runs per year = demand ÷ quantity.
- Maximum inventory = quantity × (1 − demand ÷ production rate), because stock builds only while production exceeds demand.
- Annual cost = setup cost × runs + holding cost × maximum inventory ÷ 2.
- Production days per run = quantity ÷ production rate × 365.
Example
A product has demand of 12,000 units a year, a $150 setup, a holding cost of $2 per unit and a production rate of 40,000 a year. The best run is 1,604 units, started every 49 days (7.5 runs a year) and produced in 15 days. The maximum inventory is 1,123 units and the annual setup and holding cost is about $2,245. Ignoring the production rate would suggest 1,897 units.
Why it matters
Short runs waste time on setups, and long runs tie up cash in stock. The best run size sits in between and is flatter than people expect, which gives you room to choose a convenient size. Comparing the result with your current batch size shows how much money you could save and whether reducing setup time pays off.
Good to know
Cutting the setup cost has a large effect, because the best run size and the annual cost both fall with the square root of the setup cost. Holding cost should include capital, storage, insurance and obsolescence, often 15 to 30 percent of unit value a year. The formula assumes steady demand and one product on the line, so with several products you need to schedule runs together. Round the result to a practical lot size, such as a full pallet or a full shift, since the cost curve is flat near the minimum.
Related tools
The EOQ calculator covers purchased items, the reorder point calculator sets the trigger for replenishment, and the inventory turnover calculator tracks how fast stock sells.