Warehouse & Inventory

EOQ Calculator (Economic Order Quantity)

The economic order quantity (EOQ) is the order size that balances the cost of placing orders against the cost of holding stock. Enter annual demand, cost per order and holding cost to get the EOQ, orders per year and total annual cost.

Also known as: economic order quantity calculator · optimal order quantity calculator · EOQ formula calculator · Wilson EOQ model

Enter details

₹
₹

Result

Economic order quantity774.6 units
Orders per year
15.5
Days between orders
23.6 days
Annual ordering cost
₹7,745.97
Annual holding cost
₹7,745.97
Total annual cost
₹15,491.93

Results are estimates for planning. Confirm final rates, rules and charges with your carrier or authority.

How to use the EOQ Calculator

  1. Enter Annual demand, Cost per order, Holding cost entered as, Working days per year.
  2. Read the result instantly – it updates as you type, with a breakdown below the main figure.
  3. Use “Copy link” to share the exact calculation, or “Copy results” to paste it into an email, quote or invoice.

EOQ Calculator formula

EOQ = √(2 × D × S ÷ H)
D = annual demand, S = cost per order, H = holding cost per unit per year
Total cost = (D ÷ EOQ) × S + (EOQ ÷ 2) × H

About the EOQ Calculator

The economic order quantity (EOQ), also called the Wilson formula, is the classic answer to the question "how much should I order each time?". Ordering small quantities often keeps stock low but multiplies purchase, freight booking and receiving costs; ordering large quantities rarely does the opposite. EOQ finds the size where the two costs balance.

At the EOQ the annual ordering cost equals the annual holding cost, which is why the total cost is at its lowest. The model assumes steady demand, a fixed lead time and no quantity discounts.

In practice EOQ is a starting point. Buyers round it to case, pallet or truck multiples, check it against supplier minimum order quantities and price breaks, and combine it with a reorder point and safety stock to decide when to order. The total-cost curve is flat near the optimum, so ordering 10–20% more or less than the EOQ usually raises cost only slightly.

Worked example

Here is the calculation for the sample values pre-filled in the eoq calculator above.

Inputs
Annual demand (units)12,000
Cost per order₹500
Holding cost entered asFixed amount per unit per year
Holding cost per unit per year₹20
Working days per year365
Results
Economic order quantity774.6 units
Orders per year15.5
Days between orders23.6 days
Annual ordering cost₹7,745.97
Annual holding cost₹7,745.97
Total annual cost₹15,491.93

Who uses this tool

  • Purchase managers setting standard order quantities for regularly bought SKUs.
  • Small businesses and distributors deciding how often to reorder from a supplier.
  • Supply chain students and analysts checking the trade-off between ordering and holding cost.
  • Planners comparing whether a full-truck order is close enough to the economic quantity.

Tips to save cost and avoid mistakes

  • Include only costs that change with the number of orders (PO processing, inbound freight booking, receiving, inspection) in the cost per order.
  • Base holding cost on a realistic carrying rate – often 15–30% of unit cost per year – not just warehouse rent.
  • Round the EOQ to a pack, pallet or vehicle multiple; the cost penalty for a modest rounding is usually small.
  • If a supplier offers a price break above the EOQ, compare total cost including purchase price at both quantities.
  • Recalculate when demand, freight rates or interest rates change significantly.

EOQ Calculator – frequently asked questions

How is EOQ calculated?

Take the square root of 2 × annual demand × cost per order ÷ holding cost per unit per year. With D = 12,000, S = 500 and H = 20, EOQ ≈ 775 units.

What costs go into the cost per order?

Purchase processing, transport booking, receiving and inspection costs that are incurred each time an order is placed, regardless of its size.

When is EOQ not suitable?

When demand is highly seasonal, suppliers offer volume discounts, or minimum order quantities and truck sizes force different order sizes.

What is holding cost in EOQ?

The cost of keeping one unit in stock for a year: capital tied up, storage space, insurance, handling and the risk of damage or obsolescence. It is often expressed as a percentage of unit cost.

Is total cost minimum exactly at the EOQ?

Yes. At the EOQ the annual ordering cost equals the annual holding cost, and their sum is at its lowest point.

Related tools