calculator.onl
Categories50

EOQ calculator with pack-size constraints

Calculate a continuous EOQ and the lowest-cost permitted pack multiple within your minimum and maximum order quantities.

A worked example

Quadruple the cost of holding one unit and see how the order on the pallet changes.

Best feasible order quantity576Orders per year20.8333Average cycle stock288Annual ordering + holding cost$1,697.33
Annual demand in units.

USD
Cost per order.

USD
Annual holding cost per unit.

Order pack multiple.

Minimum order units.

Maximum order units (0 = no limit).

Updates as you type

Use a dot or comma for decimals. No thousands separators. Currency selection changes the display unit, not an exchange rate.

YOUR RESULT

Best feasible order quantity

576

Calculated from your inputs

Annual ordering + holding cost$1,697.33
Orders per year20.8333
Average cycle stock288
Unconstrained EOQ565.6854
The numbers, at a glance

Calculations run in your browser.
UNDERSTAND THE RESULT

A little context. A clearer answer.

↑ Back to calculator

When this calculator is useful

Use this when smaller purchases create more ordering work but larger purchases leave more stock to carry. The continuous economic order quantity (EOQ) balances annual ordering and holding costs. A real supplier may sell only complete cartons or impose a minimum order, so the calculator also checks feasible pack multiples instead of treating the continuous answer as a usable purchase quantity. Demand is assumed steady and replenishment immediate. The safety stock and reorder point calculator addresses when to replenish under demand and lead-time variability; that buffer is not part of this EOQ cost comparison.

What to enter

InputWhat it meansExample value
Annual demand in unitsAnnual demand in units.12,000
Cost per orderCost per order.40 USD
Annual holding cost per unitAnnual holding cost per unit.3 USD
Order pack multipleOrder pack multiple.24
Minimum order unitsMinimum order units.48
Maximum order units (0 = no limit)Maximum order units (0 = no limit).0

How the calculation works

  1. Enter annual demand, cost per order and annual holding cost for one unit in a consistent currency.
  2. Set the supplier’s pack multiple, minimum order and any maximum order quantity.
  3. Compare continuous EOQ with the feasible order quantity and its annual ordering-plus-holding cost.
The formulaD = [Annual demand in units]; S = [Cost per order]; H = [Annual holding cost per unit]; p = [Order pack multiple]; m = [Minimum order units]; M = [Maximum order units (0 = no limit)]; H > 0: [Unconstrained EOQ] = √(2 × D × S/H); ℱ = {p × k : k ∈ ℕ₊, p × k ≥ m, (M = 0 ∨ p × k ≤ M)}; C(Q) = D × S/Q + H × Q/2; D > 0: Q* = [Best feasible order quantity] = min argmin(Q ∈ ℱ) C(Q), [Annual ordering + holding cost] = C(Q*); D = 0: [Best feasible order quantity] = [Annual ordering + holding cost] = 0; D > 0, ℱ = ∅: [No feasible pack multiple]; D > 0, S > 0, H = M = 0: [No finite optimum]

A worked example

With annual demand of 12,000 units, cost per order 40 and annual holding cost 3 per unit, continuous EOQ is √(2 × 12,000 × 40 ÷ 3) ≈ 565.69 units. For packs of 24, a minimum of 48 and no maximum, the relevant neighbouring quantities are 552 and 576. At 576, annual ordering cost is 12,000 ÷ 576 × 40 ≈ 833.33 and holding cost is 576 ÷ 2 × 3 = 864: total 1,697.33. At 552 the total is about 1,697.57, so 576 is the lower-cost allowed quantity. The 20.83 orders per year is a long-run average.

Example you can load

What to enter
Result for this example · Best feasible order quantity576

This is a fixed example; changing the form above does not change these numbers.

Assumptions & limits

Steady demand and immediate replenishment; no discounts, safety stock or purchase cost. Orders per year is a long-run average. Zero demand needs no order. With zero holding cost, a finite cap is used; without a cap and with positive order cost, no finite optimum exists.

Reference ·

Frequently asked questions

Why not round EOQ to the nearest pack?

Ordering cost falls with larger orders while holding cost rises, so the total cost curve is not symmetric around EOQ. The calculator compares costs at feasible candidates and respects the order bounds; simple rounding is not always the lowest-cost choice.

Are purchase price, quantity discounts and safety stock included?

No. This model compares ordering and holding costs with steady demand and immediate replenishment. Quantity discounts and shortage or safety-stock costs require additional modelling. Enter holding cost per unit per year, not the purchase price itself.

What does zero maximum or zero holding cost mean?

A maximum of zero means no upper limit. With positive demand and ordering cost but zero holding cost, ever larger orders reduce ordering cost; without a cap there is no finite optimum. A finite maximum supplies a usable boundary for that case.