BedrockCalculator
Verified Primary-Source MathematicsVerified by Aapt Dubey, MBA (Marketing & Finance) Last verified August 30, 2026

Economic Order Quantity (EOQ) Calculator

Quick Answer: With annual demand of 12,000 units, $75 to place an order and $6 a year to hold one unit, the economic order quantity is 547.72 units. That means 21.91 orders a year, roughly one every 16.7 days, at a total annual cost of $3,286.34 split exactly evenly between $1,643.17 of ordering cost and $1,643.17 of holding cost. Ordering 20% more than this costs only 1.67% extra per year, and 20% less only 2.50% extra, so the curve is nearly flat around its minimum.

Assumptions

Loading
units
$
$
days

Preset scenarios

Economic Order Quantity
547.72 units

Every period in the schedule below reconciles to the exact penny.

What This Means
Ordering 20% above this quantity costs only 1.67% more per year, and 20% below only 2.50% more. The total cost curve is nearly flat around its minimum, so a rounded, convenient order size loses almost nothing.
Minimum Total Annual Cost
$3,286.34
Annual Ordering Cost at EOQ
$1,643.17
Annual Holding Cost at EOQ
$1,643.17
Orders Placed Per Year
21.91
Days Between Orders
16.7 days
Reorder Point
460.27 units
Cost Penalty at 120% of EOQ
1.67%
Cost Penalty at 80% of EOQ
2.50%

Ordering, Holding and Total Cost by Order Size

Remaining balanceCumulative principalCumulative interest
8 periods, peak $6,983

Total Annual Cost at Order Sizes Around the Optimum

Showing 8 rows.

Order SizeUnits Per OrderAnnual Ordering CostAnnual Holding Cost
25% of EOQ$136.93$6572.67$410.79
50% of EOQ$273.86$3286.34$821.58
80% of EOQ$438.18$2053.96$1314.53
100% of EOQ$547.72$1643.17$1643.17
120% of EOQ$657.27$1369.31$1971.80
150% of EOQ$821.58$1095.45$2464.75
200% of EOQ$1095.45$821.58$3286.34
300% of EOQ$1643.17$547.72$4929.50
Quick Answer: With annual demand of 12,000 units, $75 to place an order and $6 a year to hold one unit, the economic order quantity is 547.72 units. That means 21.91 orders a year, roughly one every 16.7 days, at a total annual cost of $3,286.34 split exactly evenly between $1,643.17 of ordering cost and $1,643.17 of holding cost. Ordering 20% more than this costs only 1.67% extra per year, and 20% less only 2.50% extra, so the curve is nearly flat around its minimum.

Overview

The economic order quantity is the oldest result in inventory theory, published by Ford Harris in 1913, and it answers exactly one question: given a steady rate of consumption, how much should you buy at a time? Two costs pull in opposite directions. Ordering frequently means many fixed order costs a year but very little stock sitting on a shelf. Ordering rarely means few order costs but a warehouse full of capital. EOQ is the order size at which those two costs are balanced.

The result has a striking property that matters more commercially than the formula itself: at the optimum, annual ordering cost and annual holding cost are exactly equal. That is not a coincidence, it is what setting the derivative to zero produces, and it gives you a free sanity check on any EOQ you compute. If the two figures do not match, something is wrong.

The second property that matters is flatness. The total cost curve near its minimum is very nearly horizontal. Ordering 20% above EOQ costs 1.67% more; even doubling the order size costs only 25% more. This has a blunt practical consequence: precision in the inputs is worth much less than people assume. If your supplier ships in cases of 500, order 500 rather than 547.72 and you lose almost nothing. The model's assumptions -- constant known demand, instant replenishment, no quantity discounts, no capacity limit -- fail long before the arithmetic does.

How This Is Calculated

Annual cost of an order quantity $Q$, given annual demand $D$, order cost $S$ and holding cost $H$ per unit per year:

TC(Q)=DQS+Q2HTC(Q) = \frac{D}{Q}S + \frac{Q}{2}H

Setting the derivative to zero gives

Q=2DSHTC(Q)=2DSHQ^* = \sqrt{\frac{2DS}{H}} \qquad TC(Q^*) = \sqrt{2DSH}

Step 1 -- Build the numerator. 2 x 12,000 x $75 = 1,800,000

Step 2 -- Divide by the holding cost. 1,800,000 / 6 = 300,000

Step 3 -- Take the square root. sqrt(300,000) = 547.72 units

Step 4 -- Compute orders per year. 12,000 / 547.72 = 21.91 orders

Step 5 -- Compute the interval between orders. 365 / 21.91 = 16.7 days

Step 6 -- Compute the annual ordering cost at the optimum. 21.91 x $75 = $1,643.17

Step 7 -- Compute the annual holding cost at the optimum. Average inventory is half the order quantity: 547.72 / 2 = 273.86 units. 273.86 x $6 = $1,643.17

These two are equal, and that equality is the definition of the optimum.

Step 8 -- Total annual cost. $1,643.17 + $1,643.17 = $3,286.34

This equals sqrt(2 x 12,000 x 75 x 6) = sqrt(10,800,000) = $3,286.34, as the closed form predicts.

Step 9 -- Compute the reorder point. Daily demand: 12,000 / 365 = 32.88 units. 32.88 x 14 days of lead time = 460.27 units

The reorder point answers when to order, not how much. It is independent of the EOQ.

Step 10 -- Measure the flatness of the curve. Because $TC(kQ^) / TC(Q^) = (1/k + k)/2$: at k = 1.2: (1/1.2 + 1.2)/2 = 1.67% above optimal at k = 0.8: (1/0.8 + 0.8)/2 = 2.50% above optimal

Worked Example

A distributor sells 12,000 units a year. Each purchase order costs $75 in paperwork, freight minimum and inspection regardless of size. Holding one unit for a year costs $6 in storage, insurance, shrinkage and tied-up capital. The supplier takes 14 days.

Step 1 -- Test ordering monthly, 1,000 units at a time. Ordering cost: 12 x $75 = $900.00 Holding cost: 500 average units x $6 = $3,000.00 Total: $3,900.00

Step 2 -- Test ordering weekly, about 231 units at a time. Ordering cost: 12,000 / 231 x $75 = $3,896.10 Holding cost: 115.5 x $6 = $693.00 Total: $4,589.10

Step 3 -- Compute the optimum instead. sqrt(2 x 12,000 x 75 / 6) = 547.72 units

Step 4 -- Total cost at the optimum. $1,643.17 + $1,643.17 = $3,286.34

Step 5 -- The saving against monthly ordering. $3,900.00 - $3,286.34 = $613.66 a year, about 15.7%.

Step 6 -- The saving against weekly ordering. $4,589.10 - $3,286.34 = $1,302.76 a year, about 28.4%.

Step 7 -- Now round to a convenient case size of 550. Ordering: 12,000 / 550 x $75 = $1,636.36 Holding: 275 x $6 = $1,650.00 Total: $3,286.36, two cents worse than the exact optimum. Round freely.

Step 8 -- Set the reorder point. Place the next order when stock falls to 460.27 units, so the delivery arrives as the shelf empties.

Note how weakly EOQ responds to its inputs. Quadrupling the order cost to $300 only doubles the EOQ to 1,095.45 units, because the square root damps everything. Doubling the holding cost to $12 shrinks EOQ to 387.30 units, a fall of only 29%. Tripling demand to 36,000 raises EOQ to 948.68 units, well under triple, which is why order frequency has to rise as a business grows.

What This Does Not Account For

  • Quantity discounts. The model assumes unit price is constant. Where a supplier offers a lower price at a higher volume, the correct method compares total cost including purchase price at each price break, and the answer is frequently a break quantity rather than the EOQ.
  • Safety stock and demand variability. The reorder point here is purely deterministic: daily demand multiplied by lead time. It carries no buffer for demand spikes or late deliveries, and any real operation needs one.
  • Lead time variability. Lead time is treated as a fixed number of days.
  • Seasonality and trend. Demand is assumed steady and known for the whole year. A product with a Christmas peak is badly served by a single annual EOQ.
  • Storage and cash constraints. Nothing here checks whether you have room for 547.72 units or the working capital to buy them.
  • Perishability and obsolescence, beyond whatever you fold into the holding cost figure.
  • Multiple products competing for the same budget, space or delivery slots. The formula optimises one item in isolation.
  • Backorders and stockout costs. The model assumes replenishment is instantaneous at the reorder point and demand is never lost.
  • The 365-day year. Daily demand is annual demand divided by 365 calendar days, not working days, which will understate daily demand for an operation that ships five days a week.

Common Pitfalls

  • Chasing precision in the inputs. The cost curve is flat: a 20% error in the order quantity costs under 2%. Time spent refining a holding cost estimate from $6 to $6.30 is time wasted, and the assumptions behind the model are a far larger source of error than the arithmetic.
  • Forgetting that holding cost is annual and per unit. A common error is entering the cost of holding the whole order, or a monthly figure. Both wreck the answer, and the wrongness is not obvious because the square root hides it.
  • Omitting the cost of capital from holding cost. Storage and insurance are visible; the money tied up in stock is not, and for expensive items it is usually the largest component.
  • Treating the reorder point as an order quantity. They are separate answers to separate questions. On the defaults the reorder point of 460.27 units is close to the EOQ of 547.72, which invites confusion, but the two are unrelated quantities.
  • Applying EOQ where demand is lumpy. For an item ordered three times a year against specific projects, the formula's constant-demand assumption is simply false and the answer is meaningless.
  • Ignoring supplier minimums and case sizes. If the supplier ships in pallets of 400, your real choice is 400 or 800, and the flatness of the curve tells you which is cheaper without any further theory.
  • Assuming the two cost lines should not be equal. If your ordering and holding costs at the computed EOQ differ, you have made an arithmetic error somewhere.

Frequently Asked Questions

Why are ordering cost and holding cost exactly equal at the EOQ?
Because that is what minimising the total cost function produces. Ordering cost falls as $1/Q$ and holding cost rises linearly in $Q$; setting the derivative of their sum to zero requires $\frac{D S}{Q^2} = \frac{H}{2}$, which rearranges to $Q^* = \sqrt{2DS/H}$ and makes the two terms equal at that point. It is a useful check: compute both at your chosen quantity and if they are far apart you are not near the optimum.
How much does it cost me to get the order quantity wrong?
Very little, within a wide band. The ratio $TC(kQ^)/TC(Q^) = (1/k+k)/2$ means ordering 20% above optimal costs 1.67% more per year, 20% below costs 2.50% more, and even doubling the order size costs only 25% more. That flatness is the most useful practical fact the model produces, and it is why rounding to a convenient case or pallet quantity is almost always the right decision.
Does EOQ tell me when to reorder?
No. EOQ answers how much to buy; the reorder point answers when. The reorder point here is daily demand multiplied by lead time, which on the defaults is 32.88 x 14 = 460.27 units. It carries no safety stock, so in practice you would add a buffer sized to your demand and lead-time variability.
What should I include in the holding cost per unit?
Everything that varies with keeping one more unit on a shelf for a year: warehouse space, insurance, shrinkage and damage, obsolescence risk, and the cost of the capital tied up in that unit. The capital component is the one most often left out and is frequently the largest.
Why doesn't tripling my demand triple the order size?
Because demand sits under a square root. Tripling demand multiplies the EOQ by the square root of three, about 1.73, so 12,000 units becomes 36,000 and the EOQ rises from 547.72 to 948.68. The consequence is that order frequency has to increase as volume grows: 21.91 orders a year becomes 37.95.

Sources

No authority publishes EOQ parameters, and no primary source is cited for any input, because none exists. Order costs and holding costs are properties of your own operation, and no government, regulatory or standards body publishes normal ranges for them. The defaults here -- 12,000 units of annual demand, $75 per order, $6 per unit per year, 14 days of lead time -- are illustrative values chosen to demonstrate the arithmetic, not benchmarks.

The mathematics is a standard published result:

  • Ford W. Harris, "How Many Parts to Make at Once", Factory: The Magazine of Management, volume 10, number 2 (1913), pages 135-136 and 152. The original derivation of the square-root order quantity. It remains the model implemented here.
  • The total cost function $TC(Q) = \frac{D}{Q}S + \frac{Q}{2}H$, its minimiser $Q^* = \sqrt{2DS/H}$, the minimum cost $\sqrt{2DSH}$, and the sensitivity ratio $(1/k+k)/2$ are all elementary consequences of that function and are what this engine computes.

Add This Website as Preferred Source on Google

See Bedrock Calculator first in your Search results & AI Overviews

Related calculators in this suite

Complementary financial planning tools