Figures Simplified

Economic Order Quantity (EOQ) Calculator

Find the order size that balances ordering and holding costs under a steady-demand model. Compare it with your current batch size before considering practical constraints.

Jump to calculator

Free to use. Inputs stay in your browser and are not saved or sent anywhere.

Calculate with your figures

Read the worked example

Use one stock item and keep the unit consistent. Enter the fixed cost of placing one order and the annual holding cost of one unit in the same currency. If you know the holding rate, multiply it by the unit cost first.

Use one stock item and one unit, such as cartons or kilograms.Range: 0 to 1e15; at most 24 significant digits.
Cost triggered by each order, not the purchase price of each item. Must be greater than zero.Range: 0 to 1e15 (lower bound excluded); at most 24 significant digits.
Enter a currency amount, not a percentage. Use the same currency as order cost. For a unit costing 20 at a 20% annual carrying rate, enter 4.Range: 0 to 1e15 (lower bound excluded); at most 24 significant digits.
A positive batch size to compare with the continuous EOQ result.Range: 0 to 1e15 (lower bound excluded); at most 24 significant digits.
Input limits and rounding

Enter numbers without thousands separators. Use a decimal point or the Arabic decimal separator. Arabic and Persian digits are accepted. Annual demand can be zero. Each positive input must be from 1e-12 to 1e15 with up to 24 significant digits. Money usually shows two decimal places. Very large or tiny values use up to 12 significant digits, and whole-unit counts are preserved. The ≈ sign marks rounding.

Formula and method

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

Average orders per year = annual demand ÷ order quantity

Average cycle inventory = order quantity ÷ 2

Annual relevant cost = (annual demand ÷ order quantity × cost per order) + (order quantity ÷ 2 × annual holding cost per unit)

Modelled cost reduction = comparison relevant cost − EOQ relevant cost

Worked example

Hypothetical packaging demand is 3,600 units a year. Each order costs 50 to process and each unit costs 4 a year to hold. EOQ is 300 units: 12 orders cost 600 and average inventory of 150 costs 600, giving 1,200 a year. Ordering 600 at a time costs 1,500 on the same basis. The modelled reduction is 300 a year, before constraints or omitted costs.

Compare whole packs of 80

Suppose your supplier sells only in packs of 80. Keep annual demand at 3,600 units, cost per order at 50 and annual holding cost per unit at 4. Enter 240 in Comparison order quantity and calculate. Repeat with 320. Read Annual ordering + holding cost at comparison quantity each time.

Three packs (240 units) cost 1,230 a year: 750 for ordering and 480 for holding. Four packs (320 units) cost 1,202.50: 562.50 for ordering and 640 for holding. The four-pack order costs 27.50 less per year than the three-pack order under the same assumptions. The unconstrained 300-unit result still costs 1,200 in the model.

For order timing and safety stock, see the guide to choosing a practical order size.

Assumptions and limits

Understand your result

Should I round the EOQ up?

Compare feasible nearby quantities using the comparison field. A whole-unit or pack-size constraint changes the decision; simply rounding up is not always the lowest-cost choice.

Why are purchase costs excluded?

With constant unit prices and the same annual demand, purchase cost is unchanged by batch size. A quantity discount breaks that assumption, so compare the full purchase and inventory costs separately.

Related calculators

If you are deciding whether to make a component or buy it, use the Make-or-Buy Cost Comparison Calculator to compare relevant costs for the same quantity and period. EOQ answers how much to order.

Further reading

EOQ explained: choosing a practical order size

Method references