Skip to main content

Derivation of economic order quantity

Short answer

EOQ = sqrt(2DS/H) derived by minimizing total cost (ordering + holding) assuming constant demand, lead time, costs, and instantaneous receipt. At EOQ, annual ordering cost equals annual holding cost, each = sqrt(DSH/2).

Derive the formula for economic order quantity (EOQ) for the basic model, stating the assumptions. Also show that at EOQ the ordering cost equals the holding cost.

Economic order quantity is the order size that minimises the total annual inventory cost (ordering plus holding).

Assumptions

  • Demand DD per year is known and constant.
  • Lead time is constant and no shortage is allowed.
  • Whole order of QQ units arrives at once.
  • Ordering cost SS per order and holding cost HH per unit per year are constant.
  • Price per unit does not depend on the quantity (no discount).

Derivation

Inventory falls uniformly from QQ to 0, so the average inventory is Q/2Q/2.

Annual ordering cost=DQS,Annual holding cost=Q2H\text{Annual ordering cost} = \frac{D}{Q} S, \qquad \text{Annual holding cost} = \frac{Q}{2} H TC=DQS+Q2HTC = \frac{D}{Q}S + \frac{Q}{2}H

(The purchase cost DCDC is constant and is left out of the minimisation.) For minimum cost, differentiate with respect to QQ:

dTCdQ=−DSQ2+H2=0  ⇒  Q2=2DSH\frac{dTC}{dQ} = -\frac{DS}{Q^2} + \frac{H}{2} = 0 \;\Rightarrow\; Q^2 = \frac{2DS}{H} Q∗=2DSH\boxed{Q^* = \sqrt{\frac{2DS}{H}}}

The second derivative 2DS/Q32DS/Q^3 is positive, so this is a minimum.

Ordering cost equals holding cost at EOQ

From Q∗2=2DS/HQ^{*2} = 2DS/H, we get DQ∗S=Q∗2H\dfrac{D}{Q^*}S = \dfrac{Q^*}{2}H because both equal DSH/2\sqrt{DSH/2}. Hence

TCmin=2DSH2=2DSHTC_{min} = 2\sqrt{\frac{DSH}{2}} = \sqrt{2DSH}

Related results

Number of orders per year N=D/Q∗N = D/Q^*; time between orders T=Q∗/DT = Q^*/D; reorder point =d×L= d \times L (daily demand times lead time). The total cost curve is flat near the EOQ, so small changes in QQ change cost very little.

✓ Answer checked by Claude Opus 5.5 (high effort)

All Industrial Engineering and Management chapter 4 questions →