Skip to content
p.mba

Type to search tools, guides, glossary terms, frameworks, formula sheets and pages.

Menu

Operations Toolkit

EOQ and reorder points, newsvendor order sizing, Little’s Law, M/M/1 and M/M/c queues, and process bottleneck analysis in one private calculator.

When you’ll use this
  • Operations core, weeks 1-3: process analysis problem sets (capacity, bottleneck, utilisation, flow time)
  • Operations core, weeks 3-4: Little’s Law questions on inventory, flow rate and flow time
  • Operations core, weeks 5-6: queueing homework and call-centre staffing cases (Erlang C)
  • Operations core, weeks 6-8: EOQ, safety stock and newsvendor problem sets before the final
  • Consulting case prep: quick capacity and bottleneck checks for operations-style cases

Operations Toolkit tool

Loading your saved inputs…

Back up all tools

Demand and costs
Use one currency throughout. Holding cost is per unit per year.
Holding cost entered as
Cost of capital, storage, insurance and obsolescence as a share of unit cost per year.
H = i × c.
Reorder point and safety stock
Leave the standard deviation empty or 0 for no safety stock.
Daily demand d = D ÷ days.
Probability of no stockout in an order cycle; sets z.
Demand variability entered as
σ_LT = σ_d × √L (independent days, fixed lead time).

Economic order quantity (Q*)

600 units

Exact: 600.00 = √(2DS ÷ H)

Orders per year

16.67

Every 15.0 working days

Holding cost used (H)

$5.00

per unit per year

Annual ordering cost

$1,500.00

(D ÷ Q*) × S

Annual cycle-stock holding cost

$1,500.00

(Q* ÷ 2) × H

Total relevant cost at Q*

$3,000.00

Plus $250,000 purchase cost (D × c)

Reorder point

236.8 units

= d × L + safety stock = 200.0 + 36.8

Safety stock

36.8 units

z × σ_LT = 1.645 × 22.36

Daily demand (d)

40.0 units

Lead-time demand 200.0 units

Average inventory

336.8 units

Safety stock adds $183.90/yr holding

A 95.0% cycle service level means about a 5.0% chance of running out during each replenishment lead time. It is not the fill rate.

Annual cost by order quantityOrdering cost falls and holding cost rises as the order quantity grows; their sum is lowest at Q*, where the two are equal.
  • Total relevant cost
  • Ordering cost
  • Holding cost
Annual cost$0$1K$2K$3K$4K$5K$6K$7K5001,0001,500Order quantity (units)Q* ≈ 600Total relevant …Ordering costHolding cost
Data table
Annual cost by order quantity: data
Order quantity (units)Total relevant costOrdering costHolding cost
150$6.4K$6K$375
191$5.2K$4.7K$478.1
233$4.5K$3.9K$581.3
274$4K$3.3K$684.4
315$3.6K$2.9K$787.5
356$3.4K$2.5K$890.6
398$3.3K$2.3K$993.8
439$3.1K$2.1K$1.1K
480$3.1K$1.9K$1.2K
521$3K$1.7K$1.3K
563$3K$1.6K$1.4K
604$3K$1.5K$1.5K
645$3K$1.4K$1.6K
686$3K$1.3K$1.7K
728$3.1K$1.2K$1.8K
769$3.1K$1.2K$1.9K
810$3.1K$1.1K$2K
851$3.2K$1.1K$2.1K
893$3.2K$1K$2.2K
934$3.3K$963.9$2.3K
975$3.4K$923.1$2.4K
1,016$3.4K$885.6$2.5K
1,058$3.5K$851.1$2.6K
1,099$3.6K$819.1$2.7K
1,140$3.6K$789.5$2.9K
1,181$3.7K$761.9$3K
1,223$3.8K$736.2$3.1K
1,264$3.9K$712.2$3.2K
1,305$4K$689.7$3.3K
1,346$4K$668.5$3.4K
1,388$4.1K$648.6$3.5K
1,429$4.2K$629.9$3.6K
1,470$4.3K$612.2$3.7K
1,511$4.4K$595.5$3.8K
1,553$4.5K$579.7$3.9K
1,594$4.5K$564.7$4K
1,635$4.6K$550.5$4.1K
1,676$4.7K$536.9$4.2K
1,718$4.8K$524$4.3K
1,759$4.9K$511.7$4.4K
1,800$5K$500$4.5K

How this works

Formulas

EOQ, reorder point and safety stock

With annual demand DD, a fixed cost per order SS and a holding cost per unit per year HH (either entered directly or computed as a holding rate times unit cost), the yearly ordering-plus-holding cost of ordering QQ units at a time is

TC(Q)=DQ S+Q2 H,Q∗=2DSH,TC(Q∗)=2DSH.TC(Q) = \frac{D}{Q}\,S + \frac{Q}{2}\,H, \qquad Q^{*} = \sqrt{\frac{2DS}{H}}, \qquad TC(Q^{*}) = \sqrt{2DSH}.

At the optimum the two cost pieces are equal. For the reorder point, daily demand is d=D/days per yeard = D / \text{days per year} and the lead time is LL days:

σLT=σdL,SS=z σLT,ROP=d L+SS,z=Φ−1(cycle service level).\sigma_{LT} = \sigma_d \sqrt{L}, \qquad SS = z\,\sigma_{LT}, \qquad ROP = d\,L + SS, \qquad z = \Phi^{-1}(\text{cycle service level}).

Newsvendor

For price pp, unit cost cc, salvage value ss and an optional goodwill penalty gg per unit short:

Cu=p−c+g,Co=c−s,CR=CuCu+Co.C_u = p - c + g, \qquad C_o = c - s, \qquad CR = \frac{C_u}{C_u + C_o}.

With normal demand N(μ,σ)N(\mu, \sigma) the best order is Q∗=μ+z∗σQ^{*} = \mu + z^{*}\sigma with z∗=Φ−1(CR)z^{*} = \Phi^{-1}(CR). For any order QQ with z=(Q−μ)/σz = (Q-\mu)/\sigma, the standard normal loss function gives expected units short:

L(z)=φ(z)−z [1−Φ(z)],lost sales=σL(z),sales=μ−σL(z),leftover=Q−sales.L(z) = \varphi(z) - z\,[1 - \Phi(z)], \quad \text{lost sales} = \sigma L(z), \quad \text{sales} = \mu - \sigma L(z), \quad \text{leftover} = Q - \text{sales}. expected profit=p⋅sales+s⋅leftover−c Q−g⋅lost sales.\text{expected profit} = p\cdot\text{sales} + s\cdot\text{leftover} - c\,Q - g\cdot\text{lost sales}.

With an empirical (discrete) distribution, the best order is the smallest demand value whose cumulative probability F(Q)F(Q) reaches the critical ratio, and expected sales are ∑dmin⁡(d,Q) P(d)\sum_d \min(d, Q)\,P(d).

Little’s Law

L=λ WL = \lambda \, W

LL is the average number of units in the system, λ\lambda the average flow rate and WW the average time a unit spends inside. Leave one blank and the tool solves for it.

Queues (M/M/1 and M/M/c)

With arrival rate λ\lambda, service rate μ\mu per server and cc servers, the offered load is a=λ/μa = \lambda/\mu and utilisation is ρ=a/c\rho = a/c, which must be below 1. The probability that an arrival waits (Erlang C) is

C(c,a)=acc!11−ρ∑k=0c−1akk!+acc!11−ρ.C(c, a) = \frac{\dfrac{a^{c}}{c!}\dfrac{1}{1-\rho}}{\displaystyle\sum_{k=0}^{c-1}\frac{a^{k}}{k!} + \frac{a^{c}}{c!}\frac{1}{1-\rho}}. Lq=C ρ1−ρ,Wq=Lqλ,W=Wq+1μ,L=λW,P(Wq≤t)=1−C e−(cμ−λ)t.L_q = C\,\frac{\rho}{1-\rho}, \qquad W_q = \frac{L_q}{\lambda}, \qquad W = W_q + \frac{1}{\mu}, \qquad L = \lambda W, \qquad P(W_q \le t) = 1 - C\,e^{-(c\mu-\lambda)t}.

With one server this reduces to Lq=ρ2/(1−ρ)L_q = \rho^2/(1-\rho), W=1/(μ−λ)W = 1/(\mu - \lambda) and a waiting probability equal to ρ\rho. The tool computes CC through the Erlang B recursion, which avoids large factorials.

Process analysis

For each step with activity time tit_i per unit and mim_i parallel resources:

capacityi=miti,process capacity=min⁡icapacityi,throughput=min⁡(demand,process capacity).\text{capacity}_i = \frac{m_i}{t_i}, \qquad \text{process capacity} = \min_i \text{capacity}_i, \qquad \text{throughput} = \min(\text{demand}, \text{process capacity}). utilisationi=throughputcapacityi,implied utilisationi=demandcapacityi,cycle time=1throughput.\text{utilisation}_i = \frac{\text{throughput}}{\text{capacity}_i}, \qquad \text{implied utilisation}_i = \frac{\text{demand}}{\text{capacity}_i}, \qquad \text{cycle time} = \frac{1}{\text{throughput}}.

The step with the lowest capacity is the bottleneck. When demand is higher than process capacity, implied utilisation at the bottleneck goes above 100%.

Conventions & assumptions

  • Units. Rates and times must use the same time unit. Queue rates are “per hour” (or per minute) for both λ\lambda and μ\mu, and the answers come out in that unit. In process analysis, activity times are in a small unit (for example minutes) and capacity is reported per period. The tool multiplies by the number of time units per period, such as 60 minutes per hour.
  • EOQ. Demand is constant and known, replenishment arrives all at once, there are no quantity discounts and no stockouts in the deterministic part. Holding cost is charged on average cycle stock Q/2Q/2. The “total relevant cost” leaves out purchase cost because purchase cost does not depend on QQ. Safety stock assumes daily demand is independent from day to day, the lead time is fixed, and zz comes from a cycle service level (the chance of no stockout during one replenishment cycle), not a fill rate. You can also enter σ\sigma over the whole lead time directly.
  • Newsvendor. It is a single period: everything left over is salvaged and unmet demand is lost, not backordered. The normal model gives the optimum as a continuous quantity, so round up in practice. The discrete mode only considers order quantities equal to the listed demand values, and frequencies are rescaled to probabilities.
  • Queues. Arrivals are Poisson, service times are exponential, servers are identical, service is first come, first served, and the waiting room is unlimited. Results are long-run steady-state averages. If ρ≥1\rho \ge 1 the tool reports the system as unstable instead of giving numbers.
  • Process analysis. It models a serial process where every unit visits every step once, with no yield loss, setups or rework. Flow time is the time through an empty process (the sum of activity times) and does not include waiting.
  • Normal functions. Φ\Phi and Φ−1\Phi^{-1} are computed to near machine precision and match Excel’s NORM.S.DIST and NORM.S.INV.

Worked example

Example: EOQ with safety stock

A distributor sells 10,000 units a year over 250 working days. Each order costs $90 to place. Units cost $25 and holding cost is 20% a year, so H=0.2×25=5H = 0.2 \times 25 = 5 dollars per unit per year.

  • Q∗=2×10,000×90/5=360,000=600Q^{*} = \sqrt{2 \times 10{,}000 \times 90 / 5} = \sqrt{360{,}000} = 600 units, which is about 16.67 orders a year, one every 15 working days.
  • Ordering cost is 16.67×90=1,50016.67 \times 90 = 1{,}500 dollars and holding cost is 300×5=1,500300 \times 5 = 1{,}500 dollars, for a total of $3,000 a year.
  • Daily demand is 40 units, the lead time is 5 days and daily demand has a standard deviation of 10 units. So σLT=105=22.36\sigma_{LT} = 10\sqrt{5} = 22.36. For a 95% cycle service level, z=1.645z = 1.645 and safety stock is 36.78 units.
  • The reorder point is 40×5+36.78=236.7840 \times 5 + 36.78 = 236.78, so reorder when about 237 units remain.

Example: Newsvendor

A seasonal item sells for $10, costs $4 and can be cleared for $2 after the season. So Cu=6C_u = 6, Co=2C_o = 2 and the critical ratio is 0.75. Demand is normal with mean 1,000 and standard deviation 200.

  • z∗=Φ−1(0.75)=0.6745z^{*} = \Phi^{-1}(0.75) = 0.6745, so Q∗=1,000+0.6745×200=1,134.9Q^{*} = 1{,}000 + 0.6745 \times 200 = 1{,}134.9 units.
  • L(0.6745)=0.3178−0.6745×0.25=0.1492L(0.6745) = 0.3178 - 0.6745 \times 0.25 = 0.1492. Expected lost sales are 29.83 units, expected sales 970.17 and expected leftover 164.73.
  • Expected profit is 10×970.17+2×164.73−4×1,134.9=5,491.5610 \times 970.17 + 2 \times 164.73 - 4 \times 1{,}134.9 = 5{,}491.56 dollars. Ordering just the mean (1,000 units) would earn about $5,361.69.
  • In the discrete example, demand is 800, 900, 1,000, 1,100 or 1,200 with probabilities 0.10, 0.20, 0.30, 0.25 and 0.15. The cumulative probabilities are 0.10, 0.30, 0.60, 0.85 and 1.00, so the best order is 1,100, the first value at or above 0.75. Expected profit there is $5,800, compared with $5,680 for an order of 1,000 and $5,720 for an order of 1,200.

Example: Little's Law, queue and process

  • Little’s Law. A clinic sees 40 patients an hour and each stays 0.5 hours on average, so there are L=40×0.5=20L = 40 \times 0.5 = 20 patients inside at any time.
  • M/M/3. A help desk gets 18 requests an hour and each agent handles 8 an hour, with 3 agents. Offered load is 2.25 and utilisation is 75%. Erlang C gives a 56.78% chance that a request waits. The queue holds 1.70 requests on average, the average wait is 0.0946 hours (about 5.7 minutes), and the average time in the system is 0.2196 hours. Two agents would be unstable, at 112.5% utilisation.
  • Process. Cut takes 4 minutes with 1 worker, Assemble 9 minutes with 2 workers and Pack 3 minutes with 1 worker. Capacities are 15, 13.33 and 20 units an hour, so Assemble is the bottleneck. Demand is 12 an hour, so the process is demand-constrained. Utilisation is 80%, 90% and 60%, one unit leaves every 5 minutes, and flow time through an empty process is 16 minutes. At a demand of 15 an hour, Assemble’s implied utilisation would be 112.5%.

Limitations

  • EOQ is fairly forgiving: total cost is flat near Q∗Q^{*}, so being somewhat off costs little. It does not handle quantity discounts, finite production rates (the EPQ case), or lead times that vary.
  • The normal newsvendor puts some probability on negative demand. Keep the mean at least about three standard deviations above zero, or use the discrete mode instead.
  • Real queues often have arrivals and service times that are not exponential, with customers who give up or a waiting room that is limited. M/M/c then usually understates waits when service times are more variable than exponential. Approximations for general distributions (such as Kingman’s formula) are not included.
  • Process analysis ignores setups, batching, yield loss and buffer limits, and it only handles serial steps without branches.
  • These are teaching models for coursework and case discussions, not production planning software.

Excel/Sheets equivalents

  • EOQ: =SQRT(2*D*S/H). Safety stock: =NORM.S.INV(0.95)*sigma_d*SQRT(L).
  • Newsvendor: =NORM.INV(Cu/(Cu+Co), mu, sigma) for Q∗Q^{*}. The loss function is =NORM.S.DIST(z,FALSE)-z*(1-NORM.S.DIST(z,TRUE)).
  • Erlang C has no built-in. With a in A1 and c in A2: =(A1^A2/FACT(A2)/(1-A1/A2))/(SUMPRODUCT(A1^(ROW(INDIRECT("1:"&A2))-1)/FACT(ROW(INDIRECT("1:"&A2))-1))+A1^A2/FACT(A2)/(1-A1/A2)).
  • M/M/1: =rho^2/(1-rho) for LqL_q and =1/(mu-lambda) for WW.
  • Process capacity, with resources in B2:B4 and activity times in minutes in C2:C4: =MIN(B2:B4/C2:C4)*60 units per hour. Older Excel versions need this entered as an array formula.

See also Little’s Law and the statistics toolkit for the normal distribution.

Runs entirely in your browser; inputs are saved only on this device. Last updated .