EOQ with Planned Shortages Calculator

Inventory

Optimal order quantity Q (units)577
Maximum inventory level (units)433
Maximum backorders (units)144
Minimum annual relevant cost$1,732
How this was calculated
  1. Order quantity with planned shortages: Q = classic EOQ x sqrt((H + B) / B) = 577 units, where H = $4 holding and B = $12 backorder cost per unit-year
  2. Maximum inventory level = Q x B / (H + B) = 433 units; the stock cycles between this level and the Maximum backorders of 144 units
  3. Minimum annual relevant cost (ordering + holding + shortage) = $1,732
  4. Allowing backorders stretches the Order quantity above the classic EOQ and trades a little holding cost for shortage cost at the optimum

The classic EOQ forbids shortages absolutely, and pays for the prohibition in inventory. The planned-shortages model asks the heretical follow-up: if customers will wait - at a price, the backorder cost per unit per year - how much waiting should the plan deliberately buy? The answer stretches the lot beyond the classic EOQ by the factor sqrt((H + B)/B), lets stock swing between a maximum level and a planned maximum backlog, and lowers the total of ordering, holding and shortage costs. This calculator evaluates the full model: lot size, both extremes of the cycle, and the minimum relevant cost.

Planned shortages are not stockouts. A stockout is a failure; a planned backorder is a policy, chosen where the product is made to order, where customers are captive or contracted to wait, or where the holding cost of instant availability dwarfs the goodwill price of a short delay. The model's job is to price that policy exactly - and, just as usefully, to show when the price comes out so close to the no-shortage cost that the policy is not worth its reputational risk.

Worked examples

Q 577, cost $1,732

(10000 units/year · 50 $/order · 4 $/unit/year · 12 $/unit/year)

Optimal order quantity Q (units)577
Maximum inventory level (units)433
Maximum backorders (units)144
Minimum annual relevant cost$1,732

Q 684, cost $1,140

(5200 units/year · 75 $/order · 2.5 $/unit/year · 5 $/unit/year)

Optimal order quantity Q (units)684
Maximum inventory level (units)456
Maximum backorders (units)228
Minimum annual relevant cost$1,140

Q 645, cost $3,225

(26000 units/year · 40 $/order · 6 $/unit/year · 30 $/unit/year)

Optimal order quantity Q (units)645
Maximum inventory level (units)537
Maximum backorders (units)107
Minimum annual relevant cost$3,225

The backorder trade-off

Three costs argue. Ordering cost falls as lots grow. Holding cost applies only to stock actually held, and in the shortage model the average stock is lower than the lot suggests, because part of each cycle is spent in backlog where nothing is held. Shortage cost applies to the backordered units over the time they wait. The optimum balances the three: the lot grows until the marginal holding-and-ordering saving from a still larger lot equals the marginal shortage cost of the deeper backlog it creates.

The two levels the calculator reports describe the cycle's shape. Maximum inventory - Q x B/(H + B) - is the peak stock the moment a replenishment lands and clears the backlog. Maximum backorders - Q x H/(H + B) - is the deepest the plan ever lets the queue of waiting customers grow. Their ratio is set purely by the cost ratio B:H, which is why the examples read as a small essay on that ratio: cheap shortages (B near H) split the cycle nearly evenly; expensive shortages (B far above H) shrink the backlog share toward the classic model's zero.

  • Q = classic EOQ x sqrt((H + B) / B); the stretch factor tends to 1 as backorder cost B grows.
  • Maximum inventory = Q x B/(H + B); maximum backorders = Q x H/(H + B).
  • As B tends to infinity the model collapses to the classic EOQ - shortages priced out of existence.

How the shortage model stretches the EOQ

The stretch factor is the whole story in one square root. In the first example, H = 4 and B = 12 give sqrt(16/12) = 1.155, and the lot rises from the classic 500 to 577. In the second, B = 5 against H = 2.5 gives sqrt(7.5/5) = 1.225 and a lot of 684 against a classic value near 559. In the third, expensive shortages at B = 30 against H = 6 give sqrt(36/30) = 1.095 and a lot of 645. The pattern is monotone and intuitive: the cheaper it is to make customers wait relative to holding stock, the longer the cycle the plan chooses, and the more of that cycle is spent in backlog.

The cost saving follows the same logic and is worth stating plainly, because it is usually modest: the shortage model shaves the relevant cost by a factor of sqrt(B/(H + B)) against the classic optimum. At B = 12, H = 4 that is a 13 percent saving; at B = 30, H = 6 only about 9 percent. Businesses adopt planned backorders for those percentages when volume makes them large - and decline them, rationally, when the percentages are small and the customers are mobile.

Worked exampleDemandHBOptimal lot QMax inventoryMax backordersMin relevant cost
110,000/yr$4$12577433144$1,732
25,200/yr$2.50$5684456228$1,140
326,000/yr$6$30645537107$3,225

Worked examples across the H-to-B ratio

The first example is the balanced case: a backlog peak of 144 units against a stock peak of 433, and a minimum relevant cost of $1,732. The second is the shortage-friendly case - backorders cost only twice the holding rate - and the cycle spends a third of its amplitude in backlog, peaking at 228 units of waiting demand. The third is the shortage-averse case at scale: 26,000 units a year, a backorder cost five times the holding cost, and a plan that still finds it worth scheduling 107 units of peak backlog, because at that volume even a shallow saving per cycle compounds.

Read the maximum backorder figures as service commitments, not abstractions. A peak of 228 backordered units means, at the worst point of every cycle, 228 units of demand are waiting - and the average wait can be derived from the cycle geometry if a customer asks. Models that output only a lot size hide that commitment; this one prints it, because the operations manager who must staff the apology desk deserves to see it before the policy is adopted.

Maximum stock and maximum backlog

The two extremes also size the physical system. Maximum inventory is the warehouse requirement: 433, 456 and 537 units of space in the examples, noticeably less than the lot sizes of 577, 684 and 645 - a planner who reserves space for the full lot overbuilds the store by the backlog fraction. Maximum backorders size the expediting and communication load, and in a production setting they size the overtime needed when the replenishment finally lands and the backlog must be cleared before fresh demand queues behind it.

Their sum is the lot, exactly: 433 + 144 = 577, 456 + 228 = 684, 537 + 107 = 644 (rounding). That identity is a useful audit of any implementation of the model, including this one - if the two reported extremes do not add back to the lot, a formula has been mistyped somewhere between the textbook and the screen.

When planned shortages are a bad idea

The model prices waiting with a single number, B, and reality often refuses to be priced that way. Where customers can defect, the cost of a backorder is not linear in units and time - it is a cliff: the first delay is forgiven, the second loses the account. Where the item is a spare whose absence idles a customer's plant, B is effectively unbounded and the classic model, or a service-level model, governs. And where demand itself evaporates when not served - retail shelves, e-commerce carts - there are no backorders to plan, only lost sales, which need their own model with a lost-sale cost per unit rather than per unit-year.

The honest use of this calculator in those settings is as a bound: it prices the best possible case for waiting, under the friendliest assumptions. If even that price does not beat the classic policy by a margin worth having, the debate is over. If it does, the debate moves to whether B was estimated with the customer's temper in the room.

Backorder cost B is per unit per year - the price of one unit of demand waiting one year. Entering a per-unit penalty (a one-off cost per backordered unit) in its place silently distorts the lot size.

Estimating the backorder cost

B is the model's softest input and deserves the same scepticism as any price placed on goodwill. Its measurable parts are concrete: expediting and overtime premiums attributable to backlog clearance, penalty clauses in supply contracts, the service desk's time, and the margin on the fraction of backordered demand that cancels rather than waits - spread over the unit-years of waiting that cause them. Its unmeasurable part, reputation, is handled honestly by sensitivity analysis: run the calculator across a plausible range of B, as the examples span 5 to 30, and note how little the lot size moves. The square root is forgiving - a factor-of-two error in B moves Q by far less - which is the model's saving grace in practice.

FAQs

Demand 10,000, order cost 50, holding 4 and backorder cost 12 - what is the optimal lot?

577 units, with maximum inventory 433, maximum backorders 144 and a minimum relevant cost of $1,732.

How much bigger is that than the classic EOQ?

The shortage factor sqrt((H + B) / B) with H = 4 and B = 12 stretches the classic EOQ to 577 - and the stretch grows as backorders get cheaper relative to holding.

Demand 5,200, order cost 75, H = 2.5, B = 5?

A lot of 684 units, maximum inventory 456, maximum backorders 228 and a minimum cost of $1,140.

What happens when backorders are very expensive?

The model returns toward classic EOQ: with B = 30 the third example peaks at only 107 backordered units and a lot of 645.

What does the maximum inventory level mean?

Stock peaks the moment a replenishment lands: 433 units in the first example, then drains through zero into the planned backlog.

What costs are inside the minimum relevant cost?

Ordering, holding and shortage costs at the optimum - $3,225 in the third example; the purchase cost of the goods themselves is excluded as it does not depend on the lot size.

Sources

Related calculators

Economic Order Quantity (EOQ) Calculator
The order size that minimises total inventory cost: the classic square-root formula balancing ordering costs against holding costs.
Quantity Discount EOQ Calculator
EOQ with all-units quantity discounts - the order quantity that minimises total cost once the price itself drops at break quantities, compared tier by tier.
Safety Stock Calculator
The buffer stock that keeps you selling through demand spikes and late deliveries: z times the standard deviation of demand over lead time, with lead-time variability included.