Calcrux
Ecommerce Seller OperationsFree Β· No sign-upReal-time

Economic Order Quantity (EOQ) Calculator

Find the order quantity that minimises your total inventory cost β€” the EOQ calculator that also shows orders per year, cycle days, and whether a bulk discount beats the EOQ.

Updated Reviewed by Sajid HussainΒ· Editor

ShareLinkedIn

Use the calculator

Try it with your numbers

Enter the values that match your situation β€” results update in real time as you type.

Your numbers

Demand & ordering

Yearly volume and the fixed cost of placing one order.

How many units of this product you sell (or use) in a year. The yearly total β€” not per month.

What it costs to place AND receive one order, regardless of size: purchasing admin, freight, customs, inspection, and stocking labour. The fixed cost of ordering once.

Holding cost

What it costs to keep a unit in stock for a year β€” flat or as a % of value.

Enter holding cost as a flat amount per unit per year, or as a percentage of the unit cost (the standard carrying-cost convention β€” storage + capital + insurance + shrinkage).

What it costs to keep ONE unit in stock for a year: warehouse space, the capital tied up, insurance, and spoilage/shrinkage. Used when holding mode is "flat cost per unit".

Your normal purchase cost for one unit. Used both for percent-of-cost holding (when holding mode is "% of unit cost") and as the baseline price the bulk-discount check compares against. Always relevant β€” set it to your real unit cost.

Bulk-discount check (optional)

Test whether a supplier price break beats ordering at the EOQ.

Optional. The larger quantity a supplier wants you to order to unlock a lower unit price. Leave 0 to skip the discount comparison.

Optional. The lower unit price at the bulk quantity above. We compare total annual cost (purchase + ordering + holding) at this deal vs at the EOQ and tell you which wins.

Results

⚑

Results appear as you type

No submit button needed

How much should you order?

The EOQ calculator that goes past the bare square root

This EOQ calculator finds the economic order quantity β€” the order size that minimises your total annual inventory cost by balancing the cost of ordering against the cost of holding stock. Enter your annual demand, the cost to place one order, and what it costs to hold a unit for a year, and you get the optimal order quantity in seconds.

Order too much at once and you tie up cash and warehouse space in slow-moving stock β€” your **holding cost** balloons. Order too little, too often, and you rack up freight, paperwork, and receiving labour on every tiny order β€” your **ordering cost** balloons. The economic order quantity is the sweet spot between the two, and it has an elegant property: at the EOQ, your annual ordering cost and annual holding cost are exactly equal. The total cost curve is flat at the bottom, which is also why being roughly right beats being precisely wrong.

The formula is the classic Wilson EOQ: **√( (2 Γ— annual demand Γ— ordering cost) Γ· holding cost per unit per year )**. Most free tools stop at that single number. We do not. We also show you what it actually means for operations: how many orders you place per year, how many days each batch lasts (your cycle), your average inventory, and the total annual cost you are minimising β€” split into its ordering and holding halves so you can see the balance for yourself.

Holding cost can be entered two ways. If you know the flat figure β€” say it costs 3 of your currency to keep one unit on the shelf for a year β€” enter it directly. If you only know the rule of thumb, switch to the **carrying-cost-rate** mode and enter it as a percentage of unit value (most businesses land at 20–30% once storage, tied-up capital, insurance, and shrinkage are added up). Both paths feed the same math.

Our edge is the **quantity-discount decision**. Suppliers love to dangle a lower unit price if you order in bulk β€” but ordering more than the EOQ means carrying more stock, and the extra holding cost can quietly eat the discount. Enter the bulk quantity and its discounted price and we compare the full annual cost β€” purchase plus ordering plus holding β€” at the deal versus at the EOQ, then tell you which wins and by how much. The EOQ tells you HOW MUCH to order; pair it with our restock calculator to know WHEN to reorder.

How it works

From three numbers to your optimal order quantity

Four short steps to the order size that costs you the least.

01

Enter annual demand

How many units you sell or use in a year. If you only know monthly, multiply by 12 first.

02

Add your ordering cost

The fixed cost of placing and receiving one order β€” freight, customs, admin, and stocking labour, whatever the order size.

03

Add your holding cost

What it costs to keep one unit in stock for a year β€” flat, or as a % of the unit value (20–30% is typical).

04

Read the EOQ

Get the optimal order quantity, orders per year, your cycle in days, the total annual cost, and an optional bulk-discount verdict.

Steps to use the Economic Order Quantity (EOQ) Calculator: Enter annual demand, Add your ordering cost, Add your holding cost, Read the EOQ.

Formula

Exactly what the calculator computes

No black boxes β€” the Wilson EOQ and everything we derive from it, in plain algebra.

01

Economic Order Quantity (Wilson EOQ)

EOQ = √( (2 Γ— D Γ— S) Γ· H )

D = annual demand (units), S = ordering cost per order, H = holding cost per unit per year. This is the order size that minimises the total of ordering + holding cost. The 2 comes from the average-inventory term (H is charged on EOQ Γ· 2).

02

Holding cost from a carrying-cost rate

H = Unit Cost Γ— Carrying-Cost Rate %

If you enter holding cost as a percentage of unit value instead of a flat figure, we convert it first. A 12 unit cost at a 25% carrying rate gives H = 3 per unit per year.

03

Orders per year and cycle length

Orders/yr = D Γ· EOQ Β· Cycle Days = 365 Γ· Orders/yr

How often you reorder, and how many days each batch lasts. The cycle is when you would place the next order β€” pair it with a reorder-point calculation for the WHEN.

04

Annual ordering and holding cost

Ordering = (D Γ· EOQ) Γ— S Β· Holding = (EOQ Γ· 2) Γ— H

Average inventory across a cycle is EOQ Γ· 2 (stock falls evenly from EOQ to 0). At the EOQ these two costs are exactly equal β€” the defining property of the optimum.

05

Total annual inventory cost

Total = (D Γ· EOQ) Γ— S + (EOQ Γ· 2) Γ— H

The combined cost the EOQ minimises. Purchase cost (D Γ— unit price) is left out because it depends only on demand, not on how you split the orders β€” so it does not change the EOQ.

Worked example

12,000 units a year, 50 to order, 3 to hold

Watch the EOQ balance ordering against holding β€” and prove the two costs land equal.

1

Step 1 Β· Plug into the EOQ formula

EOQ = √( (2 Γ— 12,000 Γ— $50.00) Γ· $3.00 ) = √(1,200,000 Γ· 3) = √400,000 β‰ˆ 632 units.

EOQ β‰ˆ 632 units

2

Step 2 Β· How often you order

Orders per year = 12,000 Γ· 632 units β‰ˆ 18.97. Cycle = 365 Γ· 18.97 β‰ˆ 19 days between orders.

18.97 orders/year Β· ~19 days

3

Step 3 Β· The two costs balance

Annual ordering = (12,000 Γ· 632 units) Γ— $50.00 β‰ˆ 18.97 orders Γ— $50.00 β‰ˆ $948.68. Annual holding = (632 units Γ· 2) Γ— $3.00 β‰ˆ $948.68. The two halves are exactly equal β€” the EOQ's defining property.

Ordering β‰ˆ $948.68 = Holding β‰ˆ $948.68

4

Step 4 Β· Total annual inventory cost

Total = $948.68 + $948.68 β‰ˆ $1,897.37. Order more or less than 632 units and this total only goes up.

Minimum total β‰ˆ $1,897.37

The takeaway

Ordering 632 units units at a time β€” about 18.97 times a year, roughly one order every 19 days β€” minimises your total inventory cost at roughly $1,897.37. Now add a supplier bulk-discount quantity and price to test whether buying more in one go beats the EOQ once the extra holding cost is counted.

Reference points

How to read your EOQ result

EOQ outputs are situational, not a single league table β€” but these ranges help you sanity-check the numbers against how most ecommerce and small-manufacturing operations run.

MetricPoorAverageGoodExcellent
Carrying-cost rate (% of value)> 40%30–40%20–30%< 20%
Orders per year per SKU> 52 (weekly+)24–526–244–12
Order cycle (days between orders)< 77–1515–6030–90
Ordering Γ· holding cost balanceWildly skewedWithin 2Γ—Within 1.3Γ—Equal (at EOQ)
Inventory turns per year< 44–88–1212+
Why this calculator

Calcrux vs other EOQ calculators

Most free EOQ tools print the square root and stop. We turn it into a decision: orders, cycle, costs, and a real bulk-discount comparison.

FeatureCalcruxTypical free EOQ toolSpreadsheet
Economic order quantity (the EOQ)Manual
Orders per year + cycle in daysRareManual
Annual ordering vs holding cost splitManual
Total annual inventory cost at the EOQSomeManual
Holding cost as a % carrying rateRareManual
Quantity-discount-vs-EOQ decisionManual
Plain-language warnings on odd results
Works in any currencyMost US-only
Free, no signupMost
Common mistakes

Why EOQ numbers come out wrong

Mixing up annual and monthly demand

Why it matters

The EOQ formula needs DEMAND PER YEAR. Plug in a monthly figure and the EOQ comes out about 3.5Γ— too small (the demand sits under a square root), so you order far too little, far too often.

Fix

Always annualise first: monthly units Γ— 12. We label the field "units per year" for exactly this reason.

Forgetting most of the ordering cost

Why it matters

Ordering cost is not just the PO. It includes freight, customs, inspection, receiving labour, and the buyer's time. Count only the purchase-order fee and the EOQ collapses, pushing you toward uneconomically frequent orders.

Fix

Add up everything it takes to place AND receive one order, whatever the size. A realistic figure is usually higher than people expect.

Under-counting holding cost

Why it matters

Holding cost is more than warehouse rent. It includes the capital tied up in stock, insurance, obsolescence, and shrinkage. Most businesses carry 20–30% of inventory value per year β€” far above bare storage rent.

Fix

Use the carrying-cost-% mode and enter a realistic 20–30% of unit value if you do not have a precise flat figure.

Treating the EOQ as an exact target

Why it matters

The total-cost curve is flat near the bottom β€” ordering 10–20% above or below the EOQ barely changes your cost. Chasing the exact number while ignoring case packs or supplier minimums wastes effort.

Fix

Round the EOQ to a practical order size: a full case, pallet, container, or your supplier's minimum order quantity. Close is good enough.

Accepting every bulk discount on instinct

Why it matters

A lower unit price feels like a win, but ordering far above the EOQ to get it can raise holding cost more than it saves on price β€” a net loss that hides in next year's storage bill.

Fix

Use the bulk-discount check: it compares total annual cost (purchase + ordering + holding) at the deal vs the EOQ and tells you the real saving β€” or loss.

Using EOQ for erratic or seasonal demand

Why it matters

EOQ assumes steady, predictable demand. For lumpy, highly seasonal, or fast-declining products, a single EOQ can leave you over- or under-stocked at the wrong moment.

Fix

Use EOQ for stable runners. For seasonal or volatile SKUs, plan order-by-order and lean on the restock calculator with a safety-stock buffer instead.

Tips

Get the most out of your EOQ

Round to a practical pack

The cost curve is flat at the bottom, so round the EOQ up to a full case, pallet, or supplier minimum. The cost penalty for being a bit off is tiny.

Recompute when inputs move

When freight, demand, or storage costs change, the EOQ shifts. Re-run it each season or after a supplier renegotiation rather than reusing last year's number.

Lower ordering cost to order leaner

EDI, standing orders, and consolidated POs cut the per-order cost β€” which lowers the EOQ and lets you carry less stock without paying more to order.

Pair EOQ with a reorder point

EOQ is HOW MUCH; the reorder point (lead-time demand + safety stock) is WHEN. Use the restock calculator alongside this one for the full picture.

Watch the cycle vs shelf life

If the cycle in days exceeds the product's shelf life or your storage window, cap the order below the EOQ regardless of cost β€” spoilage beats any saving.

Test every bulk offer

Before saying yes to a price break, run it through the discount check. The extra holding cost on the bigger order often erases the headline saving.

Use cases

When to reach for the EOQ calculator

The Economic Order Quantity (EOQ) Calculator works across every stage of the workflow.

Ecommerce sellers restocking SKUs

Decide how many units to reorder per shipment so freight and storage costs are balanced rather than guessed.

Amazon FBA sellers

Size each inbound shipment so storage fees and reorder freight net to the lowest total β€” then time it with the restock calculator.

Small manufacturers buying raw materials

Set batch purchase sizes for components to minimise combined setup/ordering and carrying cost.

Wholesalers weighing a bulk discount

Check whether a supplier price break for a larger order actually beats ordering at the EOQ once holding cost is counted.

Inventory and ops planners

Establish a baseline order quantity and reorder cadence per SKU, then layer safety stock and lead time on top.

Students and analysts

Work through the classic Wilson EOQ with every intermediate figure shown β€” ideal for learning or checking coursework.

Glossary

Inventory ordering vocabulary

Every important term you'll encounter in this calculator and the broader topic.

Economic Order Quantity (EOQ)
The order size that minimises total annual inventory cost by balancing ordering cost against holding cost. The answer to "how much should I order each time?"
Ordering cost
The fixed cost of placing and receiving one order, regardless of size: freight, customs, admin, inspection, and receiving labour.
Holding (carrying) cost
The annual cost of keeping one unit in stock: storage, tied-up capital, insurance, obsolescence, and shrinkage. Often 20–30% of unit value.
Carrying-cost rate
Holding cost expressed as a percentage of inventory value rather than a flat per-unit figure. Multiply by unit cost to get holding cost per unit per year.
Order cycle
The time between orders β€” 365 Γ· orders per year. How many days one batch of stock lasts before you reorder.
Average inventory
The typical stock on hand across a cycle. For steady demand it is EOQ Γ· 2, since stock falls evenly from a full order down to zero.
Wilson EOQ
The classic square-root EOQ formula, named after R. H. Wilson, who popularised it in 1934. The model this calculator implements.
Quantity discount
A lower unit price a supplier offers for ordering in larger volumes. Worth taking only when the price saving beats the extra holding cost of the bigger order.
Reorder point
The stock level that triggers a new order β€” lead-time demand plus safety stock. EOQ sets the order size; the reorder point sets the timing.
Help & answers

Frequently asked questions

Everything you need to know about how the Economic Order Quantity (EOQ) Calculator works.

01What is the economic order quantity (EOQ)?

The economic order quantity is the order size that minimises your total annual inventory cost. It balances two opposing costs: ordering cost, which rewards big infrequent orders, and holding cost, which rewards small frequent ones. Order more than the EOQ and you carry too much stock; order less and you pay too often to reorder. At the EOQ those two costs are exactly equal, and the combined cost is at its lowest. It answers the question "how much should I order each time?"

02What is the EOQ formula?

The classic Wilson EOQ formula is EOQ = √( (2 Γ— D Γ— S) Γ· H ), where D is annual demand in units, S is the cost to place one order, and H is the cost to hold one unit in stock for a year. For example, with 12,000 units of annual demand, a 50 ordering cost, and a 3 holding cost, the EOQ is √((2 Γ— 12,000 Γ— 50) Γ· 3) = √400,000 β‰ˆ 632 units per order. This calculator computes that for you and shows every intermediate step.

03How do I calculate the optimal order quantity?

You need three numbers: annual demand in units, the cost to place one order, and the cost to hold one unit for a year. Put them into EOQ = √((2 Γ— demand Γ— ordering cost) Γ· holding cost). Enter them above and the optimal order quantity calculator returns the EOQ instantly, along with how many orders that means per year, how many days each batch lasts, and the total annual cost you are minimising.

04What counts as ordering cost and holding cost?

Ordering cost is everything it takes to place and receive ONE order, whatever its size: freight, customs, purchasing admin, inspection, and receiving labour. Holding cost is what it costs to keep one unit in stock for a YEAR: warehouse space, the capital tied up in the stock, insurance, obsolescence, and shrinkage. Holding cost is often quoted as a carrying-cost rate β€” 20–30% of the item's value per year is typical β€” which is why this tool lets you enter it as a flat figure or as a percentage of unit cost.

05Why are ordering cost and holding cost equal at the EOQ?

It is a mathematical property of the model, and a useful sanity check. As you increase order size, annual ordering cost falls (fewer orders) while annual holding cost rises (more average stock). The total is lowest exactly where the two curves cross β€” and at that crossing point they are equal. So when this calculator shows your annual ordering cost and annual holding cost as roughly the same number, that confirms you are at the optimum.

06Should I always take a supplier bulk discount?

No. A lower unit price is tempting, but ordering far above the EOQ to qualify means carrying more stock, and the extra holding cost can outweigh the price saving. The right test is total annual cost β€” purchase plus ordering plus holding β€” at the discount quantity versus at the EOQ. Enter the bulk quantity and its discounted price above and the calculator runs that comparison and tells you which option costs less per year, and by how much.

07Does the EOQ change if my unit purchase price changes?

Not on its own. The basic EOQ depends only on annual demand, ordering cost, and holding cost β€” the unit purchase price is not in the formula, because total purchase cost (demand Γ— price) is the same however you split the orders. That is why the "total annual inventory cost" output excludes purchase cost. Unit price only matters when you are comparing a quantity discount, where a lower price changes the all-in total cost β€” which is exactly the comparison the discount check performs.

08How many orders per year and how often should I reorder?

Once you have the EOQ, orders per year is annual demand Γ· EOQ, and the order cycle is 365 Γ· orders per year β€” the number of days a batch lasts. In the worked example, 12,000 units Γ· 632 β‰ˆ 19 orders a year, or roughly one every 19 days. EOQ tells you HOW MUCH to order; the cycle hints at WHEN, but to set a precise reorder trigger you also need lead time and safety stock β€” use the restock calculator alongside this one.

09What if the EOQ comes out as a fraction or an odd number?

That is normal β€” the EOQ is rarely a clean number. Because the total-cost curve is flat near the bottom, rounding to a practical order size barely changes your cost. Round up to a full case, pallet, container, or your supplier's minimum order quantity. If the EOQ comes out below one unit, your holding cost is very high relative to your ordering cost; double-check both inputs, then order the smallest practical batch.

10When should I not use the EOQ model?

EOQ assumes steady, predictable demand, a constant ordering cost, and a constant holding cost. It is ideal for stable, fast-moving products. It fits poorly for highly seasonal items, products with short shelf lives, fast-declining or one-off SKUs, or situations with severe storage caps β€” there a single EOQ can leave you over- or under-stocked at the wrong time. For those, plan order by order and rely on a reorder point with safety stock instead.

11Does this EOQ calculator work in my currency?

Yes. EOQ is currency-agnostic β€” the quantity comes out the same in any currency as long as your ordering cost and holding cost are entered in the same one. Type your costs in your local currency and the calculator shows every monetary output (annual ordering cost, holding cost, total cost, and any discount saving) in that same currency. There is no conversion and no hidden assumption about dollars.

12What is the difference between EOQ and the reorder point?

They answer different questions. The EOQ is HOW MUCH to order each time β€” the quantity that minimises total cost. The reorder point is WHEN to order β€” the stock level at which you place a new order, equal to lead-time demand plus safety stock. You need both: the EOQ sets your order size, the reorder point triggers the order so stock arrives before you run out. This calculator handles the EOQ; pair it with a restock or reorder-point calculator for the timing.

Category

Ecommerce Seller Operations

Subcategory

inventory operations

Availability

Global Β· 9 markets

Price

Free forever

Topics

eoq calculatoreconomic order quantityoptimal order quantityinventory order costhow much to orderreorder quantitywilson eoqinventory managementholding costordering cost

Explore 500+ more tools

Calculators, simulators, and decision tools for every stage of business operations.