Economic Order Quantity Calculator
The order size that minimises total cost.
Calculate the economic order quantity (EOQ) that balances ordering costs against carrying costs, with total annual cost at that quantity.
Labour, admin and any flat freight, not the goods themselves.
Economic order quantity
400
10.0 orders a year
Ordering and carrying cost are equal at the EOQ, and the total-cost curve is flat near the minimum, being roughly right matters far more than being precise.
How the Economic Order Quantity Calculator works
Order in small batches and you pay the ordering cost repeatedly. Order in large batches and you pay to hold stock you are not selling yet. EOQ is the quantity where those two costs are balanced, and the curve is flat near the minimum, being roughly right is worth far more than being precisely wrong.
Also known as: EOQ calculator · optimal order quantity · how much stock to order
How it is calculated
Economic order quantity is the order size that minimises the sum of ordering cost and carrying cost: √(2DS ÷ H), where D is annual demand, S is the cost of placing one order, and H is the cost of holding one unit for a year.
The square root is doing the work. It means doubling demand does not double the order quantity. It raises it by about 41%, which is why large businesses order proportionally less often per unit sold than small ones.
The same thing with real figures
Annual demand 2,080 units, ordering cost $85, unit cost $18 with carrying cost at 25% a year, so H = $4.50.
EOQ = √(2 × 2080 × 85 ÷ 4.50) = √78,578 = 280 units. That means 7.4 orders a year, roughly one every seven weeks.
Check the balance: ordering cost is 7.4 × $85 = $631, and carrying cost is (280 ÷ 2) × $4.50 = $630. At the optimum the two are equal, which is the property that makes the formula work and a useful check that the arithmetic is right.
The catch
The cost curve near the optimum is remarkably flat, which is the most useful and least known property of EOQ. Ordering 200 units instead of 280 raises total cost by about 4%; ordering 400 raises it by about 6%. The formula's precision is largely illusory and the practical answer is a range.
It also assumes constant demand, a fixed unit cost regardless of quantity, and no constraints. Volume price breaks, minimum order quantities, container sizes and shelf space all override it, and in practice at least one of them usually does.
Applying it
Use it to sense-check the order quantity you were going to place rather than as the quantity itself. If EOQ says 280 and habit says 1,000, the habit is worth examining; if habit says 250, it is close enough that the difference is not worth an argument.
Then round to something practical: a case quantity, a pallet layer, a container fill. The flat cost curve means the rounding costs almost nothing and the operational simplicity is worth real money.
Getting the two input costs right
Ordering cost is the cost of placing and receiving one order regardless of size: the buyer's time, the paperwork, the inbound freight if it is flat, the goods-in labour, the quality check. For a small business it is typically $50 to $150, and for a business ordering by container it can be far more.
Carrying cost is the annual cost of holding a unit: capital tied up, storage, insurance, shrinkage, obsolescence and the risk of markdown. The conventional range is 20% to 30% of unit cost a year, and for fashion or perishables it is much higher because obsolescence dominates.
Both are usually estimated rather than measured, and the flat cost curve means that is acceptable. An ordering cost estimated at $85 when the truth is $110 changes EOQ from 280 to 318, and the total cost difference between those two order sizes is under 1%. The formula is far more robust to bad inputs than its appearance suggests.
Where to go next
The Economic Order Quantity question rarely arrives on its own. These are the ones that usually come with it:
- Inventory Carrying Cost Calculator — The annual cost of holding stock, itemised.
- Reorder Quantity Calculator — How much to order, allowing for what is coming.
- Inventory Reorder Cost Calculator — What placing an order actually costs.
- Etsy Fee Calculator — Every Etsy fee on one sale, itemised.
Not financial advice. Marketplace fees change, and they vary by country, plan and seller status. Every rate here is an editable default, not a quoted price, check the platform's current fee schedule before you price a product against it. This is not tax or business advice.
Frequently asked questions
What is the EOQ formula?
√(2 × annual demand × cost per order ÷ annual carrying cost per unit). With 4,000 units of annual demand, £60 per order and £3 to hold a unit for a year, EOQ is √(2 × 4000 × 60 ÷ 3) = 400 units.
What counts as an ordering cost?
Everything spent placing and receiving an order regardless of size: purchasing time, inbound freight if it is flat-rate, receiving and inspection labour, and any per-order supplier charge. Not the cost of the goods themselves.
What are the assumptions behind EOQ?
Steady demand, constant lead time, a fixed price per unit and no quantity discounts. Real businesses violate all four. EOQ is still useful as a sanity check on order size, but it is not a rule to follow blindly.
How do quantity discounts change EOQ?
They can make a larger order cheaper overall even though it carries more stock. Compare total cost, purchase plus ordering plus carrying, at the EOQ and at each discount break, and pick whichever is lowest.
Put this calculator on your own site
Free to use, on any site, commercial or not. Paste this where you want it to appear. It is a plain iframe, so it works in WordPress, Squarespace, Wix, Webflow, Ghost and anything else that accepts HTML.
<iframe src="https://www.thecalclibrary.com/embed/economic-order-quantity-calculator" width="100%" height="640" style="border:1px solid #e2e8f0;border-radius:12px" loading="lazy" title="Economic Order Quantity Calculator"></iframe>
<p style="font:13px/1.5 system-ui,sans-serif;margin:6px 0 0;color:#64748b">Powered by <a href="https://www.thecalclibrary.com/economic-order-quantity-calculator" style="color:#64748b">Economic Order Quantity Calculator</a> from The Calc Library</p>The only condition is that the credit line below the frame stays in place. That one line is what pays for the tool being free — it is how anyone else finds it.
Related calculators
Inventory Carrying Cost Calculator
The annual cost of holding stock, itemised.
OpenReorder Quantity Calculator
How much to order, allowing for what is coming.
OpenInventory Reorder Cost Calculator
What placing an order actually costs.
OpenEtsy Fee Calculator
Every Etsy fee on one sale, itemised.
Open