Economic Order Quantity (EOQ) Calculator

Calculate EOQ with the economic order quantity formula, including total ordering and holding costs and an optional comparison against your current ordering policy.

Formatting only. Enter every amount already in this currency; no conversion is applied.

Direct holding cost
Recommended order quantity (EOQ) Rounded to whole units
Total relevant annual cost Sum of ordering & holding costs
Days between orders Based on operating days

Supporting inventory metrics

  • Economic Order Quantity (precise)
  • Annual demand
  • Annual holding cost per unit
  • Estimated orders per year
  • Average cycle inventory
  • Annual ordering cost at EOQ
  • Annual holding cost at EOQ

What Economic Order Quantity (EOQ) means

Economic Order Quantity (EOQ) is a classic inventory-management equation that helps companies determine the optimal order size for replenishing inventory. It answers the fundamental question: how much should we order in a single batch to minimize the total combined costs of placing orders and holding physical stock?

In any inventory system, you face a trade-off between two opposing cost drivers:

The Economic Order Quantity is the model point where the sum of these two conflicting costs is minimized under the classic assumptions.

The EOQ formula and variable definitions

The classic Economic Order Quantity model uses this EOQ formula:

EOQ = √((2 × D × S) / H)

Where the variables are defined as:

How to use the calculator

  1. Select your preferred Calculation Mode using the switch at the top. Use Direct holding cost if you have a pre-calculated cost per unit per year. Use Derive holding cost to compute H based on unit pricing and your overall carrying rate percentage.
  2. Enter your Annual demand in units and the fixed Ordering cost per order in your preferred currency.
  3. Specify either the annual unit holding cost or your unit cost and carrying-cost rate depending on your active mode.
  4. Optionally, enter your Current order quantity to compare your current inventory procurement policy with the EOQ estimate.
  5. Enter Operating days per year if your business operates on a non-standard calendar (for example, 250 working days instead of 365) to get an order-interval estimate.

How to interpret ordering cost vs holding cost

A key mathematical property of the classic EOQ model is that the optimal point occurs where annual ordering cost is equal to annual holding cost.

If your calculated ordering cost is much higher than your holding cost, your batch sizes are too small, causing you to spend too much on purchasing overhead. Conversely, if holding cost dominates your annual bill, you are ordering too much at once and holding excess stock. The EOQ coordinates your order intervals to bring these forces into balance.

EOQ vs Reorder Point vs Safety Stock

Effective inventory planning requires answering three distinct questions, each addressed by a separate tool:

Worked example

Let's examine a common retail scenario:

Using the formula:

EOQ = √((2 × 12,000 × 75) / 4) = √(1,800,000 / 4) = √(450,000) ≈ 670.82 units.

For practical fulfillment, this rounds to a recommended order quantity of 671 units. At this optimum:

If the business was previously ordering 200 units at a time, its total cost was $4,900 annually. Moving to the EOQ size reduces the modeled ordering and holding costs by $2,216.72 per year, a 45.2% reduction.

Assumptions and limitations

The classic EOQ model is useful, but it is based on several simplifying assumptions:

How EOQ fits with safety stock and reorder point

EOQ answers how much to order; the Safety Stock Calculator and Reorder Point Calculator answer when to order. See the Inventory Planning Formulas guide for one worked scenario that carries all four inventory formulas through together.

Frequently asked questions

What is Economic Order Quantity (EOQ)?

Economic Order Quantity (EOQ) is the ideal order quantity a company should purchase to minimize its total inventory costs, such as holding costs, shortage costs, and order costs. It determines the optimal order size that balances the cost of placing an order with the cost of keeping stock on hand.

What is the EOQ formula?

The classic EOQ formula is: EOQ = sqrt((2 x D x S) / H), where D is the annual demand in units, S is the fixed cost per order (setup cost), and H is the annual holding cost per unit (also known as carrying cost).

What counts as ordering cost?

Ordering cost (or setup cost) is the total cost incurred every time you place an order. It includes the labor costs of preparing purchase orders, communication costs, shipping and handling fees, customs duties, inspection costs, and receiving labor. It does not include the actual purchase price of the items.

How do I calculate annual holding cost per unit?

Annual holding cost per unit (H) can be entered directly if known, or derived as: H = Unit Cost x Annual Carrying-Cost Rate. For example, if an item costs $20 and your annual carrying-cost rate is 20%, the annual holding cost is $4 per unit per year.

Does EOQ include safety stock?

No. The classic EOQ model assumes constant, predictable demand and instant replenishment, meaning safety stock is not modeled. In practice, safety stock is held as a separate buffer against demand spikes and lead-time delays, while EOQ determines the size of regular replenishment batches.

What is the difference between EOQ and reorder point?

EOQ answers how much to order when you replenish stock. Reorder Point (ROP) answers when to order by looking at expected demand during the lead time plus safety stock buffer. Together, they form the foundation of continuous-review inventory policy.

When is the classic EOQ model unreliable?

The classic model becomes less reliable when demand is highly volatile, ordering or holding costs fluctuate significantly, suppliers offer quantity discounts (which require more complex modeling), or replenishment is gradual rather than instant.