ClearStock by InventoryX is live on the Shopify App Store.Install free →

Install ClearStock
English
  • English
Browse Resources

S7 · quantitative skill

How much to buy when you only get one shot

Sets a seasonal buy from the cost of over- and under-buying rather than from the average of past seasons.

A seasonal buy is placed before the season opens, cannot be topped up when the colourway sells, and is closed out with a markdown. The question is how many units to commit. The answer is not the average of previous seasons and not the forecast: it is a quantile of the demand distribution, set by how much it costs to be wrong in each direction.

The rule

Let Cu be the cost of ordering one unit too few — the margin you lose when a customer wants it and it is gone. Let Co be the cost of ordering one unit too many — what you lose when it has to be cleared. Order the quantity Q* at which

P(demand ≤ Q*) = Cu / (Cu + Co)

That ratio is the critical ratio, or critical fractile. Read it as a probability: you should be stocked out by season end roughly Co/(Cu+Co) of the time, holding leftovers the rest.

The derivation is marginal reasoning. Consider the last unit you might buy: it sells with probability 1 − P(demand ≤ Q) and earns Cu; it is left over with probability P(demand ≤ Q) and loses Co. Adding it is worth it while

(1 − P) × Cu  >  P × Co

Rearranged, that is P < Cu/(Cu+Co): buy while the probability of being left over is below the critical ratio, and stop where they are equal. So Q* = F⁻¹(Cu/(Cu+Co)), with F the cumulative demand distribution.

Nothing in the derivation refers to the mean. That is the whole point of the lesson.

The numbers at Marlow & Finch

HOODIE-NAVY is a one-shot buy. The landed cost is $26, the full price is $44, so a unit that sells contributes $18 of margin: Cu = 18. Clearance at the end of the season is $17, so a unit that has to be cleared loses $9 against cost: Co = 9.

critical ratio = 18 / (18 + 9) = 18/27 = 0.667

So the buy is the quantity demand exceeds about one season in three.

Check the marginal condition at that point: the next unit sells 33.3% of the time for $18, worth $6.00 in expectation; it is left over 66.7% of the time for a $9 loss, worth −$6.00. The two cancel. That is the definition of an optimum.

Empirical fractile first

Two completed seasons sold 180 and 240 units. Treated as an empirical distribution with equal weight on each, F(180) = 0.5 and F(240) = 1.0. The 0.667 fractile is the smallest quantity whose cumulative probability reaches 0.667, which is 240 units.

Note: a 0.60 target would also have returned 240, and a 0.50 target would have returned 180. With two observations the answer is a step function that jumps 60 units on a small change in the cost ratio — the honest weakness of the empirical approach on thin data, and the reason the fitted version is worth computing alongside it.

Normal approximation, second

Fit a normal to the same two seasons. The sample mean is (180 + 240)/2 = 210. The sample standard deviation, with one degree of freedom, is

σ = √[ ((180−210)² + (240−210)²) / (2−1) ]
  = √[ (900 + 900) / 1 ]
  = √1800
  ≈ 42.4

The z value for a cumulative probability of 0.667 is about 0.43 (the standard normal reaches 0.666 at z ≈ 0.43). Then

Q* = μ + z·σ
   = 210 + 0.43 × 42.4
   = 210 + 18.2
   ≈ 228 units

Round to a pack multiple: 228 or 230. The gap between the methods — 228 fitted against 240 empirical — measures how much the answer depends on the assumed shape of demand between two points. Both sit above the 210 average by a similar margin.

The result also tells you the service level you are implicitly running: at 228 units the chance of running out is 1 − 0.667 = 0.333; at the average of 210, it is one in two.

The direction that matters

HOODIE-NAVY is the exception, not the rule. For most DTC SKUs the overage cost is larger relative to the margin than merchants assume. Take a SKU with Cu = 8 and Co = 16:

critical ratio = 8 / (8 + 16) = 0.333
z at 0.333 ≈ −0.43
Q* = 210 − 0.43 × 42.4 ≈ 192 units

The correct buy is 18 units below the mean, and 36 below the hoodie's fitted quantity. That is the general shape of the problem. Clearance losses are usually larger than the margin per unit for slow and mid-velocity stock, because the markdown must be deep enough to move a whole residual lot; and Co is systematically understated, because the merchant counts the markdown but not the cash tied up for two quarters, the rack space, or the handling. Understating Co pushes the critical ratio down, so the correct order is lower still.

Merchant habit runs the other way. The pressure on a seasonal buy is one-directional: a stockout is visible and blamed on the buyer, while an overbuy is invisible until the markdown, months later, and easy to attribute to the weather. So the habitual buy sits at or above the mean — which, for most SKUs, is above the correct fractile. That gap is the chronic overbuy, and the reason a store can hit its sales plan and still be short of cash.

Assumptions

  1. Single ordering opportunity. One buy per season, no in-season replenishment. With in-season reorder this is a multi-period problem and the answer is a base-stock level, not a fractile.
  2. Known, certain salvage. Co = 9 assumes leftovers clear at $17. If the clearance price is uncertain — or leftovers are simply warehoused — Co is a distribution and the effective overage cost is higher.
  3. Distribution of demand. Two seasons' sales, treated as uncensored demand draws. If the 180 season sold out in week 6, it is a censored observation, not a demand observation, and the true distribution sits to the right.
  4. Stationarity and independence. Both seasons are draws from the same distribution and are not serially correlated. Trend, a new influencer relationship, or a competitor's exit break this; positively correlated seasons mean the two-point sample understates the spread.
  5. Risk neutrality. The objective is expected profit. A cash-constrained merchant should rationally order below the fractile: a bad season is not symmetric in survival terms.
  6. No supply-side risk inside the season. The buy lands before the season opens. A late delivery silently converts this into a partial-season problem with a lower optimal quantity.

Where this breaks

  • Censored history. The most common failure: a sold-out season is a lower bound. Correct it before trusting the fractile.
  • Marked-down prior season still on the floor. Last year's hoodie at $26 competing with this year's $44 means the curve you measured is not the one you are selling into.
  • Size and colour grids. A single Q* ignores that a medium and an XXL do not share a demand distribution. Apply the logic per variant or build a size curve and accept the ratio error.
  • Supplier constraints. MOQs, pack sizes and quantity breaks can make the fractile unorderable; the answer is then the nearest feasible quantity, and Markdowns, dead stock and the stopping rule prices the residual.
  • Two data points. Any z computed from n = 2 is a guess wearing a decimal point. State the range the answer supports rather than the single number.