Skip to content
Investment Math
Investment Math

Currency and number style

Only changes how amounts look. There is no currency conversion.

EOQ: Balancing Ordering Cost Against Holding Cost explained: formula, worked example and common mistakes

One square root that balances two costs, and the stock level to reorder at. Free, no sign-up, nothing leaves your browser.

Updated

Two costs that pull against each other

Every order costs something to place, whatever its size, and every unit in stock costs something to keep, for as long as it stays. Big orders spread the first cost thin and pile up the second; small orders do the reverse. The economic order quantity is the size at which the yearly totals of the two are exactly equal — the trough of their sum, and the cheapest way to run the loop.

The calculator is at /tools/eoq/. Type the demand, the cost per order and the holding cost per unit, and it works the EOQ, the orders a year, both costs, the total and the reorder point, with the three curves charted.

The formulas

EOQ            = √(2 × D × S ÷ H)
orders a year  = D ÷ EOQ
ordering cost  = D ÷ Q × S
holding cost   = Q ÷ 2 × H
total          = ordering + holding
reorder point  = D ÷ days × lead time + safety stock

D is the yearly demand, S the cost per order and H the holding cost per unit per year. The average stock is half the order quantity, which is where the division by 2 in the holding cost comes from.

A worked example at the calculator’s defaults

Demand 12,000 units a year, 100 an order, 4 a unit a year to hold.

EOQ           = √(2 × 12,000 × 100 ÷ 4) = √600,000 = 774.60 units
orders a year = 12,000 ÷ 774.60 = 15.49
ordering cost = 12,000 ÷ 774.60 × 100 = 1,549.19
holding cost  = 774.60 ÷ 2 × 4        = 1,549.19
total         = 3,098.39
reorder point = 12,000 ÷ 365 × 7      = 230.14 units

The two costs match, which is the check that the square root did its work. Ordering 0.75 of the EOQ costs 3,227.49 a year, ordering 1.5 of it costs 3,356.59 — both above the trough, and the curve is steeper on the small side than the large one.

The reorder point

The EOQ says how much to order; the reorder point says when. It is the demand that will arrive during the lead time, plus the safety stock typed: at the defaults, seven days of demand is 230.14 units, so the order goes out as the stock falls through that line. With a 30-day lead and 100 units of buffer the point stands at 1,086.30, and the page shows the arithmetic of both fields.

What the page does not know

The model holds demand steady at the rate typed, assumes each order arrives whole, and counts only the two costs that move with the order size. Quantity discounts, perishability, stockouts and the tax on the order are outside the formula, and the page says nothing about them rather than guessing. For the other great cost balance, see the break-even calculator; for how the equipment behind the loop is written down, see the depreciation calculator.

Frequently asked questions

What is the EOQ formula?

EOQ = √(2 × demand × order cost ÷ holding cost). On the defaults, √(2 × 12,000 × 100 ÷ 4) = √600,000 = 774.60 units. It is the quantity at which the yearly cost of placing orders equals the yearly cost of holding stock, which the workings show as two equal figures.

Why do the two costs meet at the EOQ?

Because ordering cost per year falls as orders get bigger — fewer of them — while holding cost rises in step with the average stock, which is half the order quantity. Their sum is a curve with one trough, and calculus or algebra puts the trough exactly where the two curves cross: 1,549.19 each on the defaults.

How is the reorder point worked out?

Daily demand × lead time + safety stock. On the defaults, 12,000 ÷ 365 × 7 = 230.14 units: when stock falls to that level, an order of the EOQ arrives as the lead-time demand runs out. With a 30-day lead and 100 units of safety stock the point moves to 1,086.30.

What does the EOQ chart show?

Three curves against order quantity, from a quarter of the EOQ to three times it: the ordering cost falling like a slide, the holding cost rising like a ramp, and their sum with its trough at the EOQ. The trough is visibly shallow — ordering half as much again costs about 8.3% more on the defaults, not double.

Does the EOQ change much with demand?

Only by the square root. Doubling demand to 24,000 units multiplies the EOQ by √2, to about 1,095.45, and leaves the orders-a-year figure near 15.5. That dampening is why the model stays useful when demand estimates are rough: a 20% demand error moves the EOQ by about 9%.

This tool shows math, not advice.

Cite this page

Copy this line into a reference list, a report or a spreadsheet note.

Investment Math Calculator. “EOQ: Balancing Ordering Cost Against Holding Cost”. Updated 2026-11-22. https://investmentmathcalculator.com/guides/eoq-calculator/

Disclaimer: For education only. These calculators show arithmetic and hypothetical scenarios. They are not investment, tax or legal advice and do not recommend any security or product. Consult a licensed adviser in your country before acting.