Skip to content
Omnikalc

Economic production quantity calculator: how big should each production run be?

Enter annual demand, setup cost, holding cost and production rate to get the best run size, the runs per year, the maximum inventory and the annual cost.

Updated on
Your inputs
units

Value out of range

$

Value out of range

$

Value out of range

units

Value out of range

Results

Economic production quantity

1,604 units

Annual setup and holding cost

$2,245

Production runs per year
7.5
Days between run starts
48.8 days
Days spent producing in each run
14.6 days
Maximum inventory
1,122 units
Order size if production were instant (EOQ)
1,342 units

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.

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.

Frequently asked questions

What is the economic production quantity?

The run size that minimizes the sum of setup and holding costs for items you make yourself, taking into account that stock builds up gradually while production is running.

How is it different from EOQ?

EOQ assumes the whole order arrives at once. EPQ allows for production over time, which lowers the average inventory and raises the best run size.

What happens if production is only slightly above demand?

The run size grows large because stock builds slowly. The formula needs the production rate to exceed demand.

What costs should I include in setup?

Changeover labor, scrap during start-up, lost production during the setup and any paperwork, not just the cost of tools.

Was this calculator helpful?

Thanks for your feedback!

Results are estimates provided for information purposes. They do not replace professional advice.