Operations Research

Economic Order Quantity Models

Solve static EOQ problems and finite-horizon dynamic lot sizing problems interactively. Enter costs and demand, calculate the order policy, and inspect the cost breakdown period by period.

Static model EOQ
Dynamic model Wagner-Whitin
Outputs Costs
Schedule Orders

Static EOQ Inputs

Q* = sqrt(2DS / H), Total relevant cost = (D / Q)S + (Q / 2)H, and reorder point = daily demand x lead time.

Static EOQ Results

Optimal order quantity, Q* -
Orders per year -
Cycle time -
Annual ordering cost -
Annual holding cost -
Reorder point -
Total annual cost, including purchase cost -

EOQ Cost Curve

Total relevant cost Ordering cost Holding cost

Dynamic EOQ Inputs

Separate period demands with commas, spaces, or new lines. The solver assumes zero initial inventory, no shortages, fixed setup cost, and holding cost charged for units carried from one period to the next.

Period Demand
Wagner-Whitin checks every feasible order span. If an order is placed in period i to satisfy periods i through j, its cost is K plus all carrying cost needed to hold later-period demand.

Dynamic Lot Sizing Results

Minimum total cost -
Number of orders -
Total demand -
Period Demand Order quantity Ending inventory Setup cost Holding cost

Order Plan

-

Cost by Period

Inventory and Orders by Period

Ending inventory Order quantity Demand