How to use this calculator
Balance setup and holding costs when inventory is replenished gradually during a finite-rate production run.
- Enter Annual demand (units/year), Annual production rate (units/year), Setup cost per run ($), Holding cost ($/unit/year). Match the units shown beside each field and review the result together with the assumptions below.
- Read the worked example below to check the expected input format and result.
- Compare another scenario by changing one input at a time. Use Reset to return to the starting values.
Economic production quantity explained
Use Annual demand (units/year) with Annual production rate (units/year) to reproduce the sample calculation, then review the stated limits before carrying the result into another scenario.
Example with entered values
Annual demand (units/year) = 12000; Annual production rate (units/year) = 60000; Setup cost per run ($) = 80; Holding cost ($/unit/year) = 5.
- Economic production batch: 692.82 units
- Peak cycle inventory: 554.256 units
The inputs above are an illustrative scenario. Display values are rounded after the calculation.
The calculation behind the result
EPQ = √[2DS / (h(1−D/P))]. Peak inventory = EPQ(1−D/P).
Inputs and units
- Annual demand (units/year)
- Constant annual depletion rate.
- Annual production rate (units/year)
- Rate while the item is being produced.
- Setup cost per run ($)
- Fixed cost of starting a production run.
- Holding cost ($/unit/year)
- Annual cost of holding one unit.
Before interpreting the result
Constant rates, no shortages, unchanged setup cost, and one unconstrained product are assumed. Batch integrality and scheduling constraints are excluded.
EOQ assumes instantaneous replenishment. EPQ allows demand to continue while production builds stock.
Frequently asked questions
Why must production exceed demand?
Otherwise a production run cannot build inventory.
Is the result rounded to whole units?
The economic result is continuous; assess feasible whole batches separately.
Does it include unit purchase cost?
Constant per-unit cost does not change this optimum and is omitted.
How do I use the Economic production quantity calculator?
Enter Annual demand (units/year), Annual production rate (units/year), Setup cost per run ($), Holding cost ($/unit/year). Match the units shown beside each field and review the result together with the assumptions below.
What is a worked example of Economic production quantity?
Annual demand (units/year) = 12000; Annual production rate (units/year) = 60000; Setup cost per run ($) = 80; Holding cost ($/unit/year) = 5. Economic production batch: 692.82 units Peak cycle inventory: 554.256 units The inputs above are an illustrative scenario. Display values are rounded after the calculation.
Method reference: MIT inventory models (checked October 15, 2026).
See our calculation methodology.