Skip to the tool
Priostack Apps

EOQ calculator (economic order quantity)

How much to order each time so that ordering and holding stock cost the least, with the workings.

EOQ calculator

Units sold or used in a year. For a monthly figure, multiply by 12.

What each order costs whatever its size: admin time, a fixed delivery charge, receiving and checking. Leave out VAT you reclaim.

£

What one unit costs you, without VAT you reclaim. Needed with a holding rate; it also gives the year’s purchases.

£

What holding one unit for a year costs, as a share of its cost: money tied up, insurance, damage and obsolescence. Optional if you give a storage cost.

%

Warehouse space and handling for one unit for a year, added to the rate. Optional if you give a rate.

£

For the days between orders: 365 calendar days, or your working days.

The quantity you order today, to see what it costs you extra each year.

Economic order quantity (EOQ)

—

Enter the demand, the cost of an order and a holding cost to see the economic order quantity.

Orders a year
—
Days between orders
—
Yearly ordering cost
—
Yearly holding cost
—
Total yearly cost
—
Holding cost per unit a year (H)
—

Recent calculations

Nothing yet: copy, export or save a calculation to find it here.

How it works

Enter an item’s yearly demand, what it costs to place an order and what it costs to hold one unit for a year. You get the economic order quantity (EOQ), the number of orders a year, the days between orders and the total yearly cost of ordering and holding stock, with every step shown. Add the quantity you order today to see how much more it costs you each year than the EOQ.

Gather the three figures

Yearly demand is what you sell or use in a year, in units, kilos or litres. The ordering cost is what each order costs whatever its size: the time to raise and chase it, a fixed delivery charge, receiving and checking the goods. The holding cost is what it costs to keep one unit in stock for a year. If you are VAT-registered and reclaim the VAT on your purchases, leave it out; if you cannot reclaim it, for example on the Flat Rate Scheme, include it.

Put a figure on holding stock

It is usually a percentage of the unit cost: the cost of the money tied up in stock, insurance, damage, theft and obsolescence. You can also enter a storage cost per unit a year, such as warehouse space and handling, on its own or on top of the rate: the two are added together.

Read and use the result

The EOQ is the quantity at which the yearly ordering cost equals the yearly holding cost, and their total is lowest. As you rarely order 447.21 units, the calculator also gives the best whole quantity. The days between orders use a 365-day year unless you change it, for example to your working days. Amounts are rounded to the nearest penny, the EOQ and orders a year to two decimal places and the days to one, with halves rounded up. Copy the workings, export them as a CSV file or save them to Priostack.

Holding cost per unit a year: H = storage cost + unit cost × holding rate.

Economic order quantity: EOQ = √(2 × D × S ÷ H), where D is the yearly demand and S the cost of placing one order.

Orders a year = D ÷ EOQ.

Days between orders = days in the year ÷ orders a year.

At the EOQ the yearly ordering cost (orders × S) equals the yearly holding cost (EOQ ÷ 2 × H): each is √(D × S × H ÷ 2), and together they come to √(2 × D × S × H).

At any other quantity Q: yearly cost = D ÷ Q × S + Q ÷ 2 × H.

Example: 10,000 units a year at £40 an order

This is the worked example in Wikipedia’s article on the EOQ, put in pounds. Each unit costs £50, and holding it costs £4 a year plus 2% of its cost for the money tied up, so H = £4 + £50 × 2% = £5. The EOQ is √(2 × 10,000 × £40 ÷ £5) = √160,000 = 400 units: 25 orders a year, one every 14.6 days. Ordering and holding each cost £1,000 a year, £2,000 in all, on top of £500,000 of purchases. Ordering 500 at a time would cost £800 + £1,250 = £2,050 a year, and 300 at a time £1,333.33 + £750 = £2,083.33.

Frequently asked questions

What is the EOQ formula?

EOQ = √(2 × D × S ÷ H), where D is the yearly demand in units, S the cost of placing one order and H the cost of holding one unit for a year. The American engineer Ford W. Harris published it in 1913, and it is also called the Wilson formula, after R. H. Wilson, the consultant who popularised it in the 1930s. It balances two costs that move in opposite directions: ordering often adds order costs, while ordering a lot at once raises your average stock and what it costs to hold.

How do I work out the holding cost?

Add up what one unit costs you over a year while it sits in stock: the money tied up in it (the rate on your overdraft or loan, or what the cash would earn on deposit), insurance, damage, theft and obsolescence, plus any storage or handling you pay per unit stored. Express it in pounds per unit a year, or as a percentage of the unit cost. Leave out costs that do not change with the amount of stock, such as rent on a warehouse you pay anyway.

Why is the purchase price not in the formula?

Over a year you buy the same quantity whatever the size of each order, so your purchases do not depend on the order quantity and do not move the best quantity. The price only counts through the holding cost, when that is a percentage of the unit cost. If a supplier offers a discount above a certain quantity, enter that quantity as your current quantity and compare the extra yearly cost shown with what the discount saves on a year’s purchases.

What are the limits of the EOQ?

It assumes steady, known demand, a constant lead time, a price that does not depend on the quantity, and full deliveries with no stock-outs. For seasonal or very uneven sales, work it out again for each season. It does not tell you when to order: for that you need a reorder point and safety stock. The cost is also flat near the EOQ: ordering 20% more costs only about 1.7% more a year, so rounding to a full case or pallet is usually fine, and the current quantity field shows exactly what it costs.

How many days should the year have?

The days only turn the number of orders into the time between them: the EOQ and the costs do not depend on them. 365 counts calendar days; your working days, such as 250, give the gap in working days.

Should I enter costs with or without VAT?

Without VAT if you are VAT-registered and reclaim the VAT on your purchases, since VAT you get back is not a cost to you. If you cannot reclaim it, for example because you are not registered or you use the Flat Rate Scheme, enter what you actually pay, VAT included.

Sources

  1. Wikipedia: Economic order quantity (the formula, F. W. Harris 1913 and R. H. Wilson 1934, and the worked example used on this page) (25 August 2026)
  2. GOV.UK: Charge, reclaim and record VAT, Reclaim VAT on business expenses (VAT-registered businesses reclaim the VAT on their purchases; on the Flat Rate Scheme you cannot, except for certain capital assets over £2,000) (30 October 2024)

This calculator gives general information, not legal, tax, financial or accounting advice. The result is only as good as the costs you enter: check them with your accountant before a major purchasing decision.

Last reviewed: