Newsvendor Calculator

The math behind a one-time buy: too few costs you margin and customers, too many costs you the E&O meeting. Enter both costs and this gives the order quantity that maximises expected profit, plus the trade-off curve it sits on.

Built for buyers who commit to finished goods long before demand is known: technical and industrial distributors, importers and brand distributors of consumer durables, and private-label ecommerce sellers. One order, a supplier minimum, and a lead time you cannot shorten.

Your numbers

The P10 to P90 band around expected demand: 8 outcomes in 10 land between 747 and 1,354 units. Demand is skewed upward, so the top half of the band is longer than the bottom half.
What one unit of unmet demand costs. The lost margin at least; add what a stock-out costs you beyond that, because nothing here assumes it
What one unsold unit costs, cost minus whatever you recover

Results update as you type. Nothing is sent anywhere, the calculation runs in this browser tab.

Optimal order quantity
974 units
at a critical ratio of 46%, cover demand up to its 46% quantile, no further
46%
Critical ratio
underage ÷ (underage + overage)
€33,878
Expected profit at the optimum
at 974 units
46%
Service level achieved
share of outcomes fully served; 123 units unmet on average
747 to 1,354
Demand range
P50 999
Expected profit by order quantityThe curve is flat around its peak: ordering somewhat more or less than the optimum costs little. Falling off either edge costs a lot.
€0€16,939€33,878optimum · 9745931,1331,673order quantity (units)
Show the numbers
OrderExpected profitStock-out riskExpected leftover
593€24,28199%0
620€25,35498%1
647€26,40797%1
674€27,43496%2
701€28,42194%4
728€29,35892%5
755€30,23589%8
782€31,03786%11
809€31,75282%16
836€32,37077%21
863€32,88473%28
890€33,29969%36
917€33,60564%45
944€33,80360%55
971€33,87755%66
974€33,87854%68
998€33,83550%79
1,025€33,67945%93
1,052€33,41741%109
1,079€33,06438%125
1,106€32,61934%142
1,133€32,08830%161
1,160€31,46526%180
1,187€30,75923%200
1,214€29,98321%221
1,241€29,14418%243
1,268€28,23916%266
1,295€27,28213%289
1,322€26,27511%312
1,349€25,22910%336
1,376€24,1559%361
1,403€23,0498%386
1,430€21,9156%411
1,457€20,7546%436
1,484€19,5735%462
1,511€18,3734%487
1,538€17,1563%513
1,565€15,9263%540
1,592€14,6832%566
1,619€13,4272%592
1,646€12,1622%619
1,673€10,8891%645
How this is calculated
Critical ratio46%Cu ÷ (Cu + Co) = €41 ÷ (€41 + €48)
Optimal quantity974 unitsthe demand quantile at that ratio, F⁻¹(Cu / (Cu + Co))
Demand modellog-normal4,000 draws with your mean and spread; positive and right-skewed, the way demand behaves. Seeded, so the answer never moves on its own.

The classic newsvendor result is a formula, not a simulation. This page simulates anyway, because the same fixed sample then produces the whole trade-off curve, and because it is the identical engine the core tool uses, so the two can never disagree.

The model in one paragraph

The newsvendor problem is the oldest question in inventory theory and still the most useful: you order once, demand is uncertain, and both mistakes cost money. Order one unit too few and you lose the underage cost, normally the gross margin you did not earn. Order one unit too many and you pay the overage cost, what the unit cost you, minus whatever you can still recover. Because the second unit you add to the order is less likely to sell than the first, there is a point where the expected gain from one more unit exactly equals the expected loss. That point is the optimum, and it is not the average demand.

The answer is a quantile, not an average. Order enough to cover demand up to its critical ratio, the underage cost divided by the sum of both costs. If a shortage costs three times what an unsold unit costs, the ratio is 75% and you deliberately plan to have stock left over most of the time. If unsold units are written off entirely while margins are thin, the ratio can fall below half, and running out regularly is the correct, profit-maximising behaviour. The counter-intuitive part is that the optimum tracks the balance of the two costs, not your comfort with either one.

In distribution, both numbers are usually worse than they look on paper. The underage cost is not only the margin on the missed line: fill rate is a top- three supplier-selection criterion for most B2B buyers, and customers who hit a stock-out cut their follow-up orders measurably. The overage cost is not just the unit price either, dead stock carries at roughly a quarter of its value per year and liquidates at ten to forty percent of cost. If you enter honest numbers for both, the optimum this page returns will usually sit higher than the quantity that feels comfortable.

Where these numbers come from

  • Sector patterns are built-in assumptions, a launch curve shape and, where the sector has one, a seasonal pattern. Each one names the research it rests on, or says plainly that it is our judgment, on where the curves come from. How wide the range is comes from your own answer about how new the product is, not from the sector. They are not pooled customer data, and nobody else's numbers are mixed into your result.
  • The economics are your inputs, applied openly, every calculation on this page is shown with its formula. There is no model that "knows better" than the numbers you entered.
  • Nothing is uploaded. The calculation runs in this browser tab. If you supply your own launch history, it is parsed here and stored on this device only; there is no server to send it to, and no account to create.
Don't have a demand estimate?

SKUZero simulates one from launches like yours. Your own past launches if you upload them, or typical sector patterns if you have none. Same engine, same economics, applied to a real first-buy decision.

Open SKUZero →

Related