Part of the Manufacturing & Industry suite · 38 calculators

Economic Production Quantity Calculator

The economic production quantity — the batch size that minimises setup plus holding cost when items are produced at a finite rate and consumed while they are made — with the cycle length, maximum inventory and yearly cost.

The EOQ assumes a whole order arrives at once; when you make the parts yourself they arrive gradually while demand draws them down, so inventory never reaches the full batch.

Results update as you type
Results
Economic production quantity
3,200 units
Batches per year
Time between batch starts
Production run length
Maximum inventory
Total setup + holding cost per year
Reviewed September 2026. Operations arithmetic: the same measures in every plant, in your own units. OSHA machine guarding and lockout/tagout standards apply regardless of throughput targets.
No account required · Google Analytics off unless allowedCalculator arithmetic runs in your browserResults update as you type
All calculations run 100% in your browser. The calculator code does not submit your figures to GlobalCalc to obtain a result.
About economic production quantity

How the economic production quantity calculator works

The EOQ assumes a whole order arrives at once; when you make the parts yourself they arrive gradually while demand draws them down, so inventory never reaches the full batch. The EPQ corrects for that with the ratio of demand to production rate: Q = √(2DS ÷ (H(1 − D ÷ P))). The faster you can make them relative to demand, the closer it sits to the EOQ.

Formula: Q* = √(2 D S ÷ (H (1 − D ÷ P))); max inventory = Q (1 − D ÷ P)

Worked examples

InputsEconomic production quantityNote
Demand 24,000, rate 96,000, setup 400, holding 2.503,200 units3,200 units, 7.5 batches a year
A busy line: rate only 1.5× demand4,800 units4,800 units
Cheap setup: 501,131 units1,131 units

Frequently asked questions

How is this different from the EOQ?

The EOQ assumes the whole order arrives at once; the EPQ has the batch arriving over the run while demand consumes it, so average inventory is lower and the optimum batch is larger by 1 ÷ √(1 − D/P).

What if I can make far faster than demand?

Then D ÷ P is small and the EPQ is close to the EOQ; the correction only matters when the line is busy — at P = 2D the batch is 41% larger than the EOQ.

What should the setup cost include?

The labour and machine time of the changeover, any scrap during start-up, and cleaning — everything that would not be spent if the batch were twice as big. Reducing it (SMED) is what shrinks batches.

Does this handle several products on one line?

Not directly — each product’s EPQ assumes the line is free when its run is due. For a shared line use the economic lot scheduling approach, or check that the run lengths fit inside the cycle.

Where these figures come from

Last checked: September 2026. Definitions follow standard operations-management practice; where plants commonly differ, the page says so.