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
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.
- Total relevant cost
- Ordering cost
- Holding cost
Data table
| Order quantity (units) | Total relevant cost | Ordering cost | Holding 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 , a fixed cost per order and a holding cost per unit per year (either entered directly or computed as a holding rate times unit cost), the yearly ordering-plus-holding cost of ordering units at a time is
At the optimum the two cost pieces are equal. For the reorder point, daily demand is and the lead time is days:
Newsvendor
For price , unit cost , salvage value and an optional goodwill penalty per unit short:
With normal demand the best order is with . For any order with , the standard normal loss function gives expected units short:
With an empirical (discrete) distribution, the best order is the smallest demand value whose cumulative probability reaches the critical ratio, and expected sales are .
Little’s Law
is the average number of units in the system, the average flow rate and 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 , service rate per server and servers, the offered load is and utilisation is , which must be below 1. The probability that an arrival waits (Erlang C) is
With one server this reduces to , and a waiting probability equal to . The tool computes through the Erlang B recursion, which avoids large factorials.
Process analysis
For each step with activity time per unit and parallel resources:
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 and , 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 . The “total relevant cost” leaves out purchase cost because purchase cost does not depend on . Safety stock assumes daily demand is independent from day to day, the lead time is fixed, and comes from a cycle service level (the chance of no stockout during one replenishment cycle), not a fill rate. You can also enter 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 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. and 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 dollars per unit per year.
- units, which is about 16.67 orders a year, one every 15 working days.
- Ordering cost is dollars and holding cost is 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 . For a 95% cycle service level, and safety stock is 36.78 units.
- The reorder point is , 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 , and the critical ratio is 0.75. Demand is normal with mean 1,000 and standard deviation 200.
- , so units.
- . Expected lost sales are 29.83 units, expected sales 970.17 and expected leftover 164.73.
- Expected profit is 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 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 , 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 . The loss function is=NORM.S.DIST(z,FALSE)-z*(1-NORM.S.DIST(z,TRUE)). - Erlang C has no built-in. With
ain A1 andcin 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 and=1/(mu-lambda)for . - Process capacity, with resources in B2:B4 and activity times in minutes in C2:C4:
=MIN(B2:B4/C2:C4)*60units 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 .