Calcist

Style

Buttons

Spacing

How much to show

Decimal places

Text size

EOQ calculator

Find the order size that keeps ordering and holding costs lowest, how often to order, and when to reorder.

Holding cost (H)

Private: calculated on your device. Nothing you type is sent anywhere.

Estimates for planning, not financial, tax or legal advice. Figures use US rules unless the page says otherwise.

Next: Check that each order makes money with the break-even calculator and the profit margin calculator.

The EOQ formula

EOQ = √(2DS ÷ H)
Orders per year = D ÷ EOQ · Ordering cost = (D ÷ Q) × S · Holding cost = (Q ÷ 2) × H
Reorder point = daily demand × lead time in days + safety stock

D is annual demand in units, S is the fixed cost of placing one order (processing, shipping, receiving) and H is the cost of holding one unit for a year (storage, insurance, capital tied up). H is often a percentage of the unit cost. At the EOQ, the yearly ordering cost and holding cost are equal, and their total is as low as it can be. The model goes back to Ford W. Harris in 1913.

Worked example

You sell 10,000 units a year, each order costs $50 to place, and holding a unit for a year costs $2. EOQ = √(2 × 10,000 × 50 ÷ 2) = √500,000 = 707.11 units. That's 10,000 ÷ 707.11 = 14.14 orders a year. Ordering costs 14.14 × $50 = $707.11 and holding costs 707.11 ÷ 2 × $2 = $707.11, for a total of $1,414.21 a year.

If a new order takes 7 days to arrive, you use 10,000 ÷ 365 × 7 = 191.78 units while you wait, so reorder when stock falls to 192 units, plus any safety stock.

Limitations

  • EOQ assumes steady demand, a fixed lead time, no quantity discounts and that each order arrives all at once. Real demand varies, which is what safety stock is for.
  • The total cost curve is flat near the EOQ, so rounding to a case or pallet size costs very little.
  • If suppliers offer price breaks for bigger orders, compare the total cost including purchases at each break.

Sources

How we checked this

Before every update, this calculator is run in a real browser with these known answers, and it must match all of them:

  • D = 10,000, S = $50, H = $2: EOQ = √500,000 = 707.11 ✓
  • Ordering + holding cost at the EOQ: $707.11 + $707.11 = $1,414.21 ✓
  • 7-day lead time: 10,000 ÷ 365 × 7 = 191.78, reorder at 192 ✓
  • Holding at 25% of an $8 unit cost is $2 a unit ✓
  • D = 1,200, S = $100, H = $6: EOQ = √40,000 = 200 ✓
  • Edge: a $0 holding cost is rejected ✓

Last checked October 26, 2026. Spotted something wrong? The math is done in your browser with the formula shown on this page, so you can check any result by hand.

Add this calculator to your website (free)

Paste this code into any web page. The calculator works on your page, resizes itself, has no ads and no tracking cookies, and nothing your visitors type is sent anywhere. More about embedding.

Questions people ask

What is the EOQ formula?

EOQ = √(2DS/H), where D is annual demand, S is the cost per order and H is the yearly holding cost per unit.

How do you calculate the reorder point?

Multiply daily demand by the lead time in days and add safety stock. 10,000 units a year over 365 days with a 7-day lead time is about 192 units.

What is holding cost?

The yearly cost of keeping one unit in stock: storage, insurance, spoilage and the cost of the money tied up. It's often set as a percentage of the unit cost.

Why are ordering and holding costs equal at the EOQ?

Ordering cost falls as orders get bigger and holding cost rises. The total is lowest where the two lines cross, which is where they're equal.

Does EOQ depend on the unit price?

Only through holding cost when it's a percentage of the price. The price itself doesn't change the EOQ, only the total spend.

Related calculators