Home › Calculators › EOQ Calculator

EOQ Calculator

Enter annual demand, the cost per order and the holding cost to find the economic order quantity, how often to order, the total annual cost and your reorder point with safety stock. Everything is calculated privately in your browser.

Last updated:

Reorder point
Compare
Economic order quantity –
Orders per year–
Time between orders–
Reorder point–
Safety stock–
Annual ordering cost (D ÷ Q × S)–
Annual holding cost (Q ÷ 2 × H)–
Safety stock holding (SS × H)–
Purchase cost (D × unit cost)–
Total annual cost–

Cost curve

Total costOrdering costHolding cost

Sensitivity: what if you order more or less?

Order sizeOrders / yrOrdering costHolding costTotal (excl. purchase)vs EOQ

The EOQ model assumes steady demand, a fixed cost per order, a constant holding cost and no quantity discounts. Holding cost usually includes capital, storage, insurance, shrinkage and obsolescence (often 20–30% of unit cost per year).

Advertisement

How to use the EOQ Calculator

  1. Enter annual demand in units, the cost of placing one order and the unit cost.
  2. Enter the holding cost as a % of unit cost per year (often 20–30%) or as an amount per unit per year.
  3. Add lead time and safety stock to get the reorder point; pick Calculate from service level if you know how much daily demand varies.
  4. Press Calculate EOQ (results update as you type) and read the order size, orders per year and total cost.
  5. Compare with your current order size, check the cost curve and sensitivity table, and export a CSV.

EOQ formulas

QuantityFormula
Economic order quantityEOQ = √(2DS ÷ H)
Orders per yearN = D ÷ Q
Time between ordersT = working days ÷ N
Annual ordering costD ÷ Q × S
Annual holding costQ ÷ 2 × H (+ safety stock × H)
Minimum ordering + holding cost√(2DSH)
Reorder pointdaily demand × lead time + safety stock
Safety stock (service level)Z × σd × √L

D = annual demand (units), S = cost per order, H = holding cost per unit per year (for example 25% × unit cost), Q = order quantity, L = lead time in days.

Worked example

A shop sells 12,000 units a year, each order costs $50 to place and receive, and a unit costs $20 with a 25% annual holding rate, so H = $5. EOQ = √(2 × 12,000 × 50 ÷ 5) = √240,000 ≈ 490 units. That means about 24.5 orders a year, one every 10.2 working days (250-day year). Ordering and holding costs are both $1,224.74, a total of $2,449.49 a year. If the shop currently orders 1,000 units at a time, it pays $600 + $2,500 = $3,100, so switching to the EOQ saves about $651 a year. With 48 units sold per working day, a 7-day lead time and 100 units of safety stock, the reorder point is 436 units.

Service level Z values

Service level80%90%95%97.5%99%99.9%
Z factor0.8421.2821.6451.9602.3263.090
  • Flat bottom: ordering 50% more than the EOQ raises ordering + holding cost by only about 8%; ordering half the EOQ raises it by 25%. Rounding to a pack or pallet size is usually fine.
  • Quantity discounts: if suppliers give price breaks, compare total cost (including purchase cost) at the EOQ and at each break quantity.
  • Track the result: a good ordering policy should show up as higher stock turns; check with the inventory turnover calculator.

Frequently asked questions

What is the EOQ formula?

EOQ = √(2 × D × S ÷ H), where D is annual demand in units, S is the fixed cost of placing one order and H is the cost of holding one unit in stock for a year. With D = 12,000, S = $50 and H = $5, EOQ = √240,000 ≈ 490 units.

What does the economic order quantity minimize?

It minimizes the sum of annual ordering cost (D ÷ Q × S) and annual holding cost (Q ÷ 2 × H). At the EOQ these two costs are exactly equal, and the minimum total is √(2DSH).

How do I calculate the reorder point?

Reorder point = average daily demand × lead time in days + safety stock. If you sell 48 units a day, the supplier takes 7 days and you keep 100 units of safety stock, reorder when stock falls to 48 × 7 + 100 = 436 units.

How is safety stock calculated from a service level?

A common formula is safety stock = Z × σd × √L, where Z is the normal-distribution factor for the service level (1.645 for 95%), σd is the standard deviation of daily demand and L is the lead time in days. It assumes the lead time itself is constant.

What should I include in holding cost?

Holding (carrying) cost includes the cost of capital tied up in stock, warehouse space, insurance, taxes, handling, shrinkage and obsolescence. Many businesses estimate it at roughly 20–30% of the unit cost per year.

What if I order a bit more or less than the EOQ?

The total cost curve is flat near the minimum, so small deviations cost little. Ordering 25% more than the EOQ raises ordering plus holding cost by only about 2.5%. The sensitivity table shows the exact figures for your inputs.

When does the EOQ model not apply?

It assumes steady demand, a constant order cost and holding cost, instant delivery of the whole order and no quantity discounts. With strong seasonality, perishable goods or price breaks, use EOQ as a starting point and adjust.

Are all the tools on FreeToolCabin tested for quality and accuracy?

Yes! Every tool on our site undergoes automated Q/A testing in real browser environments to ensure high precision, correct output, and zero errors. If you happen to spot a bug or have a suggestion, please contact us at [email protected] and our team will review it right away.

Related tools

Inventory Turnover CalculatorInventory turnover ratio and days inventory outstanding from COGS or sales and average stock.Profit Margin CalculatorGross margin, markup, cost or price: solve for any one, single or bulk.Ecommerce Profit CalculatorNet profit, margin, markup and break-even ROAS per order after fees, ads and returns.ROI CalculatorWork out ROI and annualized ROI, and compare up to three investments side by side.EMI CalculatorMonthly EMI, total interest and month-by-month schedule, reducing or flat rate.SIP CalculatorMaturity value, invested amount and returns of a monthly SIP, with optional annual step-up.Compound Interest CalculatorSee how savings and investments grow over time.401(k) CalculatorProject your 401(k) balance with employer match and growth.Retirement CalculatorProject retirement savings and see your shortfall or surplus.Savings Goal CalculatorMonthly deposit needed to reach a savings goal by a deadline.Inflation CalculatorValue of a dollar between any two years using US CPI data.CAGR CalculatorCompound annual growth rate, or solve for a target end value.FIRE CalculatorFind your FIRE number, years to financial independence and Coast FIRE target.Simple Interest CalculatorCalculate simple interest and final amount, or solve for principal, rate or time.APY CalculatorTurn an interest rate into APY and project savings growth with monthly deposits.CD CalculatorFind a CD's maturity value, interest earned, APY vs APR and early-withdrawal penalty.Investment Return CalculatorProject investment growth with monthly contributions, nominal vs real after inflation.Dividend CalculatorProject dividend income with yield, dividend growth and DRIP reinvestment over time.Net Worth CalculatorList assets and debts by category to get your net worth, debt ratio, donut charts and history.Credit Card Interest CalculatorSee how long minimum payments take, the total interest and how much a fixed payment saves.Rental Yield CalculatorCalculate gross and net rental yield for a buy-to-let or rental property.Roth IRA CalculatorProject your Roth IRA balance at retirement with contribution limits, catch-up and growth.Present Value CalculatorFind what a future sum or a series of payments is worth today at a discount rate.Future Value CalculatorCalculate the future value of savings with compounding, regular payments and payment timing.NPV CalculatorCalculate net present value, PV table, profitability index and payback from cash flows.IRR CalculatorFind the internal rate of return of cash flows, with an NPV profile chart and optional MIRR.Rule of 72 CalculatorEstimate how long money takes to double with the rule of 72, 70 and 69.3 vs. the exact answer.Annuity CalculatorCalculate annuity payouts from a lump sum, or how an annuity grows with regular contributions.Savings CalculatorSee how savings grow with an initial deposit, monthly deposits and compound interest.Interest Rate CalculatorSolve a loan's interest rate (APR) from the amount, payment and term using Newton's method.Yield to Maturity CalculatorFind a bond's yield to maturity, current yield and yield to call from its price and coupon.Bond Price CalculatorPrice a bond from its coupon, yield and term, with premium or discount and a cash flow table.Stock Average CalculatorAverage cost of several stock buys, plus how many shares to buy to reach a target average.Position Size CalculatorHow many shares or units to trade so a stop-loss risks only a set share of your account.EPS CalculatorBasic and diluted earnings per share from net income, preferred dividends and share count.CAPM CalculatorExpected return from the risk-free rate, beta and market return using the CAPM formula.Effective Annual Rate CalculatorConvert a nominal rate to the effective annual rate (EAR / APY) for any compounding, or back.Dividend Reinvestment CalculatorProject a DRIP: portfolio value, shares and income with and without reinvesting dividends.Trading Compound Interest CalculatorCompound daily, weekly or monthly trading gains with deposits and withdrawals into a balance table.TSP CalculatorProject your Thrift Savings Plan balance with agency 1% + matching and G/F/C/S/I fund mix.Yield to Call CalculatorYield to call of a callable bond, compared with yield to maturity and yield to worst.Zero Coupon Bond CalculatorPrice, yield, face value or term of a zero coupon bond with any compounding.Is It Worth Automating? CalculatorTime saved by automating a task over years vs time to build it: payback and net hours.House Hacking CalculatorNet housing cost when tenants in a duplex to fourplex pay rent, and savings vs renting.Home Renovation ROI CalculatorRemodel cost vs value added at resale: recoup %, ROI and typical returns by project type.Required Rate of Return CalculatorAnnual return needed to reach a savings goal from current savings, contributions and years.72(t) SEPP CalculatorPenalty-free early IRA payments under 72(t): RMD, amortization and annuitization methods.College Savings CalculatorProject future college costs and see how much you need to save each month to pay for them.Retirement Withdrawal CalculatorSee how many years your retirement savings last with withdrawals, returns and inflation.Daily Interest CalculatorInterest per day and total interest for any number of days, simple or compounded daily.Reorder Point CalculatorReorder point from daily demand, lead time and safety stock, with days until the next order.Zakat CalculatorCalculate 2.5% zakat on cash, gold, silver and investments against the gold or silver nisab.Cash on Cash Return CalculatorCash-on-cash return on a rental: yearly pre-tax cash flow divided by the cash you invested.Coast FIRE CalculatorCoast FIRE number today, whether you have reached it and how long until you can coast.Continuous Compound Interest CalculatorFuture value with A = Pe^rt and a comparison with annual, monthly and daily compounding.Email Marketing ROI CalculatorOpens, clicks, orders, revenue, ROI and revenue per email from your list and rates.401k Employer Match CalculatorWork out your 401k employer match, total contribution, vesting and match left on the table.Expense Ratio CalculatorSee how much fund fees cost over time and compare up to 3 expense ratios.Fibonacci Retracement CalculatorFibonacci retracement and extension price levels from a swing high and low.Pip Value CalculatorForex pip value per lot and for any number of pips, in your account currency.HSA CalculatorEstimate HSA tax savings and project your health savings account balance over time.Lump Sum vs Payments CalculatorCompare a lump sum with periodic payments: present value, best option and break-even rate.Millionaire CalculatorSee when your savings will reach $1 million or any goal, with inflation adjustment.Opportunity Cost CalculatorCompare buying now with investing the money: see the future value you give up.Portfolio Rebalancing CalculatorBuy and sell amounts to bring each holding back to its target allocation.PPF CalculatorPPF maturity amount and interest for 15 years or with 5-year extensions, year by year.Recurring Deposit CalculatorRD maturity value and interest with quarterly compounding and a monthly breakdown.Real Rate of Return CalculatorInflation-adjusted and after-tax real return using the Fisher equation.
See all 127 Investing & Retirement Calculators →