EPQ Calculator (Economic Production Quantity)
The economic production quantity (EPQ) extends EOQ to in-house production, where stock builds up gradually while the batch is being produced.
Also known as: economic production quantity calculator · economic batch quantity calculator · EBQ calculator · production lot size calculator
Result
- Maximum inventory
- 2,739 units
- Production runs per year
- 4.4
- Production days per run
- 22.8 days
- Total annual setup + holding cost
- ₹21,908.9
Results are estimates for planning. Confirm final rates, rules and charges with your carrier or authority.
How to use the EPQ Calculator
- Enter Annual demand, Setup cost per batch, Holding cost per unit per year, Demand rate per day, Production rate per day.
- Read the result instantly – it updates as you type, with a breakdown below the main figure.
- Use “Copy link” to share the exact calculation, or “Copy results” to paste it into an email, quote or invoice.
EPQ Calculator formula
EPQ = √(2DS ÷ (H × (1 − d ÷ p)))
d = demand rate, p = production rate
Maximum inventory = EPQ × (1 − d ÷ p)
About the EPQ Calculator
The economic production quantity (EPQ), also known as economic batch quantity, is the batch size that minimises the combined cost of machine setups and holding finished stock when items are produced in-house. It is the production counterpart of the EOQ.
Unlike a purchase order that arrives all at once, a production run adds stock gradually while demand continues to consume it. Peak inventory is therefore lower than the batch size – by the factor (1 − d ÷ p) – which makes larger batches cheaper to hold and raises the optimal quantity.
The model assumes constant demand and production rates, and that the production rate exceeds demand. In practice batch sizes are also limited by machine capacity, shelf life and how many other products share the line.
Worked example
Here is the calculation for the sample values pre-filled in the epq calculator above.
| Annual demand (units) | 20,000 |
|---|---|
| Setup cost per batch | ₹2,500 |
| Holding cost per unit per year | ₹8 |
| Demand rate per day | 80 |
| Production rate per day | 200 |
| Economic production quantity | 4,564 units |
|---|---|
| Maximum inventory | 2,739 units |
| Production runs per year | 4.4 |
| Production days per run | 22.8 days |
| Total annual setup + holding cost | ₹21,908.9 |
Who uses this tool
- Production planners setting batch sizes on shared machines.
- Food, pharma and FMCG plants balancing changeover cost with finished-goods stock.
- Operations students working through lot-sizing problems.
- Managers evaluating the benefit of quicker changeovers.
Tips to save cost and avoid mistakes
- Use the same time basis for the demand and production rates (both per day).
- Include cleaning, testing and lost output in the setup cost, not just labour.
- Cutting setup time (for example with SMED) lowers the EPQ and the stock you need to hold.
- Check that the batch fits within shelf life and storage space before adopting it.
EPQ Calculator – frequently asked questions
How is EPQ different from EOQ?
EOQ assumes the whole order arrives at once. EPQ assumes units are added gradually during production, so peak stock is lower and the optimal batch is larger.
How do you calculate EPQ?
EPQ = √(2 × annual demand × setup cost ÷ (holding cost × (1 − demand rate ÷ production rate))). With the default inputs EPQ is about 4,564 units.
Why must production rate exceed demand rate?
If production is not faster than demand, stock never builds up, so there is no batch to optimise – the line must run continuously.
What is maximum inventory in the EPQ model?
The peak stock reached at the end of a run, equal to EPQ × (1 − d ÷ p), because some output is consumed while the batch is being made.