Economic Order Quantity (EOQ) Calculator

Economic order quantity (units)774.60
Orders per year15.49
Annual ordering + holding cost$1,549.19
Days between orders23.6 days
How this was calculated
  1. EOQ = square root of (2 x demand x order cost / holding cost) = sqrt(2 x 12,000 x $50.00 / $2.00) = 774.5967 units.
  2. At that batch size you order 15.49 times a year, once every 23.6 days.
  3. Annual ordering cost and holding cost are equal at the optimum, and together come to $1,549.19 — the minimum achievable total for these inputs.

Our economic order quantity calculator applies the classic EOQ formula — the square root of (2 × annual demand × cost per order ÷ holding cost per unit per year) — to find the order size that minimizes your total inventory cost. Enter your annual demand, your cost per order, and your holding cost per unit per year, and the calculator returns the optimal order quantity along with the number of orders per year and the combined ordering and holding cost. At the EOQ, annual ordering cost exactly equals annual holding cost, and their sum is the minimum possible total for the given inputs.

The economic order quantity model was published by Ford W. Harris in 1913 and remains the foundation of inventory management. It is the accepted standard because it identifies the precise point where ordering and holding costs balance, giving a clear, repeatable answer. The model assumes demand is steady, lead time is known, and the whole order arrives at once — real businesses adjust for seasonality and safety stock. This page shows the formula, step-by-step workings, worked examples and sources so you can verify every result.

Worked examples

A fast-moving retail item

Primary result: 774.60 — ordering about 775 units at a time means 15.49 orders a year and $1,549.19 of combined ordering and holding cost. (12000 units · 50 $ · 2 $)

Economic order quantity (units)774.60
Orders per year15.49
Annual ordering + holding cost$1,549.19
Days between orders23.6 days

Costly orders push the batch up

Primary result: 433.01 — fewer, bigger orders: 11.55 a year, one every 31.6 days. (5000 units · 75 $ · 4 $)

Economic order quantity (units)433.01
Orders per year11.55
Annual ordering + holding cost$1,732.05
Days between orders31.6 days

A high-volume component

Primary result: 1,442.22 — 18.03 orders a year at the cost-minimising batch size. (26000 units · 120 $ · 3 $)

Economic order quantity (units)1,442.22
Orders per year18.03
Annual ordering + holding cost$4,326.66
Days between orders20.2 days

The square-root formula and its logic

The economic order quantity model was published by Ford W. Harris in 1913 and remains the foundation of inventory management. Its logic rests on a simple tug-of-war. Every time you place an order, you pay a fixed cost per order, so ordering in bigger batches spreads that fixed cost over more units and lowers your total ordering cost. But bigger batches also mean more units sitting in storage, which raises your average stock and the holding cost that comes with it. The two forces push in opposite directions, and the square root in the formula is what balances them.

The formula itself is EOQ = square root of (2 x annual demand x cost per order / holding cost per unit per year). The multiplication by annual demand and cost per order reflects the benefit of ordering less often, while dividing by holding cost reflects the penalty of holding more stock. Because the result is a square root, the optimal order size grows with demand but at a decreasing rate — doubling demand does not double the ideal batch. At the EOQ, annual ordering cost exactly equals annual holding cost, and their sum is the minimum possible total for the given inputs. That crossover point is where neither cost dominates, and any move away from it makes the combined total rise.

A quick example makes the balance concrete. With demand of 12,000 units, a cost of $50 per order, and a holding cost of $2 per unit per year, the EOQ is 774.60 units. That works out to 15.49 orders a year and a combined ordering plus holding cost of $1,549.19. Order more often and the ordering cost climbs above the holding cost; order less often and the holding cost climbs above the ordering cost. Either way, the total moves above that minimum.

The same math scales to different operations. Demand of 5,000 units, $75 per order, and $4 holding cost gives an EOQ of 433.01 units, or an order every 31.6 days. Demand of 26,000 units, $120 per order, and $3 holding cost gives 1,442.22 units and 18.03 orders a year. In each case the square root finds the batch size where the two cost curves cross. An economic order quantity calculator applies this formula instantly, but it is still built on assumptions that matter.

The model assumes demand is steady, lead time is known, and the whole order arrives at once — real businesses adjust for seasonality and safety stock. The formula gives a baseline, not a final answer, but the intuition behind it holds across nearly any inventory setting: match the cost of ordering against the cost of holding, and the square root tells you where they meet.

The three worked examples

The best way to understand the economic order quantity calculator is to see it in action. The formula EOQ = square root of (2 x annual demand x cost per order / holding cost per unit per year) produces a single number that minimizes the combined cost of ordering and holding inventory. At that point, annual ordering cost exactly equals annual holding cost, and their sum is the lowest possible total for the given inputs.

Consider a business with annual demand of 12,000 units, a cost per order of $50, and a holding cost of $2 per unit per year. Plugging those values into the EOQ formula yields 774.60 units per order. That translates to 15.49 orders a year, and the combined annual cost of ordering and holding drops to $1,549.19. Order too much and holding cost climbs above ordering cost. Order too little and the pattern reverses. The EOQ sits at the exact point where the two costs balance.

A second example uses demand of 5,000 units, $75 per order, and a holding cost of $4 per unit per year. Here the formula returns 433.01 units, which corresponds to an order every 31.6 days. Because demand is assumed steady, the spacing between orders stays even throughout the year. A third example raises demand to 26,000 units with $120 per order and $3 holding cost. The result is 1,442.22 units per order and 18.03 orders a year. In every case the same principle holds: ordering cost and holding cost converge, and their combined total reaches its floor.

These figures are only as reliable as the assumptions behind them. The model published by Ford W. Harris in 1913 assumes demand is steady, lead time is known, and the whole order arrives at once. Real businesses adjust for seasonality and safety stock, but the underlying logic still guides inventory decisions more than a century later.

Annual Demand (units)Cost per OrderHolding Cost per Unit per YearEOQ (units)Order FrequencyMinimum Total Cost
12,000$50$2774.6015.49 orders a year$1,549.19
5,000$75$4433.01Every 31.6 days—
26,000$120$31,442.2218.03 orders a year—
At the EOQ, annual ordering cost exactly equals annual holding cost, and their sum is the minimum possible total for the given inputs.

Getting honest inputs

The economic order quantity model published by Ford W. Harris in 1913 has held up for more than a century because the math is simple. The challenge is feeding it numbers that reflect reality. Any economic order quantity calculator will happily produce a precise result from whatever inputs you give it, but the output is only as trustworthy as the figures you enter.

Holding cost is the input most often underestimated. Businesses tend to count warehousing and insurance and stop there, forgetting that the money tied up in inventory has a cost of its own. If you could have invested that cash elsewhere, the return you gave up is a real holding cost. Include a capital cost component, reflecting the opportunity cost of funds locked in stock, along with storage, handling, shrinkage, obsolescence, and insurance. Understating holding cost inflates the EOQ and leaves you carrying more inventory than you should.

Order cost is the other input that frequently gets muddled. The cost per order should cover the fixed expenses of placing and receiving one order: paperwork, approval steps, inbound freight, inspection, and setup. It should exclude the per-unit purchase price. The model already accounts for the purchase itself through annual demand, so folding unit price into order cost double-counts it and distorts the result. A $50 order cost means $50 regardless of whether you order 100 units or 1,000.

The model also assumes demand is steady, lead time is known, and the whole order arrives at once. Real businesses adjust for seasonality and safety stock, but those adjustments come after the EOQ, not inside it. Get the base inputs honest first: annual demand in units, true per-order cost without unit price, and a holding cost that includes capital cost. With those three figures straight, the calculator gives a result worth using.

Where EOQ stops working

The economic order quantity model, published by Ford W. Harris in 1913, relies on a specific set of assumptions: demand is steady, lead time is known, and the whole order arrives at once. These assumptions make the math clean and the results actionable, which is why the formula EOQ = square root of (2 x annual demand x cost per order / holding cost per unit per year) has remained the foundation of inventory management for over a century. But real businesses rarely operate inside such tidy boundaries. When conditions shift, the number an economic order quantity calculator returns can look precise while being misleading.

Promotions and bulk discounts are among the most common disruptions. The model assumes a constant cost per order and a flat holding cost per unit, but suppliers frequently offer price breaks for larger purchases. A vendor might quote a lower per-unit price if you buy 1,000 units instead of the 433.01 units the formula suggests for a demand of 5,000, $75 per order, and $4 holding cost. In that case, the savings from the discount can outweigh the extra holding cost, making the calculated EOQ a starting point rather than a final answer.

Perishable goods and lumpy demand create similar problems. The model treats demand as a smooth, steady stream, so it works well for items with predictable usage patterns. It breaks down when demand spikes during a holiday season, when a single large customer places irregular orders, or when products expire before they sell. A demand of 26,000 units, $120 per order, and $3 holding cost yields an EOQ of 1,442.22 units and 18.03 orders a year, but if half that demand arrives in a six-week window, ordering evenly across 365 days will leave shelves empty when customers are ready to buy and stockrooms full when they are not.

None of this means the model is useless. It means the output should be treated as a baseline that you adjust for real-world conditions. Businesses add safety stock to cover lead time variability, shift order timing to match seasonal patterns, and compare the combined ordering and holding cost against the savings from volume discounts. The worked example showing demand of 12,000 units, $50 per order, and $2 holding cost produces an EOQ of 774.60 units, 15.49 orders a year, and $1,549.19 of combined cost is only optimal if every assumption holds. When they do not, the number is a reference point, not a rule.

FAQs

What is the EOQ formula?

The EOQ formula is the square root of twice annual demand times order cost, divided by the annual holding cost per unit. This calculation gives you the ideal order quantity that minimizes the total cost of ordering and holding inventory.

What counts as holding cost?

Holding cost includes warehousing, insurance, spoilage, shrinkage and the opportunity cost of the cash tied up in stock, per unit per year. These are the costs you incur for keeping items in storage rather than selling them immediately.

What counts as order cost?

Order cost is the fixed cost of placing and receiving one order: admin, delivery, inspection and payment processing. It covers the expenses involved each time you submit a purchase order and take delivery, regardless of how many units you buy.

Why are ordering and holding costs equal at the EOQ?

One falls and the other rises with batch size; the total is minimised exactly where the two curves cross. At that point, the cost of ordering more units balances the cost of holding them, giving you the lowest combined expense.

How many orders a year does the EOQ imply?

The number of orders per year is annual demand divided by the EOQ — 15.49 in the first worked example. This tells you how frequently you need to place orders to meet demand while keeping inventory costs as low as possible.

What does EOQ ignore?

EOQ ignores quantity discounts, demand swings, perishability and lead-time variability; pair it with a reorder-point and safety-stock policy. This helps account for real-world conditions that the basic formula does not cover on its own.

Sources

Related calculators

Inventory Turnover Calculator
How many times a year your stock sells through — and how many days the average item sits on the shelf before it goes.
Inventory Days Calculator
Days inventory outstanding (DIO): how many days of cost of goods sold are sitting in your average inventory — the first of the three legs of the cash conversion cycle.
Working Capital Calculator
Current assets minus current liabilities — the short-term cushion a business actually runs on, with the current ratio and the cushion's share of assets.
Cash Conversion Cycle Calculator
How many days your cash is trapped between paying for stock and collecting from customers — DIO plus DSO minus DPO, with the operating cycle shown.