FREE INVENTORY TOOL

Economic order quantity (EOQ) calculator

Find the order size that keeps the total of ordering cost and holding cost as low as possible.

Free, no sign-up. Published by Windfire Admin · Updated November 17, 2026

Demand and ordering
Holding cost

What it means

Ordering in big batches means fewer orders but more stock sitting on the shelf; ordering in small batches means less stock but more ordering work and freight. The economic order quantity is the batch size where those two costs balance.

EOQ assumes steady demand, a fixed cost per order and a constant holding cost. Real life adds price breaks, minimum order quantities and pack sizes, so treat EOQ as a starting point and round to a quantity your supplier will sell.

The formula

EOQ = √(2 × annual demand × cost per order ÷ holding cost per unit per year)

Total annual cost = (annual demand ÷ Q) × cost per order + (Q ÷ 2) × holding cost per unit

Holding cost usually runs at a percentage of the unit cost per year (storage, insurance, capital, obsolescence). At the EOQ, annual ordering cost and annual holding cost are equal.

Worked example

Annual demand is 12,000 units, each order costs $50 to place and receive, and each unit costs $8 with a holding cost of 25% a year.

  1. Holding cost = 8 × 25% = $2.00 per unit per year
  2. EOQ = √(2 × 12,000 × 50 ÷ 2) = √600,000 = 774.6, so order about 775
  3. Orders per year = 12,000 ÷ 774.6 = 15.5 (about every 23.6 days)
  4. Ordering cost = holding cost = $774.60; total = $1,549.19 a year

FREQUENTLY ASKED

Questions and answers

What is a typical holding cost percentage?

Many businesses estimate 15 to 30% of the unit cost per year once storage, insurance, the cost of capital, damage and obsolescence are included. Use your own figures when you have them.

Does EOQ work with quantity discounts?

The basic formula does not. Calculate total cost (including the purchase price) at the EOQ and at each price-break quantity, and pick the lowest.

Is EOQ useful for parts we make in-house?

A related formula, the economic production quantity, replaces the cost per order with the setup cost and accounts for the production rate. The EOQ is still a quick first estimate.

How does EOQ relate to the reorder point?

EOQ tells you how much to order; the reorder point tells you when. Use both: order about the EOQ each time stock falls to the reorder point.

WHEN A SPREADSHEET STOPS BEING ENOUGH

From the right quantity to the purchase order

In WindFire, purchasing sees what needs buying, manages suppliers and purchase orders, and follows materials into receiving, with the native approval and stock rules kept in place.

Learn the method

More free tools