A useful first step. No signup.

Free EOQ Calculator (Economic Order Quantity)

Find the order size that keeps ordering and holding costs lowest, then round it to your pack size and supplier minimum to see what that really costs.

Free to useNo email requiredYour entries stay in this page

Calculate your order quantity

Example values are shown. Use one currency throughout, and costs without any tax you can reclaim.

The EOQ formula

Economic order quantity is the order size where the cost of placing orders and the cost of holding stock add up to the least.

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

Here D is annual demand in units, S is the cost of placing one order and H is the cost of holding one unit for a year. Order often and you pay more in ordering costs. Order rarely and you pay more to hold stock. EOQ is where the two are equal.

A worked example

You sell 12,000 units a year. Each order costs 50 to place, and each unit costs 10 to buy. Holding stock costs 25% of its value a year, so H is 2.50.

  1. 2 × 12,000 × 50 = 1,200,000
  2. 1,200,000 ÷ 2.50 = 480,000
  3. √480,000 = 692.8, so order about 693 units

That is about 17 orders a year, or one every 21 days. Ordering and holding each cost about 866 a year, for a total of about 1,732. Ordering 2,000 at a time would cost 2,800, so about 1,068 more each year for the same stock.

Finding your costs

Cost per order covers what changes each time you order: staff time to raise and receive it, delivery charges paid per order, and inspection. Leave out rent and salaries you would pay anyway.

Holding cost covers the cost of the money tied up, storage, insurance, shrinkage and obsolescence. Figures around 20% to 30% of stock value a year are a common starting point, but work out your own if you can. A product that spoils, or that you can't resell next season, justifies a higher rate.

Where EOQ stops working

The formula is forgiving: being 20% off the exact quantity raises the cost by only about 2%. So round to a sensible quantity rather than chasing precision. The calculator does this for pack sizes and minimum orders, and shows what rounding costs you.

  • It assumes steady demand. For seasonal products, calculate a separate quantity for each season.
  • It ignores quantity discounts. If a price break sits above your EOQ, compare the discount you gain against the extra holding cost.
  • It ignores your limits. Shelf life, storage space and cash can all cap what is sensible to buy.
  • It does not say when to order. Pair it with a safety stock figure and a reorder point.

Frequently asked questions

What is the EOQ formula?

EOQ = √(2 × D × S ÷ H), where D is annual demand in units, S is the cost of placing one order and H is the annual cost of holding one unit.

How do I calculate holding cost?

Add up the yearly cost of the money tied up in stock, storage, insurance, shrinkage and obsolescence, then divide by your average stock value to get a percentage. Multiply that percentage by the unit cost to get H. If you don't have the figures yet, 20% to 30% is a common starting assumption.

What if my supplier has a minimum order or sells in cases?

Enter the pack size and minimum order. The calculator picks the cheapest allowed quantity and shows how much rounding adds to your yearly cost. The increase is usually small unless the minimum is far above the EOQ.

Is EOQ still useful for a small online store?

Yes, as a sense check for products with steady demand. It shows whether you are ordering much too often or tying up too much cash. It is less useful for seasonal products, new products with no sales history or items with short shelf lives.

Does EOQ tell me when to reorder?

No. EOQ tells you how much to order. The reorder point tells you when, based on demand during the lead time plus safety stock.

Take the next step

Do this inside WooCommerce with PurchaseDesk.

Keep suppliers, purchase orders and goods received next to your WooCommerce stock. Record what arrived, what it cost and what is still on order.

Explore Free and Pro →Read the step-by-step guide

More free tools

Free browser tool

Inventory count sheet

Open a WooCommerce stock CSV, count products in a browser worksheet, or download a printable inventory count sheet PDF. Review differences and export your count record.

Open tool →
Free browser tool

SKU generator

Turn product names and attributes into readable, unique SKUs, with a list or a WooCommerce import file to download.

Open tool →