EOQ Calculator

A free tool by DeepRit, a Google Ads agency that does PPC and nothing else. We build and run Google Ads accounts so every click is accounted for. Book a free audit call

Free EOQ calculator. Find the economic order quantity that keeps ordering and holding costs lowest, with orders a year, days between orders and total cost.

Orders a year
0
Days between orders
0
Yearly ordering cost
0
Yearly holding cost
0
Total yearly cost
0

Free, no sign-up. Runs in your browser: nothing you type is uploaded or saved.

How to use the EOQ calculator

  1. Yearly demand: how many units of the item you sell or use in a year.
  2. Cost per order: the fixed cost of placing one order, whatever its size. Include admin time, delivery charges that don't depend on quantity, receiving and inspection.
  3. Holding cost: what it costs to keep one unit in stock for a year. Enter it as an amount per unit, or as a percentage of the unit cost (with the unit cost).

The EOQ calculator shows the economic order quantity, how many orders that means a year, the days between orders, the yearly ordering cost, the yearly holding cost and the total of the two.

What EOQ is

The economic order quantity (EOQ) is the order size that keeps the total of two opposing costs as low as possible:

  • Ordering costs fall when you order more at a time, because you order less often.
  • Holding costs rise when you order more at a time, because you keep more stock on average.

Order too little and you're constantly placing orders. Order too much and money, space and insurance are tied up in stock. EOQ finds the balance.

The EOQ formula

EOQ = √(2 × D × S ÷ H)

where D is yearly demand, S is the cost per order and H is the holding cost per unit per year.

For a shop selling 12,000 units a year, with 50 per order and a holding cost of 2.40 per unit per year:

EOQ = √(2 × 12,000 × 50 ÷ 2.40) = √500,000 = 707 units

That means about 17 orders a year (12,000 ÷ 707), one every 21.5 days or so.

At the EOQ, the yearly ordering cost (17 × 50 = 848.53) exactly equals the yearly holding cost (707 ÷ 2 × 2.40 = 848.53), and the total, 1,697.06, is as low as it can be. That equality is a quick check that the maths is right.

Working out the holding cost

Holding (carrying) cost includes everything it costs to keep stock:

  • Cost of capital: the money tied up in stock could be earning interest or paying off debt.
  • Storage: rent or warehouse space, utilities, shelving.
  • Insurance and taxes on the stock.
  • Shrinkage: damage, theft, expiry and obsolescence.
  • Handling: staff time moving and counting stock.

Many businesses estimate it at 20% to 30% of the unit cost per year. If a unit costs 12 and holding costs are 20%, H = 2.40. Choose "a % of the unit cost" in the EOQ calculator to enter it this way.

Working out the cost per order

Include costs that happen once per order, regardless of size:

  • Staff time to prepare, approve and place the order.
  • Fixed delivery or handling fees.
  • Receiving, checking and putting stock away.
  • Processing the invoice and payment.

Don't include the price of the goods themselves; that's the same whatever the order size (unless there are quantity discounts, see below).

The assumptions behind EOQ

The basic EOQ model assumes:

  • Demand is steady and known.
  • The cost per order and holding cost are fixed.
  • Each order arrives all at once.
  • There are no quantity discounts.
  • You don't run out of stock.

Real life is messier, but EOQ is still a valuable starting point. The total cost curve is flat near the minimum, so ordering somewhat more or less than the EOQ costs very little extra. Rounding to a supplier's pack or pallet size is fine.

Quantity discounts

If a supplier offers a lower price for larger orders, check whether the saving beats the extra holding cost. Work out the total yearly cost (purchase price × demand + ordering + holding) at the EOQ and at each discount break, and pick the cheapest.

EOQ with reorder points and safety stock

EOQ tells you how much to order. You also need to know when:

Together they make a simple, reliable stock system: when stock falls to the reorder point, order the EOQ.

Where EOQ is useful

  • Retail and e-commerce: steady sellers with predictable demand.
  • Restaurants and cafés: dry goods, packaging and drinks.
  • Manufacturing: raw materials and parts used at a steady rate.
  • Offices, clinics and salons: consumables like paper, gloves or products.

It's less useful for seasonal items, fashion, fresh produce with short shelf lives, and products with very lumpy demand. To see how fast stock moves through your business, use the inventory turnover calculator.

Tips

  • Use real figures for a year, from your sales and order history.
  • Revisit EOQ when demand, supplier fees or storage costs change.
  • Round to practical quantities, like full cartons.
  • Use the days between orders to set a regular ordering rhythm.

Privacy and accuracy

Your figures stay in your browser. Nothing is uploaded or saved. The EOQ calculator uses the classic Wilson EOQ formula with no rounding until the result is shown, and no AI involved, so the same inputs always give the same result. Shop owners, buyers, operations managers and students use it free on any device.

Reorder point and lead time

Ordering the EOQ only works if orders arrive before you run out. The reorder point is the stock level that triggers a new order:

Reorder point = average daily usage × lead time in days + safety stock

For the coffee shop using about 10 sleeves a day, with a 5-day lead time and 15 sleeves of safety stock, the reorder point is 10 × 5 + 15 = 65 sleeves. When stock falls to 65, she orders the EOQ.

Sensitivity: being close is good enough

The EOQ's total cost curve is flat around its minimum. Ordering 20% more or less than the EOQ usually raises the total ordering and holding cost by only about 2%. So you can round to pallet sizes, supplier minimums or convenient schedules without losing much. What matters is being in the right range, not hitting the exact number.

When demand grows

The EOQ grows with the square root of demand, not in proportion. If demand doubles, the EOQ rises by about 41% (√2 = 1.414), and the number of orders a year also rises by about 41%. Rerun the EOQ calculator when sales change noticeably.

Quick reference

  • D: yearly demand in units.
  • S: fixed cost per order.
  • H: holding cost per unit per year.
  • EOQ: √(2DS ÷ H).
  • Cycle time: days between orders.
  • Reorder point: stock level that triggers an order.

Keep these letters in mind when you read inventory guides; they match the inputs of the EOQ calculator.

Common EOQ mistakes

The most common mistakes are counting the price of goods as part of the order cost, using monthly demand with a yearly holding cost, and forgetting to update the figures when suppliers change their delivery fees. Keep all inputs in the EOQ calculator on a yearly basis.

A worked example

A coffee shop buys takeaway cups in sleeves, and uses about 3,600 sleeves a year. Each order costs about 40 in delivery and staff time. A sleeve costs 12, and the owner estimates holding costs at 20% a year.

She enters 3,600, 40, "a % of the unit cost", 12 and 20 into the EOQ calculator. The holding cost works out to 2.40 per sleeve per year, and the economic order quantity is about 346 sleeves. That's about 10.4 orders a year, one every 35 days, with a total yearly ordering and holding cost of about 831.

She'd been ordering 100 sleeves every 10 days, 36 orders a year, which cost 1,440 in ordering plus 120 in holding: 1,560 in total. Switching to about 350 sleeves roughly once a month saves around 729 a year, and the supplier's pallet holds 360 sleeves, so she rounds up to a full pallet.

Bring in the next customer from Google

Numbers like these keep a business running. Google Ads, run carefully, is how many small businesses bring in the next customer. DeepRit is a Google Ads agency that does PPC and nothing else: we build the campaigns, block the searches that waste money, write the ads, set up conversion tracking and send you a short report every week. Request a free PPC audit and we will show you, in dollars, what we would fix first.

Frequently asked questions

What does EOQ stand for?

Economic order quantity: the order size that minimises the total of ordering and holding costs.

How do I calculate EOQ?

EOQ = √(2 × yearly demand × cost per order ÷ holding cost per unit per year). The EOQ calculator does it for you.

What is a typical holding cost?

Often 20% to 30% of the unit cost a year, depending on storage, capital and shrinkage.

Why are ordering and holding costs equal at the EOQ?

That's where their total is lowest. It's a property of the formula, and a handy check.

What if my supplier offers bulk discounts?

Compare the total yearly cost at the EOQ and at each discount level, including the purchase price.

Is the EOQ calculator free?

Yes, completely free with no sign-up.

Free PPC audit

See where your ad budget leaks.

We look at your Google Ads account before the call, then walk you through what we'd fix first, in dollars. No obligation, no hard sell.

Book a free audit call 30-minute call · Free · The audit is yours to keep