Economic order quantity (EOQ) calculator

Free · No signup · Guide approved 18 November 2026 by Nirav Italiya, founder · How we check guides

How do I calculate the economic order quantity (EOQ)?

EOQ = √(2 × annual demand × cost per order ÷ holding cost per unit per year). It is the order size that minimises the total of ordering and holding costs. Enter your annual demand, the cost of placing one order and the cost of holding one unit for a year to get the EOQ, how many orders a year that means, and how the total cost compares at other order sizes.

Economic order quantity

490 units

About 12.2 orders a year, one every 30 days

Ordering cost / yr
$612.37
Holding cost / yr
$612.37

Total yearly cost at other order sizes

EOQ is the lowest
  • 245 units$1,530.93
  • 367 units$1,275.78
  • 490 units$1,224.74
  • 735 units$1,326.81
  • 980 units$1,530.93

Fewer returns, better margin

Show buyers the real fit and colour

Returns and RTO eat profit. On-model photos that match what buyers receive help them choose right the first time.

  • First 2K photo free, no card
  • Ready in about 3 minutes
  • Full commercial rights
Flat-lay photo of a western dressThe same western dress on an AI model, made with DrapifyApp

How to use it

  1. Enter annual demand in units.
  2. Enter the cost of placing one order (admin, shipping, setup).
  3. Enter the cost of holding one unit for a year (storage, capital, insurance, shrinkage).
  4. Read the EOQ and the cost comparison.

Who this is for

This calculator is for sellers who reorder the same item again and again from one supplier: core basics, packaging, consumables or any steady seller. It answers how many to buy each time when the supplier does not force a minimum, and whether a habit such as “order every month” or “order a year’s stock at once” is costing more than it needs to.

It balances two costs that move in opposite directions. Small, frequent orders pile up admin, setup and fixed shipping charges; large, rare orders tie up cash and space. EOQ is the order size where the two add up to the least.

Reading the results

The calculator shows the EOQ in whole units, how many orders a year that means (annual demand ÷ EOQ), and the days between orders (365 ÷ orders). Ordering cost per year is orders × cost per order. Holding cost per year is EOQ ÷ 2 × holding cost per unit, because on average you hold half an order in stock. It does not include safety stock; that is the reorder point’s job.

At the EOQ the two yearly costs are always equal, which is a quick way to check the inputs make sense. The bar chart then shows total yearly cost at half, three-quarters, one and a half and twice the EOQ.

Worked example: the cost curve is flat near the bottom

Hypothetical inputs: 2,400 units a year, 30 per order, and a holding cost of 4 per unit per year (20% of a 20 unit cost). EOQ = √(2 × 2,400 × 30 ÷ 4) = √36,000 ≈ 190 units, about 12.6 orders a year or one every 29 days. Ordering and holding each cost 379.47 a year.

Total yearly ordering + holding cost at other order sizes
Order sizeTotal yearly costVersus EOQ
95 (0.5×)948.68+25.0%
142 (0.75×)790.57+4.2%
190 (EOQ)758.95—
285 (1.5×)822.19+8.3%
379 (2×)948.68+25.0%

When a price break beats the EOQ

The formula ignores purchase price, so check bulk discounts by hand. Suppose the same supplier takes 3% off at 500 units, bringing the unit cost from 20 to 19.40 and the holding cost to 3.88. Ordering 190 at a time costs 48,000 in stock plus 758.95, or 48,758.95 a year. Ordering 500 costs 46,560 in stock, 144 in ordering (4.8 orders × 30) and 970 in holding (250 × 3.88), or 47,674 a year.

The price break saves 1,084.95 a year even though holding cost more than doubles. Before taking it, check you have the cash for 500 units at once, the space to store them, and that the item will not go out of style or date before it sells.

Estimating the two cost inputs

  • Cost per order (S): only costs that stay the same whatever the quantity: the time to raise and chase the order, a fixed freight or minimum shipment charge, inspection, receiving, and bank or transfer fees per payment.
  • Leave out per-unit shipping and duty; they belong in the unit cost, not in S.
  • Holding cost (H): the yearly cost of keeping one unit, as an amount. Add storage per unit per year, the cost of the money tied up in it, insurance, and an allowance for damage, theft and items that go out of date.
  • A quick estimate for H is unit cost × a yearly holding rate you choose, such as 20% or 25%; 25% of a 20 unit is 5.

Worked example

With demand of 6,000 units a year, 50 per order and 2.50 holding cost per unit per year: EOQ = √(2 × 6,000 × 50 ÷ 2.5) = √240,000 ≈ 490 units, about 12 orders a year.

Assumptions

EOQ assumes steady demand, a fixed cost per order and no quantity discounts. If suppliers give price breaks at larger quantities, compare total cost including the purchase price at each break.

Holding cost

Holding cost is often estimated as 20–30% of a unit’s value per year, covering storage, the cost of money tied up, insurance and items that go out of date or get damaged.

Common mistakes

  • Entering monthly demand. The formula needs annual demand, so multiply monthly sales by 12.
  • Typing holding cost as a percentage such as 25 instead of an amount per unit per year.
  • Putting per-unit freight into the cost per order, which inflates the EOQ.
  • Using EOQ for seasonal or fashion items with a short selling window, where unsold stock is the main risk.
  • Ignoring minimum order quantities and case packs. Round to the nearest quantity the supplier will actually ship; the flat cost curve means it costs little.

What this tool can’t do

  • It assumes steady demand through the year, a fixed cost per order and instant delivery. Lead time and safety stock are handled by the reorder point.
  • It does not compare price breaks; use the hand calculation above.
  • It works one item at a time and ignores shared shipments, storage limits and cash limits.

How this guide was made: drafted with AI assistance from the tool’s own calculations and behaviour, then checked against our editorial policy and approved by the founder before publishing.

Questions

What is the EOQ formula?
EOQ = √(2DS ÷ H), where D is annual demand, S is the cost per order and H is the holding cost per unit per year.
What does EOQ tell you?
The order quantity at which the cost of ordering and the cost of holding stock add up to the lowest total.
How many orders per year does EOQ mean?
Annual demand ÷ EOQ. The calculator shows it, and the number of days between orders.
Is EOQ useful for small businesses?
Yes, as a guide. Adjust for minimum order quantities, price breaks and seasonality.
What is the difference between EOQ and reorder point?
EOQ is how much to order; the reorder point is when to order.
What is an example of EOQ?
With 1,200 units a year, 40 per order and 2 holding cost per unit per year: EOQ = √(2 × 1,200 × 40 ÷ 2) ≈ 219 units.
What is holding cost in EOQ?
The yearly cost of keeping one unit in stock: storage, the money tied up in it, insurance and losses from damage or obsolescence.
What are the limitations of EOQ?
It assumes steady demand and fixed costs, and ignores bulk discounts, seasonal peaks and minimum order quantities.

Add this calculator to your website

Run a blog, seller community or agency site? Paste this code where you want the EOQ calculator to appear. It is free, has no ads, and works on WordPress, Shopify, Wix, Blogger and plain HTML.

Preview the embedAdd ?theme=dark to the address for a dark version.

Related free tools

More free tools: Inventory

See all Inventory tools