EOQ Calculator screenshot

EOQ Calculator

Work out the order quantity that minimises ordering plus holding cost from annual demand (units), cost per order, annual holding cost per unit. EOQ = √(2 × annual demand × order cost ÷ holding cost), and the page prints the substitution so the result can be checked by hand.

Privacy First
0 Runs
Updated 2026-11-22
Runs in your browser
No sign-up, no upload
Formula printed with the answer

EOQ Calculator

Work out the order quantity that minimises ordering plus holding cost from annual demand (units), cost per order, annual holding cost per unit. EOQ = √(2 × annual demand × order cost ÷ holding cost), and the page prints the substitution so the result can be checked by hand.

How this page computes

EOQ = √(2 × annual demand × order cost ÷ holding cost)

It balances two costs that move in opposite directions: more units per order means fewer orders but more stock held. The square root is where the two meet.

It assumes demand and lead time are certain, which is why it is usually paired with a safety stock rather than used alone.

The calculation runs entirely in this browser tab; nothing is uploaded.

EOQ Calculator computes the order quantity that minimises ordering plus holding cost. EOQ = √(2 × annual demand × order cost ÷ holding cost). The page prints the rule, the numbers substituted into it and the result, so the arithmetic can be checked by hand.

It balances two costs that move in opposite directions: more units per order means fewer orders but more stock held. The square root is where the two meet. Pressed with annual demand 12000, cost per order 45, annual holding cost per unit 6, it answers: Economic order quantity = 424.2641 units

How to use EOQ Calculator

Enter annual demand 12000, cost per order 45, annual holding cost per unit 6, then press Run: the page evaluates the order quantity that minimises ordering plus holding cost and prints every line of the working. Typed input is read exactly as written, and a blank field is refused with its name.

Read the first line as the answer and the lines below it as the substitution. If a value is out of range the page refuses it by field and reason instead of printing a number.

With annual demand 12000, cost per order 45, annual holding cost per unit 6, the answer is Economic order quantity = 424.2641 units.

The Wilson lot size

It balances two costs that move in opposite directions: more units per order means fewer orders but more stock held. The square root is where the two meet.

It assumes demand and lead time are certain, which is why it is usually paired with a safety stock rather than used alone.

What to Expect

Best for

  • Working out the order quantity that minimises ordering plus holding cost without a spreadsheet
  • Checking a figure someone else quoted
  • Seeing the formula behind an answer

Not ideal for

  • A zero holding cost is refused, because the formula divides by it.
  • A quantity the page cannot compute, which it refuses instead of estimating
  • Rounding an answer that has an exact form

What this tool keeps

  • EOQ = √(2 × annual demand × order cost ÷ holding cost)
  • Every input exactly as typed

What may need cleanup

  • Nothing: the printed answer is the final output
  • A unit conversion, if the inputs were entered in different units

Common errors

  • A zero holding cost is refused, because the formula divides by it.
  • An empty field is refused with the field's name

Example use cases

  • Work out the order quantity that minimises ordering plus holding cost for one set of inputs
  • Check the result against the formula by hand
  • See which input the answer is most sensitive to

Sample input

EOQ Calculator: annual demand 12000, cost per order 45, annual holding cost per unit 6

Sample output

Economic order quantity = 424.2641 units — EOQ = √(2 × demand × order cost ÷ holding cost) = √(2 × 12000 × 45.00 ÷ 6.00) = 424.264069

Who this is for

  • Students checking a formula
  • Anyone who needs the number and the working

Frequently asked questions

What formula does this page use?

EOQ = √(2 × annual demand × order cost ÷ holding cost). The page prints the substitution as well, so the answer can be checked against the rule.

What does EOQ Calculator refuse?

A zero holding cost is refused, because the formula divides by it.

What does the default example give?

Annual demand 12000, cost per order 45, annual holding cost per unit 6 gives Economic order quantity = 424.2641 units. Every line below that restates the same arithmetic.

Developer program

Build custom tools for your store

Join the SDK program to create useful ecommerce utilities for your store.