Both models minimize total inventory cost — but one assumes your stock shows up all at once, and the other assumes it trickles in while you're still using it.
Economic Order Quantity (EOQ) and Economic Production Quantity (EPQ) are the two classic lot-sizing models every industrial engineer learns, and they get confused constantly because the formulas look almost identical and both answer the same question: "how much should I order or produce at a time to minimize total annual inventory cost?" The difference that actually matters is a single assumption about how replenishment arrives — instantaneously, or gradually while demand keeps eating into it. Get that assumption wrong and you'll size a production run using a formula built for a supplier delivery, and understate your required batch size.
EOQ (Economic Order Quantity) assumes the entire order quantity arrives in inventory in one instant — a truck backs up to the dock, the whole lot is unloaded, and inventory jumps straight up to its maximum level before demand starts drawing it back down. This is the right model for purchased items from an external supplier: EOQ = √(2DS / H), where D is annual demand, S is the fixed cost per order (setup/ordering cost), and H is the annual holding cost per unit.
EPQ (Economic Production Quantity), also called the Economic Manufacturing Quantity (EMQ), assumes the lot is produced internally at a finite production rate p, while demand at rate d is simultaneously drawing down the same stock during the production run. Inventory therefore ramps up gradually during production (at rate p − d, not all at once) and only starts falling once the production run ends. Because stock never has to cover the full lot size at any single moment, the maximum inventory level — and the resulting holding cost — is always lower than EOQ predicts for the same lot size, which is why EPQ intentionally recommends a larger optimal lot: EPQ = √[ (2DS / H) × (p / (p − d)) ].
If the answer is yes — a purchase order fills the warehouse in a single delivery — use EOQ. If the answer is no — a machine is actively producing units, and downstream demand is drawing from the same growing pile in real time — use EPQ. The tell is always the production rate p: EOQ has no such rate because replenishment is treated as instantaneous, while EPQ requires knowing both p and d to compute how fast inventory actually accumulates net of consumption. A common mistake is applying EOQ to an internally manufactured item anyway, which understates the optimal batch size and — because EOQ ignores the ramp-up period — also misstates the true holding cost and cycle time, since it assumes a maximum inventory level the process will never actually reach.
The formulas do look like close cousins, and mathematically EOQ is a special case of EPQ (as p → ∞). But treating EPQ as an afterthought correction misses the point: the entire inventory profile is different. EOQ's classic sawtooth chart — instant spike, straight-line decline to zero — simply does not describe what happens on a production line where the same machine is simultaneously filling and draining the same buffer. Using EOQ's peak-inventory assumption (Q) for a manufactured item overstates the actual maximum stock level, which cascades into an overstated holding-cost estimate and an understated optimal batch size — errors that compound directly into the total annual cost estimate the whole exercise exists to minimize.