Inventory Calculator

How many units should I order and when to reorder?

Find out how many units to order and when to reorder for optimal inventory costs. Enter annual demand, holding cost, ordering cost, and lead time — see Economic Order Quantity (EOQ), reorder point, and total inventory cost. Assumes constant demand and fixed costs.

Updated June 2026 · How this works

Worth knowing
How It Works
The formula, explained simply

Inventory creates a tug-of-war between two opposing costs. Order too often and you pay high ordering fees — imagine paying $50 shipping for a single item. Order too much and you pay to store idle inventory for months, tying up cash and warehouse space. The Economic Order Quantity (EOQ) finds the sweet spot where these costs balance perfectly.

The EOQ formula weighs annual demand against ordering costs and holding costs. When holding costs are high (expensive items, costly storage), EOQ recommends smaller, more frequent orders. When ordering costs dominate (high shipping fees, complex procurement), EOQ suggests larger, less frequent orders. The square root relationship means doubling demand increases order size by only 41%, not 100%.

The calculator assumes constant demand and fixed costs — reasonable for mature products with stable sales patterns. Real inventory management adds safety stock above the basic EOQ to handle demand spikes and supply delays. Most successful retailers combine EOQ with seasonal adjustments and supplier relationship factors that pure mathematics cannot capture.

When To Use This
Right tool, right situation

Use EOQ for stable products with predictable demand patterns and consistent supplier relationships. It works best for manufactured goods, office supplies, and commodity items where demand varies less than 20% monthly. Retailers selling mature product lines benefit most from EOQ optimization, especially when storage costs are significant relative to item value.

EOQ becomes less useful for highly seasonal products, perishable goods, or items with rapid technology changes. Fashion retailers, fresh food suppliers, and electronics dealers often need demand-driven ordering systems rather than mathematical optimization. Similarly, if your supplier offers significant quantity discounts, negotiated pricing, or consignment arrangements, relationship factors may outweigh EOQ efficiency.

Combine EOQ with ABC analysis for maximum impact. Apply strict EOQ discipline to high-volume, low-margin items (Class A) where efficiency gains compound quickly. Use looser EOQ guidelines for medium-volume items (Class B) and simple reorder rules for low-volume items (Class C) where calculation overhead exceeds potential savings.

Common Mistakes
Why results sometimes look wrong

The biggest EOQ mistake is using inaccurate holding cost rates. Many businesses underestimate holding costs by ignoring opportunity cost of capital, insurance, and space allocation. A 10% holding rate might seem reasonable, but true costs often reach 20-30% when including all factors. This underestimation leads to oversized orders and excessive working capital tied up in inventory.

Another common error is applying EOQ to items with quantity discounts or minimum order requirements. If your supplier offers 15% off orders above 500 units, the discount might outweigh EOQ efficiency gains. Always compare EOQ total cost against discount scenarios before deciding. Similarly, perishable goods with expiration dates need modified calculations that factor spoilage costs.

Ignoring demand variability creates the most painful EOQ failures. The formula assumes perfectly predictable demand, but real demand fluctuates daily. Seasonal businesses using annual averages often face stockouts during peak periods or excess inventory during slow periods. Smart inventory managers calculate separate EOQ values for different seasons or add safety stock buffers above the basic EOQ recommendation.

The Math
Worked examples and deeper derivation

The EOQ formula is EOQ = √(2DS/H), where D is annual demand, S is ordering cost per order, and H is holding cost per unit per year. The square root creates a balance where total ordering cost equals total holding cost at the optimal quantity. For 1,000 units annual demand, $50 ordering cost, and $2.50 holding cost: EOQ = √(2 × 1,000 × 50 / 2.50) = √40,000 = 200 units.

Total annual cost splits evenly between ordering and holding at EOQ. With 200 units per order, you need 5 orders yearly (1,000 ÷ 200), costing $250 in ordering fees (5 × $50). Average inventory is 100 units (200 ÷ 2), costing $250 in holding fees (100 × $2.50). Total cost: $500 annually. Any other order quantity increases total cost above this minimum.

The reorder point calculation uses daily demand multiplied by lead time. With 1,000 annual demand and 14-day lead time: daily demand is 2.74 units (1,000 ÷ 365), so reorder at 38 units (2.74 × 14). This ensures new inventory arrives as existing stock reaches zero, assuming perfect demand predictability and supplier reliability.

Retail Store Inventory
1,000 units annual demand, $50 ordering cost, $2.50 holding cost, 14 days lead time
Optimal order quantity is 200 units, requiring 5 orders per year with reorder point at 38 units.
Warehouse Operations
5,000 units annual demand, $100 ordering cost, $8 holding cost, 21 days lead time
Optimal order quantity is 354 units, requiring 14.1 orders per year with reorder point at 288 units.
Small Business Stock
500 units annual demand, $30 ordering cost, $1.50 holding cost, 10 days lead time
Optimal order quantity is 200 units, requiring 2.5 orders per year with reorder point at 14 units.
Expert Unlock
The thing most explanations skip

EOQ assumes linear holding costs, but real storage costs often step up in chunks as you lease additional warehouse space. A business paying $2 per unit in holding costs might face a jump to $3.50 when crossing into premium storage tiers. Practitioners use tiered EOQ calculations or negotiate flexible lease terms to avoid these cost cliffs.

How accurate is EOQ for real inventory decisions?

What if my demand varies throughout the year?
EOQ assumes constant demand, so seasonal businesses should calculate separate EOQ values for high and low seasons, or use safety stock to buffer demand fluctuations. Most retailers add 10-20% safety stock above the reorder point.
How do I calculate holding cost per unit?
Multiply your item's cost by your holding cost rate (typically 15-25% annually). This rate includes warehouse rent, insurance, spoilage, and opportunity cost of tied-up capital. A $20 item with 20% holding rate costs $4 per unit per year to hold.
When should I ignore EOQ recommendations?
Ignore EOQ when suppliers offer quantity discounts, storage space is limited, items are perishable, or demand is highly unpredictable. EOQ works best for stable products with consistent demand patterns and linear cost structures.

Need something this doesn't cover?

Suggest a tool — we'll build it →