Enter annual demand
How many units you sell or use in a year. If you only know monthly, multiply by 12 first.
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
Use the calculator
Enter the values that match your situation β results update in real time as you type.
Your numbers
Results
Results appear as you type
No submit button needed
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.
Four short steps to the order size that costs you the least.
How many units you sell or use in a year. If you only know monthly, multiply by 12 first.
The fixed cost of placing and receiving one order β freight, customs, admin, and stocking labour, whatever the order size.
What it costs to keep one unit in stock for a year β flat, or as a % of the unit value (20β30% is typical).
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.
No black boxes β the Wilson EOQ and everything we derive from it, in plain algebra.
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).
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.
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.
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.
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.
Watch the EOQ balance ordering against holding β and prove the two costs land equal.
EOQ = β( (2 Γ 12,000 Γ $50.00) Γ· $3.00 ) = β(1,200,000 Γ· 3) = β400,000 β 632 units.
EOQ β 632 units
Orders per year = 12,000 Γ· 632 units β 18.97. Cycle = 365 Γ· 18.97 β 19 days between orders.
18.97 orders/year Β· ~19 days
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
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.
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.
| Metric | Poor | Average | Good | Excellent |
|---|---|---|---|---|
| Carrying-cost rate (% of value) | > 40% | 30β40% | 20β30% | < 20% |
| Orders per year per SKU | > 52 (weekly+) | 24β52 | 6β24 | 4β12 |
| Order cycle (days between orders) | < 7 | 7β15 | 15β60 | 30β90 |
| Ordering Γ· holding cost balance | Wildly skewed | Within 2Γ | Within 1.3Γ | Equal (at EOQ) |
| Inventory turns per year | < 4 | 4β8 | 8β12 | 12+ |
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.
| Feature | Calcrux | Typical free EOQ tool | Spreadsheet |
|---|---|---|---|
| Economic order quantity (the EOQ) | Manual | ||
| Orders per year + cycle in days | Rare | Manual | |
| Annual ordering vs holding cost split | Manual | ||
| Total annual inventory cost at the EOQ | Some | Manual | |
| Holding cost as a % carrying rate | Rare | Manual | |
| Quantity-discount-vs-EOQ decision | Manual | ||
| Plain-language warnings on odd results | |||
| Works in any currency | Most US-only | ||
| Free, no signup | Most |
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
The Economic Order Quantity (EOQ) Calculator works across every stage of the workflow.
Decide how many units to reorder per shipment so freight and storage costs are balanced rather than guessed.
Size each inbound shipment so storage fees and reorder freight net to the lowest total β then time it with the restock calculator.
Set batch purchase sizes for components to minimise combined setup/ordering and carrying cost.
Check whether a supplier price break for a larger order actually beats ordering at the EOQ once holding cost is counted.
Establish a baseline order quantity and reorder cadence per SKU, then layer safety stock and lead time on top.
Work through the classic Wilson EOQ with every intermediate figure shown β ideal for learning or checking coursework.
Every important term you'll encounter in this calculator and the broader topic.
Everything you need to know about how the Economic Order Quantity (EOQ) Calculator works.
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?"
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
Keep exploring
Find your reorder point, when to reorder, and the exact quantity to order β without the spreadsheets.
Find out how much gross profit each dollar of inventory earns you in a year β with the >1 / ~3.2 benchmark verdict and the two levers (margin and turnover) that move it.
Find the exact price to charge to hit your target margin after marketplace and payment fees β the pricing tool that grosses up for fees so you never underprice.
Calculate your true Amazon FBA profit, margin, and ROI in seconds.
Category
Ecommerce Seller Operations
Subcategory
inventory operations
Availability
Global Β· 9 markets
Price
Free forever
Topics
Calculators, simulators, and decision tools for every stage of business operations.
Your honest feedback shapes what we build next. Takes 30 seconds, fully anonymous β we don't ask for your name or email.